diff options
Diffstat (limited to 'lib/libc/yp/Makefile.inc')
-rw-r--r-- | lib/libc/yp/Makefile.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libc/yp/Makefile.inc b/lib/libc/yp/Makefile.inc new file mode 100644 index 0000000..842e63e --- /dev/null +++ b/lib/libc/yp/Makefile.inc @@ -0,0 +1,19 @@ +# from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91 +# $FreeBSD$ + +# yp sources +.PATH: ${.CURDIR}/yp + +SRCS+= xdryp.c yp.h yp_xdr.c yplib.c +CLEANFILES+= yp.h yp_xdr.c + +SYM_MAPS+= ${.CURDIR}/yp/Symbol.map + +RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x +RPCGEN= rpcgen -C + +yp_xdr.c: ${RPCSRC} + ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} + +yp.h: ${RPCSRC} + ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} |