mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
90e655ea4e
These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
29 lines
614 B
Makefile
29 lines
614 B
Makefile
# $FreeBSD$
|
|
|
|
RPCDIR= ${.CURDIR}/../../include/rpcsvc
|
|
.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
|
|
${.CURDIR}/../../libexec/ypxfr
|
|
|
|
PROG= yppush
|
|
MAN= yppush.8
|
|
SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \
|
|
${GENSRCS}
|
|
GENSRCS=yp.h yp_clnt.c yppush_svc.c
|
|
|
|
CFLAGS+= -I. -I${.CURDIR}/../../libexec/ypxfr
|
|
|
|
RPCGEN= rpcgen -C
|
|
|
|
CLEANFILES= ${GENSRCS}
|
|
|
|
yppush_svc.c: yp.x
|
|
${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
yp_clnt.c: yp.x
|
|
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
yp.h: yp.x
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
.include <bsd.prog.mk>
|