diff options
author | wpaul <wpaul@FreeBSD.org> | 1997-05-28 15:47:10 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1997-05-28 15:47:10 +0000 |
commit | 93c9d6f0d2e00568c4a86fdce41d2843a35dcb29 (patch) | |
tree | 2cec6e499fc9885ffaaca37c53d046064f0d2ecf /usr.sbin/rpc.ypupdated/Makefile | |
parent | 7467e74fd1ffc0466987fdf1610da369c4f873e3 (diff) | |
parent | 90bef9e0aea2a3b97f16d0f3d3a23b6df8221e96 (diff) | |
download | FreeBSD-src-93c9d6f0d2e00568c4a86fdce41d2843a35dcb29.zip FreeBSD-src-93c9d6f0d2e00568c4a86fdce41d2843a35dcb29.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r26236,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.sbin/rpc.ypupdated/Makefile')
-rw-r--r-- | usr.sbin/rpc.ypupdated/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/usr.sbin/rpc.ypupdated/Makefile b/usr.sbin/rpc.ypupdated/Makefile new file mode 100644 index 0000000..31d6aac --- /dev/null +++ b/usr.sbin/rpc.ypupdated/Makefile @@ -0,0 +1,35 @@ +# $Id: Makefile,v 1.4 1996/06/03 04:48:32 wpaul Exp $ + +PROG= rpc.ypupdated +SRCS= ypupdate_prot_svc.c ypupdated_main.c \ + yp_error.c update.c ypupdated_server.c \ + yp_dblookup.c yp_dbwrite.c yp_dbdelete.c yp_dbupdate.c + +.PATH: ${.CURDIR}/../ypserv ${.CURDIR}/../../libexec/ypxfr + +RPCDIR= ${DESTDIR}/usr/include/rpcsvc + +MAN8= yes + +CFLAGS+= -I${.CURDIR}/../ypserv -I. +CFLAGS+= -I${.CURDIR}/../../libexec/ypxfr + +#CFLAGS+= -DYP + +LDADD+= -lrpcsvc + +CLEANFILES= ypupdate_prot_svc.c ypupdate_prot.h + +RPCGEN= rpcgen -I -C + +# We need to remove the 'static' keyword from _rpcsvcstate so that +# ypupdated_main.c can see it. +ypupdate_prot_svc.c: ${RPCDIR}/ypupdate_prot.x ypupdate_prot.h + rm -f ${.TARGET} + ${RPCGEN} -m ${RPCDIR}/ypupdate_prot.x | \ + sed s/"static int _rpcsvcstate"/"int _rpcsvcstate"/g > ${.TARGET} + +ypupdate_prot.h: ${RPCDIR}/ypupdate_prot.x + ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/ypupdate_prot.x + +.include <bsd.prog.mk> |