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