]> git.saurik.com Git - apple/libc.git/blob - yp/Makefile.inc
Libc-391.5.22.tar.gz
[apple/libc.git] / yp / Makefile.inc
1 # from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91
2 # $FreeBSD: src/lib/libc/yp/Makefile.inc,v 1.8 1999/08/28 00:02:58 peter Exp $
3
4 # yp sources
5 .PATH: ${.CURDIR}/../libc/yp
6
7 MISRCS+= xdryp.c yp.h yp_xdr.c yplib.c
8 CLEANFILES+= yp.h yp_xdr.c
9
10 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x
11 RPCGEN= rpcgen -C
12
13 yp_xdr.c: ${RPCSRC}
14 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
15
16 yp.h: ${RPCSRC}
17 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}