summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/Makefile
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-12-25 03:07:13 +0000
committerwpaul <wpaul@FreeBSD.org>1995-12-25 03:07:13 +0000
commitcd0154908c0070e99405a9fd8229eea71f7692f9 (patch)
tree3726dfa84e122733989db370e359d3235eef466d /libexec/ypxfr/Makefile
parent44fd84e554aad4fca6d8534a4930e42d5afd9462 (diff)
parent62e4ee4ff895e2851ea3fa6241c2bd32b86f6d5f (diff)
downloadFreeBSD-src-cd0154908c0070e99405a9fd8229eea71f7692f9.zip
FreeBSD-src-cd0154908c0070e99405a9fd8229eea71f7692f9.tar.gz
This commit was generated by cvs2svn to compensate for changes in r13007,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'libexec/ypxfr/Makefile')
-rw-r--r--libexec/ypxfr/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/libexec/ypxfr/Makefile b/libexec/ypxfr/Makefile
new file mode 100644
index 0000000..0339aee
--- /dev/null
+++ b/libexec/ypxfr/Makefile
@@ -0,0 +1,26 @@
+# $Id: Makefile,v 1.6 1995/12/16 04:03:02 wpaul Exp $
+
+PROG= ypxfr
+SRCS= ypxfr_clnt.c yp_clnt.c ypxfr_getmap.c yp_dblookup.c \
+ yp_error.c ypxfr_misc.c ypxfr_main.c yp_dbwrite.c
+
+.PATH: ${.CURDIR}/../../usr.sbin/ypserv
+
+MAN8= ypxfr.8
+CFLAGS+=-I.
+
+CLEANFILES= yp.h yp_clnt.c ypxfr_clnt.c
+
+RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/yp.x
+RPCGEN= rpcgen -I -C
+
+ypxfr_clnt.c: ${RPCSRC} yp.h
+ ${RPCGEN} -DYPPUSH_ONLY -l -o ${.TARGET} ${RPCSRC}
+
+yp_clnt.c: ${RPCSRC} yp.h
+ ${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCSRC}
+
+yp.h: ${RPCSRC}
+ ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud