2 # @(#)Makefile 2.1 88/08/11 4.0 RPCSRC
7 FILESDIR=${SHAREDIR}/examples/sunrpc/msg
8 BIN = printmsg msg_svc rprintmsg
9 GEN = msg_clnt.c msg_svc.c msg.h
16 # This is the non-networked version of the program
19 $(CC) -o $@ printmsg.o
22 # note: no xdr routines are generated here, due this service's
23 # use of basic data types.
28 msg_svc: msg_proc.o msg_svc.o
29 $(CC) -o $@ msg_proc.o msg_svc.o $(LIB)
31 rprintmsg: rprintmsg.o msg_clnt.o
32 $(CC) -o $@ rprintmsg.o msg_clnt.o $(LIB)
34 rprintmsg.o: rprintmsg.c msg.h
36 msg_proc.o: msg_proc.c msg.h
39 rm -f $(GEN) *.o $(BIN)