2002-01-31 18:25:08 +03:00
|
|
|
# $NetBSD: Makefile,v 1.17 2002/01/31 15:25:08 tv Exp $
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
.include <bsd.own.mk>
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
MODULE= toolchain
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
FIND_ARGS= \! \( -type d -name sim -prune \)
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
CONFIGURE_ENV= LANGUAGES="c c++ objc"
|
2001-11-15 01:13:39 +03:00
|
|
|
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls \
|
|
|
|
--program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-,"
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2002-01-31 18:25:08 +03:00
|
|
|
MAKE_ARGS= MACHINE= MAKEINFO=${MAKEINFO:Q} \
|
2001-11-13 17:49:00 +03:00
|
|
|
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC=
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
ALL_TARGET= all-binutils all-gas all-ld all-gcc
|
2001-11-15 03:20:26 +03:00
|
|
|
INSTALL_TARGET= install-binutils install-gas install-ld install-gcc
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
.if ${MKCROSSGDB:Uno} == "yes"
|
|
|
|
ALL_TARGET+= all-gdb
|
|
|
|
INSTALL_TARGET+=install-gdb
|
|
|
|
.endif
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
.include "${.CURDIR}/../Makefile.gnuhost"
|