config root man

Current Path : /usr/src/libexec/ypxfr/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/libexec/ypxfr/Makefile

# $FreeBSD: release/9.1.0/libexec/ypxfr/Makefile 231702 2012-02-14 19:36:35Z dim $

PROG=	ypxfr
SRCS=	yp_dblookup.c yp_dbwrite.c yp_error.c \
	ypxfr_getmap.c ypxfr_main.c ypxfr_misc.c \
	ypxfrd_getmap.c \
	${GENSRCS}
GENSRCS=yp.h yp_clnt.c ypxfr_clnt.c

.PATH: ${.CURDIR}/../../usr.sbin/ypserv

MAN=	ypxfr.8

CFLAGS+= -I.

WARNS?=	2
WFORMAT=0

DPADD=	${LIBRPCSVC}
LDADD=	-lrpcsvc

CLEANFILES= ${GENSRCS}

RPCDIR= ${.CURDIR}/../../include/rpcsvc
RPCGEN=	RPCGEN_CPP=${CPP:Q} rpcgen -I -C

ypxfr_clnt.c: ${RPCDIR}/yp.x
	rm -f ${.TARGET}
	${RPCGEN} -DYPPUSH_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x

yp_clnt.c: ${RPCDIR}/yp.x
	rm -f ${.TARGET}
	${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x

yp.h: ${RPCDIR}/yp.x
	rm -f ${.TARGET}
	${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x

# ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x
#	rm -f ${.TARGET}
#	${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/ypxfrd.x

ypxfrd.h: ${RPCDIR}/ypxfrd.x
	rm -f ${.TARGET}
	${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/ypxfrd.x

.include <bsd.prog.mk>

Man Man