summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1998-05-21 11:53:49 +0000
committertv <tv@NetBSD.org>1998-05-21 11:53:49 +0000
commit2be2a5eb88ee9ee3eea86dca5116ac05fcae08ae (patch)
treefdd8b372cf2f905a1c17815cf50b8ff2792ec551 /Makefile
parent2a0a60994768d9504a3872ef5aeb5f8b0b47b955 (diff)
Move (re)build of libgcc to end of build list (after gcc/egcs would be
installed/updated).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 10b8c10266b..c4ce869181f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 1998/05/21 01:40:19 thorpej Exp $
+# $NetBSD: Makefile,v 1.55 1998/05/21 11:53:49 tv Exp $
.include <bsd.own.mk> # for configuration variables.
@@ -66,21 +66,6 @@ build: beforeinstall
(cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE} && ${MAKE} install)
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
-.if (${MACHINE_ARCH} == "arm32") || \
- (${MACHINE_ARCH} == "i386") || \
- (${MACHINE_ARCH} == "mips") || \
- (${MACHINE_ARCH} == "m68k") || \
- (${MACHINE_ARCH} == "ns32k") || \
- (${MACHINE_ARCH} == "sparc") || \
- (${MACHINE_ARCH} == "vax")
-.if defined(USE_EGCS)
- (cd ${.CURDIR}/gnu/usr.bin/egcs/libgcc &&\
- ${MAKE} depend && ${MAKE} && ${MAKE} install)
-.else
- (cd ${.CURDIR}/gnu/usr.bin/gcc/libgcc &&\
- ${MAKE} depend && ${MAKE} && ${MAKE} install)
-.endif # USE_EGCS
-.endif # MACHINE_ARCH
(cd ${.CURDIR}/usr.bin/lex &&\
${MAKE} depend && ${MAKE} && ${MAKE} install)
(cd ${.CURDIR}/usr.bin/yacc && \
@@ -106,6 +91,21 @@ build: beforeinstall
${MAKE} install)
.endif
${MAKE} depend && ${MAKE} && ${MAKE} install
+.if (${MACHINE_ARCH} == "arm32") || \
+ (${MACHINE_ARCH} == "i386") || \
+ (${MACHINE_ARCH} == "mips") || \
+ (${MACHINE_ARCH} == "m68k") || \
+ (${MACHINE_ARCH} == "ns32k") || \
+ (${MACHINE_ARCH} == "sparc") || \
+ (${MACHINE_ARCH} == "vax")
+.if defined(USE_EGCS)
+ (cd ${.CURDIR}/gnu/usr.bin/egcs/libgcc &&\
+ ${MAKE} depend && ${MAKE} && ${MAKE} install)
+.else
+ (cd ${.CURDIR}/gnu/usr.bin/gcc/libgcc &&\
+ ${MAKE} depend && ${MAKE} && ${MAKE} install)
+.endif # USE_EGCS
+.endif # MACHINE_ARCH
@echo -n "Build finished at: "
@date