summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.lockd/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-20 05:02:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-20 05:02:37 +0000
commit37718374e807c20c9233c1a4fbf61bbfa8ff4319 (patch)
tree7128778a06953f25e96307a0d61801162fea03dd /usr.sbin/rpc.lockd/Makefile
parent9e452f17155724d1780c6cb50d5874f4cf95abb2 (diff)
rpc.lockd from freebsd; has a problem yet
Diffstat (limited to 'usr.sbin/rpc.lockd/Makefile')
-rw-r--r--usr.sbin/rpc.lockd/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.sbin/rpc.lockd/Makefile b/usr.sbin/rpc.lockd/Makefile
new file mode 100644
index 00000000000..b016e67d648
--- /dev/null
+++ b/usr.sbin/rpc.lockd/Makefile
@@ -0,0 +1,26 @@
+# $Id: Makefile,v 1.1 1996/07/20 05:02:34 deraadt Exp $
+
+PROG = rpc.lockd
+SRCS = nlm_prot_svc.c lockd.c procs.c
+MAN8 = rpc.lockd.8
+
+DPADD= ${LIBRPCSVC}
+LDADD= -lrpcsvc
+
+CFLAGS+= -I.
+
+CLEANFILES= nlm_prot_svc.c nlm_prot.h
+
+RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/nlm_prot.x
+RPCGEN= rpcgen -L -C
+
+nlm_prot_svc.c: ${RPCSRC} nlm_prot.h
+ ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
+
+nlm_prot.h: ${RPCSRC}
+ ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
+
+test: test.c
+ cc -o test test.c -lrpcsvc
+
+.include <bsd.prog.mk>