summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd/Makefile
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2008-06-15 04:43:29 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2008-06-15 04:43:29 +0000
commit84c25807abc987ed60252eb4ec4aebbf6ae15ac0 (patch)
treebab917fd0e33e204cbaa9f69ff6f037e9e5f2d18 /usr.sbin/rpc.statd/Makefile
parente25055c0752ac5483c82035ebf36e0c1bfd07279 (diff)
initial import of rpc.statd, basically from NetBSD
"just get it in" deraadt
Diffstat (limited to 'usr.sbin/rpc.statd/Makefile')
-rw-r--r--usr.sbin/rpc.statd/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.sbin/rpc.statd/Makefile b/usr.sbin/rpc.statd/Makefile
new file mode 100644
index 00000000000..05b4f83e7e1
--- /dev/null
+++ b/usr.sbin/rpc.statd/Makefile
@@ -0,0 +1,26 @@
+# $OpenBSD: Makefile,v 1.1 2008/06/15 04:43:28 sturm Exp $
+
+PROG= rpc.statd
+SRCS= procs.c sm_inter_svc.c statd.c
+MAN= rpc.statd.8
+
+DPADD= ${LIBRPCSVC}
+LDADD= -lrpcsvc
+
+CFLAGS+= -I.
+
+CLEANFILES= sm_inter_svc.c sm_inter.h
+
+RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
+RPCGEN= rpcgen -L -C
+
+sm_inter_svc.c: ${RPCSRC} sm_inter.h
+ ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
+
+sm_inter.h: ${RPCSRC}
+ ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
+
+test: ${.CURDIR}/test.c
+ cc -o test ${.CURDIR}/test.c -lrpcsvc
+
+.include <bsd.prog.mk>