diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2008-06-15 04:43:29 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2008-06-15 04:43:29 +0000 |
commit | 84c25807abc987ed60252eb4ec4aebbf6ae15ac0 (patch) | |
tree | bab917fd0e33e204cbaa9f69ff6f037e9e5f2d18 /usr.sbin/rpc.statd/Makefile | |
parent | e25055c0752ac5483c82035ebf36e0c1bfd07279 (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/Makefile | 26 |
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> |