11905Swollman# 21905Swollman# @(#)Makefile 2.1 88/08/11 4.0 RPCSRC 31905Swollman# 41905SwollmanBIN = printmsg msg_svc rprintmsg 51905SwollmanGEN = msg_clnt.c msg_svc.c msg.h 61905SwollmanLIB = -lrpclib 71905SwollmanRPCCOM = rpcgen 81905Swollman 91905Swollmanall: $(BIN) 101905Swollman 111905Swollman# 121905Swollman# This is the non-networked version of the program 131905Swollman# 141905Swollmanprintmsg: printmsg.o 151905Swollman $(CC) -o $@ printmsg.o 161905Swollman 171905Swollman# 181905Swollman# note: no xdr routines are generated here, due this service's 191905Swollman# use of basic data types. 201905Swollman# 211905Swollman$(GEN): msg.x 221905Swollman $(RPCCOM) msg.x 231905Swollman 241905Swollmanmsg_svc: msg_proc.o msg_svc.o 251905Swollman $(CC) -o $@ msg_proc.o msg_svc.o $(LIB) 261905Swollman 271905Swollmanrprintmsg: rprintmsg.o msg_clnt.o 281905Swollman $(CC) -o $@ rprintmsg.o msg_clnt.o $(LIB) 291905Swollman 301905Swollmanrprintmsg.o: rprintmsg.c msg.h 311905Swollman 321905Swollmanmsg_proc.o: msg_proc.c msg.h 331905Swollman 341905Swollmanclean cleanup: 351905Swollman rm -f $(GEN) *.o $(BIN) 361905Swollman 37