Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk * move .includes added in rev 1.5 to outside of .if...



details:   https://anonhg.NetBSD.org/src/rev/ec15151aae7f
branches:  trunk
changeset: 550057:ec15151aae7f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jul 29 01:12:46 2003 +0000

description:
* move .includes added in rev 1.5 to outside of .if defined(RPC_SVCFILES (oops)
* move ${DEPENDSRCS}: ...  to the end of the file

diffstat:

 share/mk/bsd.rpc.mk |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (61 lines):

diff -r eace46895c7f -r ec15151aae7f share/mk/bsd.rpc.mk
--- a/share/mk/bsd.rpc.mk       Tue Jul 29 00:13:21 2003 +0000
+++ b/share/mk/bsd.rpc.mk       Tue Jul 29 01:12:46 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.rpc.mk,v 1.6 2003/07/28 15:25:06 lukem Exp $
+#      $NetBSD: bsd.rpc.mk,v 1.7 2003/07/29 01:12:46 lukem Exp $
 
 .include <bsd.init.mk>
 
@@ -7,7 +7,7 @@
 # We don't use implicit suffix rules here to avoid dependencies in the
 # Installed files.
 
-.if defined(RPC_INCS)
+.if defined(RPC_INCS)                                          # {
 
 .for I in ${RPC_INCS}
 ${I}: ${I:.h=.x}
@@ -16,11 +16,10 @@
 
 CLEANFILES += ${RPC_INCS}
 
-${DEPENDSRCS}: ${RPC_INCS}
+.endif                                                         # }
 
-.endif
 
-.if defined(RPC_XDRFILES)
+.if defined(RPC_XDRFILES)                                      # {
 
 .for I in ${RPC_XDRFILES}
 ${I}: ${RPC_XDIR}${I:_xdr.c=.x}
@@ -29,11 +28,10 @@
 
 CLEANFILES += ${RPC_XDRFILES}
 
-${DEPENDSRCS}: ${RPC_XDRFILES}
+.endif                                                         # }
 
-.endif
 
-.if defined(RPC_SVCFILES)
+.if defined(RPC_SVCFILES)                                      # {
 
 .for I in ${RPC_SVCCLASS}
 _RPCS += -s ${I}
@@ -48,10 +46,12 @@
 
 CLEANFILES += ${RPC_SVCFILES}
 
-${DEPENDSRCS}: ${RPC_SVCFILES}
+.endif                                                         # }
+
 
 ##### Pull in related .mk logic
 .include <bsd.obj.mk>
 .include <bsd.sys.mk>
 
-.endif
+
+${DEPENDSRCS}: ${RPC_INCS} ${RPC_XDRFILES} ${RPC_SVCFILES}



Home | Main Index | Thread Index | Old Index