1997-02-22 16:15:28 +00:00
|
|
|
# $Id$
|
1996-01-12 07:03:33 +00:00
|
|
|
|
|
|
|
PROG= yppush
|
|
|
|
SRCS= yp_clnt.c ypxfr_getmap.c yp_dblookup.c yppush_svc.c \
|
|
|
|
yp_error.c ypxfr_misc.c yppush_main.c
|
|
|
|
|
|
|
|
MAN8= yppush.8
|
|
|
|
|
1996-04-03 03:24:03 +00:00
|
|
|
CFLAGS+=-I. -I${.CURDIR}/../../libexec/ypxfr
|
1996-01-12 07:03:33 +00:00
|
|
|
|
1996-04-03 03:24:03 +00:00
|
|
|
RPCDIR= ${.CURDIR}/../../include/rpcsvc
|
1996-01-12 07:03:33 +00:00
|
|
|
RPCGEN= rpcgen -C
|
|
|
|
|
1996-04-03 03:24:03 +00:00
|
|
|
.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
|
|
|
|
${.CURDIR}/../../libexec/ypxfr
|
|
|
|
|
|
|
|
CLEANFILES= yp.h yp_clnt.c yppush_svc.c
|
|
|
|
|
|
|
|
yppush_svc.c: yp.x yp.h
|
|
|
|
${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x
|
1996-01-12 07:03:33 +00:00
|
|
|
|
1996-04-03 03:24:03 +00:00
|
|
|
yp_clnt.c: yp.x yp.h
|
|
|
|
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
|
1996-01-12 07:03:33 +00:00
|
|
|
|
1996-04-03 03:24:03 +00:00
|
|
|
yp.h: yp.x
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
|
1996-01-12 07:03:33 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|