diff options
author | bde <bde@FreeBSD.org> | 1998-05-10 16:01:36 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-10 16:01:36 +0000 |
commit | 3325f91b7d182ba90f1fed4ea9643cd25dca7e40 (patch) | |
tree | 6745e06fe967c0598d09671230316bed8b51be56 /libexec/ypxfr | |
parent | 5fd26ab88ab797a7f21d1c202f995ff35f6a8404 (diff) | |
download | FreeBSD-src-3325f91b7d182ba90f1fed4ea9643cd25dca7e40.zip FreeBSD-src-3325f91b7d182ba90f1fed4ea9643cd25dca7e40.tar.gz |
Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
Diffstat (limited to 'libexec/ypxfr')
-rw-r--r-- | libexec/ypxfr/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libexec/ypxfr/Makefile b/libexec/ypxfr/Makefile index 61a59c7..b43aa87 100644 --- a/libexec/ypxfr/Makefile +++ b/libexec/ypxfr/Makefile @@ -1,9 +1,11 @@ -# $Id$ +# $Id: Makefile,v 1.6 1997/02/22 14:22:46 peter 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 \ - ypxfrd_getmap.c +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 @@ -13,16 +15,16 @@ CFLAGS+= -I. DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc -CLEANFILES= yp.h yp_clnt.c ypxfr_clnt.c +CLEANFILES= ${GENSRCS} RPCDIR= ${.CURDIR}/../../include/rpcsvc RPCGEN= rpcgen -I -C -ypxfr_clnt.c: ${RPCDIR}/yp.x yp.h +ypxfr_clnt.c: ${RPCDIR}/yp.x rm -f ${.TARGET} ${RPCGEN} -DYPPUSH_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x -yp_clnt.c: ${RPCDIR}/yp.x yp.h +yp_clnt.c: ${RPCDIR}/yp.x rm -f ${.TARGET} ${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x @@ -30,7 +32,7 @@ yp.h: ${RPCDIR}/yp.x rm -f ${.TARGET} ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x -# ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x ypxfrd.h +# ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x # rm -f ${.TARGET} # ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/ypxfrd.x |