freebsd-skq/libexec/ypxfr/Makefile
Bill Paul 665823d011 Import the new ypxfr, written by yours truly. Functionally equivalent
to the old one, except that it supports an additional option (-p path)
that lets you specify the top level path wiere your NIS maps live.
(ypserv allows you to specify a path like this, so it makes sense that
ypxfr should too. ypserv will automagically pass the -p flag to ypxfr
if you use a path other than /var/yp when you start it.)

This program uses client stub code generated by rpcgen as well as
the yp_dblookup.c module from ypserv.
1995-12-25 03:07:13 +00:00

27 lines
593 B
Makefile

# $Id: Makefile,v 1.6 1995/12/16 04:03:02 wpaul Exp $
PROG= ypxfr
SRCS= ypxfr_clnt.c yp_clnt.c ypxfr_getmap.c yp_dblookup.c \
yp_error.c ypxfr_misc.c ypxfr_main.c yp_dbwrite.c
.PATH: ${.CURDIR}/../../usr.sbin/ypserv
MAN8= ypxfr.8
CFLAGS+=-I.
CLEANFILES= yp.h yp_clnt.c ypxfr_clnt.c
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/yp.x
RPCGEN= rpcgen -I -C
ypxfr_clnt.c: ${RPCSRC} yp.h
${RPCGEN} -DYPPUSH_ONLY -l -o ${.TARGET} ${RPCSRC}
yp_clnt.c: ${RPCSRC} yp.h
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCSRC}
yp.h: ${RPCSRC}
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
.include <bsd.prog.mk>