summaryrefslogtreecommitdiffstats
path: root/lib/libc/yp/Makefile.inc
blob: 2112aeb9b71664cc5690b248feed5c2338653f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	from: @(#)Makefile.inc	5.3 (Berkeley) 2/20/91
# $FreeBSD$

# yp sources
.PATH: ${.CURDIR}/../libc/yp

SRCS+=	xdryp.c yp.h yp_xdr.c yplib.c
CLEANFILES+=	yp.h yp_xdr.c

RPCSRC=	${DESTDIR}/usr/include/rpcsvc/yp.x
RPCGEN=	rpcgen -C

yp_xdr.c: ${RPCSRC}
	${RPCGEN} -c -o ${.TARGET} ${RPCSRC}

yp.h: ${RPCSRC}
	${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
OpenPOWER on IntegriCloud