Build the appropriate libgcc, so that build-to-destdir works.

This commit is contained in:
thorpej 1998-05-12 01:59:54 +00:00
parent 51e30a086a
commit 246b83555d
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.52 1998/05/10 10:37:59 mycroft Exp $
# $NetBSD: Makefile,v 1.53 1998/05/12 01:59:54 thorpej Exp $
.include <bsd.own.mk> # for configuration variables.
@ -66,6 +66,13 @@ 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 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
(cd ${.CURDIR}/usr.bin/lex &&\
${MAKE} depend && ${MAKE} && ${MAKE} install)
(cd ${.CURDIR}/usr.bin/yacc && \