diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-12 10:11:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-12 10:11:44 +0000 |
commit | 4aba88a119b6844e725b0fce452b1498f8fc3c87 (patch) | |
tree | d012b276961e2f14ee7f48be69ad55562ad69ccb /scripts/gcc3newlib/Makefile.am | |
parent | 2002-08-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-4aba88a119b6844e725b0fce452b1498f8fc3c87.tar.bz2 |
2002-08-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mkgcc3newlibspec.in: Remove
* gcc3newlib/mkspec.in: New.
* configure.ac: Reflect changes above.
* gcc3newlib/gccnewlib.add: Add build_XXX defines.
Add preliminary gnat support.
* gcc3newlib/base-g77.add: Add build_g77.
* gcc3newlib/base-gcj.add: Add build_gcj.
* gcc3newlib/base-gnat.add: New.
* gcc3newlib/target-c++.add: Add build_cxx.
* gcc3newlib/target-g77.add: Add build_g77.
* gcc3newlib/target-gcj.add: Add build_gcj.
* gcc3newlib/target-objc.add: Add build_objc.
* gcc3newlib/target-gnat.add: New.
* gcc3newlib/Makefile.am: Use ./mkspec. Use unified spec.
Diffstat (limited to '')
-rw-r--r-- | scripts/gcc3newlib/Makefile.am | 67 |
1 files changed, 37 insertions, 30 deletions
diff --git a/scripts/gcc3newlib/Makefile.am b/scripts/gcc3newlib/Makefile.am index ee77454223..6eee24319e 100644 --- a/scripts/gcc3newlib/Makefile.am +++ b/scripts/gcc3newlib/Makefile.am @@ -2,18 +2,20 @@ ## $Id$ ## -MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgcc3newlibspec +MKSPEC = $(SHELL) ./mkspec SUBPACKAGES = gccnewlib.add \ base-gcc.add target-gcc.add \ base-g77.add target-g77.add \ base-gcj.add target-gcj.add \ target-objc.add \ - target-c++.add + target-c++.add \ + base-gnat.add target-gnat.add + +noinst_DATA = gccnewlib.spec.in gccnewlib_c_only.spec.in gccnewlib.spec.in: $(SUBPACKAGES) - cat $^ \ - | sed -e 's%@GCCLANGS@%%g' > $@ + cat $^ > $@ CLEANFILES = gccnewlib.spec.in gccnewlib_c_only.spec.in: gccnewlib.add base-gcc.add target-gcc.add \ @@ -29,55 +31,60 @@ MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgcc3newlibspec gccnewlib.spec.in \ MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgcc3newlibspec \ gccnewlib_c_only.spec.in $(top_builddir)/setup.cache +RPM_SPECS_DATA = + arm-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . arm-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@ +RPM_SPECS_DATA += arm-rtems-$(GCC3NEWLIBVERS).spec c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . c4x-rtems + $(MKSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache c4x-rtems > $@ +RPM_SPECS_DATA += c4x-rtems-$(GCC3NEWLIBVERS).spec -h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . h8300-rtems +h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) + $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@ +RPM_SPECS_DATA += h8300-rtems-$(GCC3NEWLIBVERS).spec hppa1.1-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@ +RPM_SPECS_DATA += hppa1.1-rtems-$(GCC3NEWLIBVERS).spec i386-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i386-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@ +RPM_SPECS_DATA += i386-rtems-$(GCC3NEWLIBVERS).spec -i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems +i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) + $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@ +RPM_SPECS_DATA += i960-rtems-$(GCC3NEWLIBVERS).spec m68k-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . m68k-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@ +RPM_SPECS_DATA += m68k-rtems-$(GCC3NEWLIBVERS).spec mips64orion-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@ +RPM_SPECS_DATA += mips64orion-rtems-$(GCC3NEWLIBVERS).spec mips-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . mips-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@ +RPM_SPECS_DATA += mips-rtems-$(GCC3NEWLIBVERS).spec powerpc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@ +RPM_SPECS_DATA += powerpc-rtems-$(GCC3NEWLIBVERS).spec sh-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . sh-rtems + $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@ +RPM_SPECS_DATA += sh-rtems-$(GCC3NEWLIBVERS).spec sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . sh-rtemself + $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@ +RPM_SPECS_DATA += sh-rtemself-$(GCC3NEWLIBVERS).spec sparc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) - $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . sparc-rtems - -RPM_SPECS_DATA = \ - arm-rtems-$(GCC3NEWLIBVERS).spec \ - c4x-rtems-$(GCC3NEWLIBVERS).spec \ - h8300-rtems-$(GCC3NEWLIBVERS).spec \ - hppa1.1-rtems-$(GCC3NEWLIBVERS).spec \ - i386-rtems-$(GCC3NEWLIBVERS).spec i960-rtems-$(GCC3NEWLIBVERS).spec \ - m68k-rtems-$(GCC3NEWLIBVERS).spec \ - mips-rtems-$(GCC3NEWLIBVERS).spec mips64orion-rtems-$(GCC3NEWLIBVERS).spec \ - powerpc-rtems-$(GCC3NEWLIBVERS).spec sh-rtems-$(GCC3NEWLIBVERS).spec \ - sh-rtemself-$(GCC3NEWLIBVERS).spec sparc-rtems-$(GCC3NEWLIBVERS).spec + $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@ +RPM_SPECS_DATA += sparc-rtems-$(GCC3NEWLIBVERS).spec + CLEANFILES += $(RPM_SPECS_DATA) EXTRA_DIST = $(SUBPACKAGES) |