aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-04-09 18:59:36 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-04-09 18:59:36 +0000
commit598c1e50049993e7c589671b68d4ac41694cd806 (patch)
tree8bd8443007fcf81d7338c6557b968edf86a78f3f /Makefile
parente0d3e2336fe7d2d0ecf0bb64777ee25ebd2ce924 (diff)
downloadsrc-598c1e50049993e7c589671b68d4ac41694cd806.tar.gz
src-598c1e50049993e7c589671b68d4ac41694cd806.zip
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).
Notes
Notes: svn path=/head/; revision=24754
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1f19482d98de..4623b9662db2 100644
--- a/Makefile
+++ b/Makefile
@@ -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}