2 # @(#)Makefile 2.1 88/08/11 4.0 RPCSRC
6 GEN = sort_clnt.c sort_svc.c sort_xdr.c sort.h
12 rsort: rsort.o sort_clnt.o sort_xdr.o
13 $(CC) $(LDFLAGS) -o $@ rsort.o sort_clnt.o sort_xdr.o $(LIB)
15 rsort.o: rsort.c sort.h
18 $(RPCCOM) -l sort.x >$@
20 sort_svc: sort_proc.o sort_svc.o sort_xdr.o
21 $(CC) $(LDFLAGS) -o $@ sort_proc.o sort_svc.o sort_xdr.o $(LIB)
23 sort_proc.o: sort_proc.c sort.h
26 $(RPCCOM) -s udp sort.x >$@
29 $(RPCCOM) -c sort.x >$@
32 $(RPCCOM) -h sort.x >$@
35 rm -f $(GEN) *.o $(BIN)