From ee4b699da3ec0b5c9235585480f89687f87339d5 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 9 May 1998 15:10:53 +0000 Subject: 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 only in not declaring prototypes. Fixed style bugs. --- lib/libc/yp/Makefile.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc/yp/Makefile.inc b/lib/libc/yp/Makefile.inc index a1c9473e6680..7c7541dda753 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} -- cgit v1.3