Removed bogus dependencies of generated .c files on generated headers.

This commit is contained in:
Bruce Evans 1998-05-10 16:03:17 +00:00
parent 330698829e
commit 930ef4e26d
6 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 1997/05/23 08:42:57 asami Exp $
# $Id: Makefile,v 1.6 1998/03/06 14:30:45 bde Exp $
PROG = rpc.lockd
SRCS = nlm_prot_svc.c nlm_prot.h lockd.c procs.c
@ -14,7 +14,7 @@ CLEANFILES= nlm_prot_svc.c nlm_prot.h
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
RPCGEN= rpcgen -L -C
nlm_prot_svc.c: ${RPCSRC} nlm_prot.h
nlm_prot_svc.c: ${RPCSRC}
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
nlm_prot.h: ${RPCSRC}

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.6 1997/05/23 08:43:27 asami Exp $
# $Id: Makefile,v 1.7 1998/03/06 07:00:25 bde Exp $
PROG = rpc.statd
SRCS = file.c sm_inter_svc.c sm_inter.h statd.c procs.c
@ -14,7 +14,7 @@ CLEANFILES= sm_inter_svc.c sm_inter.h
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
RPCGEN= rpcgen -L -C
sm_inter_svc.c: ${RPCSRC} sm_inter.h
sm_inter_svc.c: ${RPCSRC}
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
sm_inter.h: ${RPCSRC}

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.8 1997/07/29 15:43:12 wpaul Exp $
# $Id: Makefile,v 1.9 1998/04/26 16:30:09 bde Exp $
PROG= rpc.yppasswdd
SRCS= pw_copy.c pw_util.c util.c yp_access.c yp_dblookup.c yp_dbwrite.c \
@ -26,7 +26,7 @@ RPCGEN= rpcgen -I -C
# We need to remove the 'static' keyword from _rpcsvcstate so that
# yppasswdd_main.c can see it.
yppasswd_svc.c: yppasswd.x yppasswd.h
yppasswd_svc.c: yppasswd.x
rm -f ${.TARGET}
${RPCGEN} -m ${RPCDIR}/yppasswd.x | \
sed s/"static int _rpcsvcstate"/"int _rpcsvcstate"/g > ${.TARGET}
@ -39,7 +39,7 @@ yp.h: yp.x
rm -f ${.TARGET}
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
yp_clnt.c: yp.x yp.h
yp_clnt.c: yp.x
rm -f ${.TARGET}
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
@ -47,11 +47,11 @@ yppasswd_private.h: yppasswd_private.x
rm -f ${.TARGET}
${RPCGEN} -h -o ${.TARGET} ${.CURDIR}/yppasswd_private.x
yppasswd_private_xdr.c: yppasswd_private.x yppasswd_private.h
yppasswd_private_xdr.c: yppasswd_private.x
rm -f ${.TARGET}
${RPCGEN} -c -o ${.TARGET} ${.CURDIR}/yppasswd_private.x
yppasswd_private_svc.c: yppasswd_private.x yppasswd_private.h
yppasswd_private_svc.c: yppasswd_private.x
rm -f ${.TARGET}
${RPCGEN} -m ${.CURDIR}/yppasswd_private.x | \
sed s/"static int _rpcsvcstate = _IDLE"/"extern int _rpcsvcstate"/g > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3 1997/12/16 17:43:33 bde Exp $
# $Id: Makefile,v 1.4 1998/03/06 14:40:42 bde Exp $
PROG= rpc.ypupdated
SRCS= ypupdate_prot_svc.c ypupdate_prot.h ypupdated_main.c \
@ -25,7 +25,7 @@ RPCGEN= rpcgen -I -C
# We need to remove the 'static' keyword from _rpcsvcstate so that
# ypupdated_main.c can see it.
ypupdate_prot_svc.c: ${RPCDIR}/ypupdate_prot.x ypupdate_prot.h
ypupdate_prot_svc.c: ${RPCDIR}/ypupdate_prot.x
rm -f ${.TARGET}
${RPCGEN} -m ${RPCDIR}/ypupdate_prot.x | \
sed s/"static int _rpcsvcstate"/"int _rpcsvcstate"/g > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 1997/02/22 16:13:00 peter Exp $
# $Id: Makefile,v 1.6 1998/03/06 14:34:47 bde Exp $
PROG= rpc.ypxfrd
SRCS= ypxfrd_svc.c ypxfrd.h ypxfrd_server.c yp_error.c \
@ -21,12 +21,12 @@ RPCGEN= rpcgen -I -C
# We need to remove the 'static' keyword from _rpcsvcstate so that
# ypxfrd_main.c can see it.
ypxfrd_svc.c: ${RPCDIR}/ypxfrd.x ypxfrd.h
ypxfrd_svc.c: ${RPCDIR}/ypxfrd.x
rm -f ${.TARGET}
${RPCGEN} -m ${RPCDIR}/ypxfrd.x | \
sed s/"static int _rpcsvcstate"/"int _rpcsvcstate"/g > ${.TARGET}
# ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x ypxfrd.h
# ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x
# rm -f ${.TARGET}
# ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/ypxfrd.x

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.13 1998/02/11 19:15:31 wpaul Exp $
# $Id: Makefile,v 1.14 1998/03/06 14:51:35 bde Exp $
PROG= ypserv
SRCS= yp_svc.c yp_server.c yp_dblookup.c yp_dnslookup.c \
@ -17,12 +17,12 @@ RPCGEN= rpcgen -I -C
# We need to remove the 'static' keyword from _rpcsvcstate so that
# yp_main.c can see it.
yp_svc.c: yp.x yp.h
yp_svc.c: yp.x
rm -f ${.TARGET}
${RPCGEN} -DYPSERV_ONLY -m ${RPCDIR}/yp.x | \
sed s/"static int _rpcsvcstate"/"int _rpcsvcstate"/g > ${.TARGET}
ypxfr_clnt.c: yp.x yp.h
ypxfr_clnt.c: yp.x
${RPCGEN} -DYPPUSH_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
yp.h: yp.x