Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly into...
[dragonfly.git] / usr.sbin / yppush / Makefile
blob98933dd8f1378ad804a5bb043bb8d2c8afc1e930
1 # $FreeBSD: src/usr.sbin/yppush/Makefile,v 1.6.2.1 2001/04/25 12:11:14 ru Exp $
2 # $DragonFly: src/usr.sbin/yppush/Makefile,v 1.2 2003/06/17 04:30:04 dillon Exp $
4 PROG= yppush
5 SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \
6 ${GENSRCS}
7 GENSRCS=yp.h yp_clnt.c yppush_svc.c
9 MAN= yppush.8
11 CFLAGS+=-I. -I${.CURDIR}/../../libexec/ypxfr
13 RPCDIR= ${.CURDIR}/../../include/rpcsvc
14 RPCGEN= rpcgen -C
16 .PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
17 ${.CURDIR}/../../libexec/ypxfr
19 CLEANFILES= ${GENSRCS}
21 yppush_svc.c: yp.x
22 ${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x
24 yp_clnt.c: yp.x
25 ${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
27 yp.h: yp.x
28 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
30 .include <bsd.prog.mk>