mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
330698829e
Removed bogus dependencies of generated .c files on generated headers. Sorted sources lists.
30 lines
651 B
Makefile
30 lines
651 B
Makefile
# $Id: Makefile,v 1.4 1997/02/22 16:15:00 peter Exp $
|
|
|
|
PROG= yppush
|
|
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
|
|
|
|
MAN8= yppush.8
|
|
|
|
CFLAGS+=-I. -I${.CURDIR}/../../libexec/ypxfr
|
|
|
|
RPCDIR= ${.CURDIR}/../../include/rpcsvc
|
|
RPCGEN= rpcgen -C
|
|
|
|
.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
|
|
${.CURDIR}/../../libexec/ypxfr
|
|
|
|
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>
|