2009-08-18 19:11:25 +04:00
|
|
|
# $NetBSD: Makefile,v 1.43 2009/08/18 15:11:25 skrll Exp $
|
2001-08-09 20:09:52 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1998-04-09 04:05:14 +04:00
|
|
|
|
Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
case:
MKBFD If set to "no", disables building of libbfd, libiberty,
and all things that depend on them (binutils/gas/ld, gdb,
dbsym, mdsetimage).
MKGDB If set to "no", disables bulding of gdb.
MKGCC If set to "no", disables building of gcc and the
gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).
These are useful for building platforms for which either of the following
situations are true:
(1) You have no userland from which to run toolchain2netbsd
in order to build the appropriate toolchain build framework.
(2) The platform which you are building requires a newer set
of tools than are currently in the tree (e.g. x86-64, ia64).
2002-01-01 02:04:11 +03:00
|
|
|
.if ${MKBFD} != "no"
|
2009-08-18 19:11:25 +04:00
|
|
|
.if ${HAVE_BINUTILS} == "216"
|
2003-03-01 16:08:42 +03:00
|
|
|
SUBDIR+= libopcodes libbfd libiberty
|
Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
case:
MKBFD If set to "no", disables building of libbfd, libiberty,
and all things that depend on them (binutils/gas/ld, gdb,
dbsym, mdsetimage).
MKGDB If set to "no", disables bulding of gdb.
MKGCC If set to "no", disables building of gcc and the
gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).
These are useful for building platforms for which either of the following
situations are true:
(1) You have no userland from which to run toolchain2netbsd
in order to build the appropriate toolchain build framework.
(2) The platform which you are building requires a newer set
of tools than are currently in the tree (e.g. x86-64, ia64).
2002-01-01 02:04:11 +03:00
|
|
|
.endif
|
2009-08-18 19:11:25 +04:00
|
|
|
.endif
|
Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
case:
MKBFD If set to "no", disables building of libbfd, libiberty,
and all things that depend on them (binutils/gas/ld, gdb,
dbsym, mdsetimage).
MKGDB If set to "no", disables bulding of gdb.
MKGCC If set to "no", disables building of gcc and the
gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).
These are useful for building platforms for which either of the following
situations are true:
(1) You have no userland from which to run toolchain2netbsd
in order to build the appropriate toolchain build framework.
(2) The platform which you are building requires a newer set
of tools than are currently in the tree (e.g. x86-64, ia64).
2002-01-01 02:04:11 +03:00
|
|
|
|
|
|
|
.if ${MKGCC} != "no"
|
2006-05-09 23:29:13 +04:00
|
|
|
SUBDIR+= crtstuff4 libgcc4 libobjc4 libsupc++4 libstdc++-v3_4
|
Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
case:
MKBFD If set to "no", disables building of libbfd, libiberty,
and all things that depend on them (binutils/gas/ld, gdb,
dbsym, mdsetimage).
MKGDB If set to "no", disables bulding of gdb.
MKGCC If set to "no", disables building of gcc and the
gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).
These are useful for building platforms for which either of the following
situations are true:
(1) You have no userland from which to run toolchain2netbsd
in order to build the appropriate toolchain build framework.
(2) The platform which you are building requires a newer set
of tools than are currently in the tree (e.g. x86-64, ia64).
2002-01-01 02:04:11 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBDIR+= libmalloc
|
2001-07-24 23:44:47 +04:00
|
|
|
|
1993-04-08 05:10:47 +04:00
|
|
|
.include <bsd.subdir.mk>
|