8876613dc5
if not already defined. This allows building libc from outside of lib/libc using a reach-over makefile. A typical use-case is to build a standard ILP32 version and a COMPAT32 version in a single iteration by building the COMPAT32 version using a reach-over makefile. Obtained from: Juniper Networks, Inc.
20 lines
401 B
Makefile
20 lines
401 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= ${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}
|