diff options
author | Ian Lance Taylor <iant@google.com> | 2010-11-19 21:47:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2010-11-19 21:47:18 +0000 |
commit | 632e2a07632f0273dffaabbc8764641c8148dadc (patch) | |
tree | e95cfac9e0906324782bc8ba3b345c6239d36e4d /Makefile.def | |
parent | 2bdea5392557500a08a9e816fea2bdc042d6d0d1 (diff) | |
download | gcc-632e2a07632f0273dffaabbc8764641c8148dadc.zip gcc-632e2a07632f0273dffaabbc8764641c8148dadc.tar.gz gcc-632e2a07632f0273dffaabbc8764641c8148dadc.tar.bz2 |
configure.ac: Add target-libgo to target_libraries.
* configure.ac: Add target-libgo to target_libraries. Set
and substitute GOC_FOR_BUILD and GOC_FOR_TARGET.
* Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS.
(HOST_EXPORTS): Add GOC.
(BASE_TARGET_EXPORTS): Add GOC.
(GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables.
(GOCFLAGS_FOR_TARGET): New variable.
(EXTRA_HOST_FLAGS): Add GOC.
(EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS.
* Makefile.def (target_modules): Add libgo.
(flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET.
(dependencies): Add dependency from configure-target-libgo to
configure-target-libffi and all-target-libstdc++-v3. Add
dependencies from all-target-libgo to all-target-libffi.
(languages): Add go.
* configure: Rebuild.
* Makefile.in: Rebuild.
Co-Authored-By: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
From-SVN: r166959
Diffstat (limited to 'Makefile.def')
-rw-r--r-- | Makefile.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def index d7192f2..e5c9586 100644 --- a/Makefile.def +++ b/Makefile.def @@ -158,6 +158,7 @@ target_modules = { module= libgcc; bootstrap=true; no_check=true; }; target_modules = { module= libquadmath; }; target_modules = { module= libgfortran; }; target_modules = { module= libobjc; }; +target_modules = { module= libgo; }; target_modules = { module= libtermcap; no_check=true; missing=mostlyclean; missing=clean; @@ -287,6 +288,8 @@ flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; flags_to_pass = { flag= FLAGS_FOR_TARGET ; }; flags_to_pass = { flag= GCJ_FOR_TARGET ; }; flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; +flags_to_pass = { flag= GOC_FOR_TARGET ; }; +flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; }; flags_to_pass = { flag= LD_FOR_TARGET ; }; flags_to_pass = { flag= LIPO_FOR_TARGET ; }; flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; }; @@ -539,6 +542,9 @@ dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; } dependencies = { module=configure-target-fastjar; on=configure-target-zlib; }; dependencies = { module=all-target-fastjar; on=all-target-zlib; }; dependencies = { module=all-target-fastjar; on=all-target-libiberty; }; +dependencies = { module=configure-target-libgo; on=configure-target-libffi; }; +dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; }; +dependencies = { module=all-target-libgo; on=all-target-libffi; }; dependencies = { module=configure-target-libjava; on=configure-target-zlib; }; dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; }; dependencies = { module=configure-target-libjava; on=configure-target-qthreads; }; @@ -587,6 +593,8 @@ languages = { language=ada; gcc-check-target=check-ada; languages = { language=objc; gcc-check-target=check-objc; lib-check-target=check-target-libobjc; }; languages = { language=obj-c++; gcc-check-target=check-obj-c++; }; +languages = { language=go; gcc-check-target=check-go; + lib-check-target=check-target-libgo; }; // Toplevel bootstrap bootstrap_stage = { id=1 ; }; |