1# from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91 2# $FreeBSD$ 3 4# yp sources 5.PATH: ${LIBC_SRCTOP}/yp 6 7SRCS+= xdryp.c yp.h yp_xdr.c yplib.c 8CLEANFILES+= yp.h yp_xdr.c 9 10SYM_MAPS+= ${LIBC_SRCTOP}/yp/Symbol.map 11 12RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x 13RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C 14 15yp_xdr.c: ${RPCSRC} 16 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} 17 18yp.h: ${RPCSRC} 19 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 20