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