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.
This commit is contained in:
Nate Williams 1995-01-03 22:03:25 +00:00
parent de2b08724b
commit 65b94a0d72

View File

@ -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"