aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.yppasswdd/Makefile
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-04-26 16:31:14 +0000
committerBruce Evans <bde@FreeBSD.org>1998-04-26 16:31:14 +0000
commit22450dd8c115460932c63be05e28eeef8d8fa41c (patch)
tree45a610def0daeacc1d6cf699cd0a58ed5244d3ea /usr.sbin/rpc.yppasswdd/Makefile
parentcddfa6c981e069f29c70e9a730dbeef86fe0fecf (diff)
downloadsrc-22450dd8c115460932c63be05e28eeef8d8fa41c.tar.gz
src-22450dd8c115460932c63be05e28eeef8d8fa41c.zip
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.
Notes
Notes: svn path=/head/; revision=35466
Diffstat (limited to 'usr.sbin/rpc.yppasswdd/Makefile')
-rw-r--r--usr.sbin/rpc.yppasswdd/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.sbin/rpc.yppasswdd/Makefile b/usr.sbin/rpc.yppasswdd/Makefile
index 60cb1e9c19e2..71398695be91 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