Process "lib/csu/i386" at the beginning of the "libraries" target,

instead of in the middle of it.  Soon, "c++rt0.o" will be linked
into all shared libraries.  An up-to-date version of it must be in
place before any shared libraries are built.

This is one piece of the solution for PR gnu/3035 (gcc -shared).
This commit is contained in:
John Polstra 1997-04-09 18:59:36 +00:00
parent e0d3e2336f
commit 598c1e5004

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.119 1997/04/02 16:44:06 ache Exp $
# $Id: Makefile,v 1.120 1997/04/02 17:10:16 ache Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -458,6 +458,10 @@ lib-tools:
# libraries - build and install the libraries
#
libraries:
.if exists(lib/csu/i386)
cd ${.CURDIR}/lib/csu/i386 && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib/libcompat)
cd ${.CURDIR}/lib/libcompat && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
@ -470,10 +474,6 @@ libraries:
cd ${.CURDIR}/lib/libtermcap && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(lib)
cd ${.CURDIR}/lib/csu/i386 && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(gnu)
cd ${.CURDIR}/gnu/lib && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}