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 $
5 SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \
7 GENSRCS=yp.h yp_clnt.c yppush_svc.c
11 CFLAGS+=-I. -I${.CURDIR}/../../libexec/ypxfr
13 RPCDIR= ${.CURDIR}/../../include/rpcsvc
16 .PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
17 ${.CURDIR}/../../libexec/ypxfr
19 CLEANFILES= ${GENSRCS}
22 ${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x
25 ${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
28 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
30 .include <bsd.prog.mk>