summaryrefslogtreecommitdiffstats
path: root/lib/libc/yp
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-09 15:10:53 +0000
committerbde <bde@FreeBSD.org>1998-05-09 15:10:53 +0000
commitd04603a325d3b5aadae8d956ea57417b9f91433e (patch)
tree4a34240e82a0a4ec598aa90d363b7e047ac9cf0a /lib/libc/yp
parentdeb14ceb4a2910fc1042f054470715b6e63918a9 (diff)
downloadFreeBSD-src-d04603a325d3b5aadae8d956ea57417b9f91433e.zip
FreeBSD-src-d04603a325d3b5aadae8d956ea57417b9f91433e.tar.gz
Fixed the usual missing dependencies on headers generated by rpcgen.
Use rpcgen's -C option, although using it for non-headers breaks K&R support. A local copy of yp.h is built to avoid adding -I/usr/include/rpcsvc to CFLAGS. This version of yp.h differed from <rpcsvc/yp.h> only in not declaring prototypes. Fixed style bugs.
Diffstat (limited to 'lib/libc/yp')
-rw-r--r--lib/libc/yp/Makefile.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/yp/Makefile.inc b/lib/libc/yp/Makefile.inc
index a1c9473..7c7541d 100644
--- a/lib/libc/yp/Makefile.inc
+++ b/lib/libc/yp/Makefile.inc
@@ -1,16 +1,16 @@
# from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91
-# $Id: Makefile.inc,v 1.5 1997/05/03 03:50:06 jb Exp $
+# $Id: Makefile.inc,v 1.6 1997/05/23 08:23:59 asami Exp $
# yp sources
.PATH: ${.CURDIR}/../libc/yp
-SRCS+= xdryp.c yp_xdr.c yplib.c
-CLEANFILES+= yp_xdr.c yp.h
+SRCS+= xdryp.c yp.h yp_xdr.c yplib.c
+CLEANFILES+= yp.h yp_xdr.c
-RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x
-RPCGEN= rpcgen
+RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x
+RPCGEN= rpcgen -C
-yp_xdr.c: ${RPCSRC} yp.h
+yp_xdr.c: ${RPCSRC}
${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
yp.h: ${RPCSRC}
OpenPOWER on IntegriCloud