summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppush
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-10 16:01:36 +0000
committerbde <bde@FreeBSD.org>1998-05-10 16:01:36 +0000
commit3325f91b7d182ba90f1fed4ea9643cd25dca7e40 (patch)
tree6745e06fe967c0598d09671230316bed8b51be56 /usr.sbin/yppush
parent5fd26ab88ab797a7f21d1c202f995ff35f6a8404 (diff)
downloadFreeBSD-src-3325f91b7d182ba90f1fed4ea9643cd25dca7e40.zip
FreeBSD-src-3325f91b7d182ba90f1fed4ea9643cd25dca7e40.tar.gz
Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers. Sorted sources lists.
Diffstat (limited to 'usr.sbin/yppush')
-rw-r--r--usr.sbin/yppush/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/yppush/Makefile b/usr.sbin/yppush/Makefile
index fb58a1a..68a33e0 100644
--- a/usr.sbin/yppush/Makefile
+++ b/usr.sbin/yppush/Makefile
@@ -1,8 +1,9 @@
-# $Id$
+# $Id: Makefile,v 1.4 1997/02/22 16:15:00 peter Exp $
PROG= yppush
-SRCS= yp_clnt.c ypxfr_getmap.c yp_dblookup.c yppush_svc.c \
- yp_error.c ypxfr_misc.c yppush_main.c
+SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \
+ ${GENSRCS}
+GENSRCS=yp.h yp_clnt.c yppush_svc.c
MAN8= yppush.8
@@ -14,12 +15,12 @@ RPCGEN= rpcgen -C
.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
${.CURDIR}/../../libexec/ypxfr
-CLEANFILES= yp.h yp_clnt.c yppush_svc.c
+CLEANFILES= ${GENSRCS}
-yppush_svc.c: yp.x yp.h
+yppush_svc.c: yp.x
${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x
-yp_clnt.c: yp.x yp.h
+yp_clnt.c: yp.x
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
yp.h: yp.x
OpenPOWER on IntegriCloud