aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/yp/Makefile.inc
blob: 7aeac84090e75e4a9ab5b6fa241213f2bc354252 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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}