aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1995-01-03 22:03:25 +0000
committerNate Williams <nate@FreeBSD.org>1995-01-03 22:03:25 +0000
commit65b94a0d7228843217a8da9870cac91fadf33c99 (patch)
treefbd1c97a7922175bc3444e5022a937785d81a385
parentde2b08724b26065d02733839618eadf5ea1c3344 (diff)
downloadsrc-65b94a0d7228843217a8da9870cac91fadf33c99.tar.gz
src-65b94a0d7228843217a8da9870cac91fadf33c99.zip
Added new lib-tools target used in make world which rebuilds and
installs 'ar', 'nm', and 'ranlib' to avoid bootstrapping problems from the old utils which don't support the long archive names.
Notes
Notes: svn path=/head/; revision=5366
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fee9981bf99b..b5537df59cb1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.30 1994/11/14 20:52:54 phk Exp $
+# $Id: Makefile,v 1.31 1994/12/04 02:46:28 ache Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -103,7 +103,7 @@ CLEANDIR= clean
CLEANDIR= cleandir
.endif
-world: hierarchy cleandist mk includes libraries tools
+world: hierarchy cleandist mk includes lib-tools libraries tools
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} The whole thing"
@echo "--------------------------------------------------------------"
@@ -235,6 +235,18 @@ includes:
cd ${.CURDIR}/lib/libskey && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libtermcap && ${MAKE} beforeinstall
+lib-tools:
+ @echo "--------------------------------------------------------------"
+ @echo " Rebuilding tools needed to build the libraries
+ @echo "--------------------------------------------------------------"
+ @echo
+ cd ${.CURDIR}/usr.bin/ar && \
+ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
+ cd ${.CURDIR}/usr.bin/ranlib && \
+ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
+ cd ${.CURDIR}/usr.bin/nm && \
+ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
+
libraries:
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR}/usr/lib"