xref: /freebsd/lib/libc/yp/Makefile.inc (revision dc60165b73e4c4d829a2cb9fed5cce585e93d9a9)
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