870039320f
so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
18 lines
389 B
Makefile
18 lines
389 B
Makefile
# from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91
|
|
# $Id: Makefile.inc,v 1.4 1997/02/22 15:04:58 peter Exp $
|
|
|
|
# yp sources
|
|
.PATH: ${.CURDIR}/../libc/yp
|
|
|
|
SRCS+= xdryp.c yp_xdr.c yplib.c
|
|
CLEANFILES+= yp_xdr.c yp.h
|
|
|
|
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/yp.x
|
|
RPCGEN= rpcgen
|
|
|
|
yp_xdr.c: ${RPCSRC} yp.h
|
|
${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
|
|
|
|
yp.h: ${RPCSRC}
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|