Source-Changes-HG archive

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

[src/netbsd-9]: src/lib Pull up following revision(s) (requested by riastradh...



details:   https://anonhg.NetBSD.org/src/rev/c16866c713d5
branches:  netbsd-9
changeset: 745505:c16866c713d5
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Mar 03 18:44:20 2020 +0000

description:
Pull up following revision(s) (requested by riastradh in ticket #756):

        lib/Makefile: revision 1.276

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 8db16c62f879 -r c16866c713d5 lib/Makefile
--- a/lib/Makefile      Mon Mar 02 08:02:16 2020 +0000
+++ b/lib/Makefile      Tue Mar 03 18:44:20 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.271 2019/05/10 09:42:46 nakayama Exp $
+#      $NetBSD: Makefile,v 1.271.2.1 2020/03/03 18:44:20 martin Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -291,21 +291,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