source: rtems/scripts/gcc3newlib/Makefile.am @ 4aba88a1

4.104.114.84.95
Last change on this file since 4aba88a1 was 4aba88a1, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/12/02 at 10:11:44

2002-08-12 Ralf Corsepius <corsepiu@…>

  • 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.
  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[afe5cac]1##
2## $Id$
3##
4
[4aba88a1]5MKSPEC = $(SHELL) ./mkspec
[afe5cac]6
7SUBPACKAGES = gccnewlib.add \
8    base-gcc.add target-gcc.add \
9    base-g77.add target-g77.add \
10    base-gcj.add target-gcj.add \
[6e9746a2]11    target-objc.add \
[4aba88a1]12    target-c++.add \
13    base-gnat.add target-gnat.add
14
15noinst_DATA = gccnewlib.spec.in gccnewlib_c_only.spec.in
[afe5cac]16
17gccnewlib.spec.in: $(SUBPACKAGES)
[4aba88a1]18        cat $^ > $@
[afe5cac]19CLEANFILES = gccnewlib.spec.in
20
[6e9746a2]21gccnewlib_c_only.spec.in: gccnewlib.add base-gcc.add target-gcc.add \
22        target-c++.add
[afe5cac]23        cat $^ \
24        | sed -e "s%@GCCLANGS@%\'--enable-languages=c,c++\'%g" > $@
25CLEANFILES += gccnewlib_c_only.spec.in
26
27C_ONLY_ARG = -a $(top_builddir)/gcc3newlib/gccnewlib_c_only.spec.in
28
29MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgcc3newlibspec gccnewlib.spec.in \
30    $(top_builddir)/setup.cache
31MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgcc3newlibspec \
32    gccnewlib_c_only.spec.in $(top_builddir)/setup.cache
33
[4aba88a1]34RPM_SPECS_DATA =
35
[afe5cac]36arm-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]37        $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
38RPM_SPECS_DATA += arm-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]39
40c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
[4aba88a1]41        $(MKSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
42RPM_SPECS_DATA += c4x-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]43
[4aba88a1]44h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
45        $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
46RPM_SPECS_DATA += h8300-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]47
48hppa1.1-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]49        $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
50RPM_SPECS_DATA += hppa1.1-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]51
52i386-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]53        $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
54RPM_SPECS_DATA += i386-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]55
[4aba88a1]56i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
57        $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
58RPM_SPECS_DATA += i960-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]59
60m68k-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]61        $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
62RPM_SPECS_DATA += m68k-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]63
64mips64orion-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]65        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
66RPM_SPECS_DATA += mips64orion-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]67
68mips-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]69        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
70RPM_SPECS_DATA += mips-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]71
72powerpc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]73        $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
74RPM_SPECS_DATA += powerpc-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]75
76sh-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]77        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
78RPM_SPECS_DATA += sh-rtems-$(GCC3NEWLIBVERS).spec
[afe5cac]79
80sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]81        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
82RPM_SPECS_DATA += sh-rtemself-$(GCC3NEWLIBVERS).spec
[afe5cac]83
84sparc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
[4aba88a1]85        $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
86RPM_SPECS_DATA += sparc-rtems-$(GCC3NEWLIBVERS).spec
87
[afe5cac]88CLEANFILES += $(RPM_SPECS_DATA)
89
90EXTRA_DIST = $(SUBPACKAGES)
91
92include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.