]>
Commit | Line | Data |
---|---|---|
5b2abdfb A |
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 | SRCS+= 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} |