Source-Changes-HG archive

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

[src/trunk]: src/lib Remove unfinished hack I accidentally committed in 2017.



details:   https://anonhg.NetBSD.org/src/rev/f642716221d1
branches:  trunk
changeset: 1007890:f642716221d1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Mar 03 04:20:50 2020 +0000

description:
Remove unfinished hack I accidentally committed in 2017.

This caused make to unconditionally take ages running useless
submakes in every subdirectory.  Accidentally committed during the
MKCRYPTO option removal when I was presumably experimenting with
automating library dependency generation in lib.

Should shave a few seconds at least off every build!

diffstat:

 lib/Makefile |  18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diffs (31 lines):

diff -r 0dde6b2cf446 -r f642716221d1 lib/Makefile
--- a/lib/Makefile      Tue Mar 03 04:19:20 2020 +0000
+++ b/lib/Makefile      Tue Mar 03 04:20:50 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.275 2020/03/03 00:37:05 christos Exp $
+#      $NetBSD: Makefile,v 1.276 2020/03/03 04:20:50 riastradh Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -298,21 +298,5 @@
 # Needed by rump and rescue which are outside the smbfs tree
 SUBDIR+=       ../external/bsd/smbfs/lib
 
-.for S in ${SUBDIR}
-.if ${S} != ".WAIT"
-SUBLIB_${S}!=  cd ${S} && ${MAKE} -V LIB
-SUBDEP_${S}!=  cd ${S} && ${MAKE} -V LIBDPLIBS
-.endif
-.endfor
-
-showdeps:
-.for S in ${SUBDIR}
-.if ${S} != ".WAIT"
-.for DL DD in ${SUBDEP_${S}}
-       @echo ${S} ${SUBLIB_${S}} ${DL} ${DD:C,^${.CURDIR}/,,}
-.endfor
-.endif
-.endfor
-
 .include <bsd.buildinstall.mk>
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index