mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
5e0a19bdee
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
20 lines
393 B
Makefile
20 lines
393 B
Makefile
# 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_CPP=${CPP:Q} rpcgen -C
|
|
|
|
yp_xdr.c: ${RPCSRC}
|
|
${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
|
|
|
|
yp.h: ${RPCSRC}
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|