a88a58d887
This fixes the build when DESTDIR may be blank or not yet populated. It also fixes reproducibility. Submitted by: brooks Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D6455
20 lines
396 B
Makefile
20 lines
396 B
Makefile
# from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91
|
|
# $FreeBSD$
|
|
|
|
# yp sources
|
|
.PATH: ${LIBC_SRCTOP}/yp
|
|
|
|
SRCS+= xdryp.c yp.h yp_xdr.c yplib.c
|
|
CLEANFILES+= yp.h yp_xdr.c
|
|
|
|
SYM_MAPS+= ${LIBC_SRCTOP}/yp/Symbol.map
|
|
|
|
RPCSRC= ${SRCTOP}/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}
|