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