29 lines
670 B
Makefile
29 lines
670 B
Makefile
# $NetBSD: Makefile,v 1.26 2001/08/09 16:09:52 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if defined(USE_NEW_TOOLCHAIN)
|
|
|
|
SUBDIR+= libbfd libg2c libgcc libiberty libobjc libmalloc libstdc++
|
|
|
|
.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>
|