mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 23:04:36 -04:00
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
25 lines
459 B
Makefile
25 lines
459 B
Makefile
PACKAGE=examples
|
|
FILESDIR=${SHAREDIR}/examples/sunrpc/dir
|
|
BIN = dir_svc rls
|
|
GEN = dir_clnt.c dir_svc.c dir_xdr.c dir.h
|
|
LIB = -lrpclib
|
|
RPCCOM = rpcgen
|
|
|
|
all: $(BIN)
|
|
|
|
$(GEN): dir.x
|
|
$(RPCCOM) dir.x
|
|
|
|
dir_svc: dir_proc.o dir_svc.o dir_xdr.o
|
|
$(CC) -o $@ dir_proc.o dir_svc.o dir_xdr.o $(LIB)
|
|
|
|
rls: rls.o dir_clnt.o dir_xdr.o
|
|
$(CC) -o $@ rls.o dir_clnt.o dir_xdr.o $(LIB)
|
|
|
|
rls.o: rls.c dir.h
|
|
|
|
dir_proc.o: dir_proc.c dir.h
|
|
|
|
clean cleanup:
|
|
rm -f $(GEN) *.o $(BIN)
|
|
|