2001-11-13 02:16:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.9 2001/11/12 23:16:35 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"
|
|
|
|
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2001-11-13 02:16:17 +03:00
|
|
|
.MAKEFLAGS+= MACHINE= \
|
|
|
|
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= \
|
|
|
|
INSTALL_CPP=
|
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
|
|
|
|
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"
|