summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-04-26 16:31:14 +0000
committerbde <bde@FreeBSD.org>1998-04-26 16:31:14 +0000
commitddb80fc7dd58b04c4a2b129350d10177b7f001cf (patch)
tree09db16c13d3be4fadd202bc1f4e472e5930bc0b9 /usr.sbin
parentea697874b9d11504507d7e2b5f1512bd8ed3148b (diff)
downloadFreeBSD-src-ddb80fc7dd58b04c4a2b129350d10177b7f001cf.zip
FreeBSD-src-ddb80fc7dd58b04c4a2b129350d10177b7f001cf.tar.gz
Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted sources lists.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bootparamd/callbootd/Makefile11
-rw-r--r--usr.sbin/rpc.yppasswdd/Makefile13
2 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/bootparamd/callbootd/Makefile b/usr.sbin/bootparamd/callbootd/Makefile
index ebf161b..1d4fa9d 100644
--- a/usr.sbin/bootparamd/callbootd/Makefile
+++ b/usr.sbin/bootparamd/callbootd/Makefile
@@ -1,18 +1,19 @@
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
-# $Id$
+# $Id: Makefile,v 1.8 1997/02/22 16:04:27 peter Exp $
PROG= callbootd
-SRCS= bootparam_prot_xdr.c bootparam_prot_clnt.c callbootd.c
+SRCS= callbootd.c ${GENSRCS}
+GENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
NOMAN=
CFLAGS+= -I.
-CLEANFILES= bootparam_prot_clnt.c bootparam_prot_xdr.c bootparam_prot.h
+CLEANFILES= ${GENSRCS}
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
-bootparam_prot_clnt.c: ${RPCSRC} bootparam_prot.h
+bootparam_prot_clnt.c: ${RPCSRC}
rpcgen -l -o ${.TARGET} ${RPCSRC}
-bootparam_prot_xdr.c: ${RPCSRC} bootparam_prot.h
+bootparam_prot_xdr.c: ${RPCSRC}
rpcgen -c -o ${.TARGET} ${RPCSRC}
bootparam_prot.h: ${RPCSRC}
diff --git a/usr.sbin/rpc.yppasswdd/Makefile b/usr.sbin/rpc.yppasswdd/Makefile
index 60cb1e9..7139869 100644
--- a/usr.sbin/rpc.yppasswdd/Makefile
+++ b/usr.sbin/rpc.yppasswdd/Makefile
@@ -1,9 +1,10 @@
-# $Id: Makefile,v 1.2 1997/07/28 18:31:11 wpaul Exp $
+# $Id: Makefile,v 1.8 1997/07/29 15:43:12 wpaul Exp $
PROG= rpc.yppasswdd
-SRCS= pw_copy.c pw_util.c util.c yppasswd_svc.c yp_error.c ypxfr_misc.c \
- yp_dblookup.c yp_dbwrite.c yp_access.c yppasswd_private_xdr.c \
- yppasswd_private_svc.c yp_clnt.c yppasswdd_server.c yppasswdd_main.c
+SRCS= pw_copy.c pw_util.c util.c yp_access.c yp_dblookup.c yp_dbwrite.c \
+ yp_error.c yppasswdd_main.c yppasswdd_server.c ypxfr_misc.c ${GENSRCS}
+GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_private.h yppasswd_private_svc.c \
+ yppasswd_private_xdr.c yppasswd_svc.c
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
@@ -19,9 +20,7 @@ CFLAGS+= -I${.CURDIR}/../../usr.sbin/vipw -I${.CURDIR}/../../usr.sbin/ypserv \
DPADD= ${LIBRPCSVC} ${LIBCRYPT}
LDADD= -lrpcsvc -lcrypt
-CLEANFILES= yppasswd_svc.c yppasswd.h \
- yppasswd_private_xdr.c yppasswd_private.h \
- yppasswd_private_svc.c yp.h yp_clnt.c
+CLEANFILES= ${GENSRCS}
RPCGEN= rpcgen -I -C
OpenPOWER on IntegriCloud