summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-01-03 22:03:25 +0000
committernate <nate@FreeBSD.org>1995-01-03 22:03:25 +0000
commite9e27021f2c68f3064e80ce4478ff74d3f076b46 (patch)
treefbd1c97a7922175bc3444e5022a937785d81a385
parente3f8199c2f96ff46f53e4075b6b31c79fc104819 (diff)
downloadFreeBSD-src-e9e27021f2c68f3064e80ce4478ff74d3f076b46.zip
FreeBSD-src-e9e27021f2c68f3064e80ce4478ff74d3f076b46.tar.gz
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.
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fee9981..b5537df 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"
OpenPOWER on IntegriCloud