NetBSD/gnu/lib/Makefile
thorpej 3faae759ba Allow a new-toolchain build to be done without actually building
the target "native toolchain" if BOOTSTRAP_NEW_TOOLCHAIN is set.

This is important if you don't have any userland at all, and you're
trying to make one from which you can run toolchain2netbsd.
2001-12-15 03:37:36 +00:00

31 lines
719 B
Makefile

# $NetBSD: Makefile,v 1.27 2001/12/15 03:37:36 thorpej Exp $
.include <bsd.own.mk>
.if defined(USE_NEW_TOOLCHAIN)
.if !defined(BOOTSTRAP_NEW_TOOLCHAIN)
SUBDIR+= libbfd libg2c libgcc libiberty libobjc libmalloc libstdc++
.endif
.else
#
# XXX - BEGIN - Old toolchain build goop - delete when everything migrated - XXX
#
HAVE_GCC29!= ${CXX} --version | egrep "^(2\.9)" ; echo
SUBDIR+= libbfd libmalloc
.if empty(HAVE_GCC29) || make (obj) || make(cleandir) || make(clean)
SUBDIR+= libg2c libgcc libobjc
.if (${MACHINE_ARCH} != "sparc64") && (${MACHINE_ARCH} != "arm")
SUBDIR+= libstdc++
.endif
.endif
#
# XXX - END - Old toolchain build goop - delete when everything migrated - XXX
#
.endif
.include <bsd.subdir.mk>