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
12 # This is the non-networked version of the program
15 $(CC
) -o
$@ printmsg.o
18 # note: no xdr routines are generated here, due this service's
19 # use of basic data types.
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
35 rm -f
$(GEN
) *.o
$(BIN
)