* Use id(1) instead of grep(1) to detect the presence of the smmsp
[dragonfly.git] / lib / libcr / 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 # $DragonFly: src/lib/libcr/yp/Attic/Makefile.inc,v 1.3 2003/07/24 21:41:57 dillon Exp $
4
5 # yp sources
6 .PATH: ${.CURDIR}/../libcr/yp
7
8 SRCS+=  xdryp.c yp.h yp_xdr.c yplib.c
9 CLEANFILES+=    yp.h yp_xdr.c
10
11 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x
12 RPCGEN= rpcgen -C
13
14 yp_xdr.c: ${RPCSRC}
15         ${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
16
17 yp.h: ${RPCSRC}
18         ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}