1139790Simp# 24Srgrimes# @(#)Makefile 2.1 88/08/11 4.0 RPCSRC 34Srgrimes# 44SrgrimesBIN = printmsg msg_svc rprintmsg 58876SrgrimesGEN = msg_clnt.c msg_svc.c msg.h 64SrgrimesLIB = -lrpclib 74SrgrimesRPCCOM = rpcgen 84Srgrimes 94Srgrimesall: $(BIN) 104Srgrimes 118876Srgrimes# 124Srgrimes# This is the non-networked version of the program 134Srgrimes# 144Srgrimesprintmsg: printmsg.o 158876Srgrimes $(CC) -o $@ printmsg.o 164Srgrimes 178876Srgrimes# 184Srgrimes# note: no xdr routines are generated here, due this service's 194Srgrimes# use of basic data types. 204Srgrimes# 214Srgrimes$(GEN): msg.x 228876Srgrimes $(RPCCOM) msg.x 234Srgrimes 244Srgrimesmsg_svc: msg_proc.o msg_svc.o 254Srgrimes $(CC) -o $@ msg_proc.o msg_svc.o $(LIB) 2650477Speter 274Srgrimesrprintmsg: rprintmsg.o msg_clnt.o 284Srgrimes $(CC) -o $@ rprintmsg.o msg_clnt.o $(LIB) 295592Sbde 305592Sbderprintmsg.o: rprintmsg.c msg.h 314Srgrimes 3212589Sbdemsg_proc.o: msg_proc.c msg.h 3351792Smarcel 344Srgrimesclean cleanup: 354Srgrimes rm -f $(GEN) *.o $(BIN) 364Srgrimes 374Srgrimes