This commit sets new users to see the DragonFly-tips fortunes instead
[dragonfly.git] / share / examples / sunrpc / msg / Makefile
blob2f3f5ddf1655ce6e88d1e5699de736d2e2307b4f
2 # @(#)Makefile 2.1 88/08/11 4.0 RPCSRC
4 BIN = printmsg msg_svc rprintmsg
5 GEN = msg_clnt.c msg_svc.c msg.h
6 LIB = -lrpclib
7 RPCCOM = rpcgen
9 all: $(BIN)
12 # This is the non-networked version of the program
14 printmsg: printmsg.o
15 $(CC) -o $@ printmsg.o
18 # note: no xdr routines are generated here, due this service's
19 # use of basic data types.
21 $(GEN): msg.x
22 $(RPCCOM) msg.x
24 msg_svc: msg_proc.o msg_svc.o
25 $(CC) -o $@ msg_proc.o msg_svc.o $(LIB)
27 rprintmsg: rprintmsg.o msg_clnt.o
28 $(CC) -o $@ rprintmsg.o msg_clnt.o $(LIB)
30 rprintmsg.o: rprintmsg.c msg.h
32 msg_proc.o: msg_proc.c msg.h
34 clean cleanup:
35 rm -f $(GEN) *.o $(BIN)