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 Aug 12, 2002 at 10:11:44 AM

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
Line 
1##
2## $Id$
3##
4
5MKSPEC = $(SHELL) ./mkspec
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 \
11    target-objc.add \
12    target-c++.add \
13    base-gnat.add target-gnat.add
14
15noinst_DATA = gccnewlib.spec.in gccnewlib_c_only.spec.in
16
17gccnewlib.spec.in: $(SUBPACKAGES)
18        cat $^ > $@
19CLEANFILES = gccnewlib.spec.in
20
21gccnewlib_c_only.spec.in: gccnewlib.add base-gcc.add target-gcc.add \
22        target-c++.add
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
34RPM_SPECS_DATA =
35
36arm-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
37        $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
38RPM_SPECS_DATA += arm-rtems-$(GCC3NEWLIBVERS).spec
39
40c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
41        $(MKSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
42RPM_SPECS_DATA += c4x-rtems-$(GCC3NEWLIBVERS).spec
43
44h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
45        $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
46RPM_SPECS_DATA += h8300-rtems-$(GCC3NEWLIBVERS).spec
47
48hppa1.1-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
49        $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
50RPM_SPECS_DATA += hppa1.1-rtems-$(GCC3NEWLIBVERS).spec
51
52i386-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
53        $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
54RPM_SPECS_DATA += i386-rtems-$(GCC3NEWLIBVERS).spec
55
56i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
57        $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
58RPM_SPECS_DATA += i960-rtems-$(GCC3NEWLIBVERS).spec
59
60m68k-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
61        $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
62RPM_SPECS_DATA += m68k-rtems-$(GCC3NEWLIBVERS).spec
63
64mips64orion-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
65        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
66RPM_SPECS_DATA += mips64orion-rtems-$(GCC3NEWLIBVERS).spec
67
68mips-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
69        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
70RPM_SPECS_DATA += mips-rtems-$(GCC3NEWLIBVERS).spec
71
72powerpc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
73        $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
74RPM_SPECS_DATA += powerpc-rtems-$(GCC3NEWLIBVERS).spec
75
76sh-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
77        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
78RPM_SPECS_DATA += sh-rtems-$(GCC3NEWLIBVERS).spec
79
80sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
81        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
82RPM_SPECS_DATA += sh-rtemself-$(GCC3NEWLIBVERS).spec
83
84sparc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
85        $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
86RPM_SPECS_DATA += sparc-rtems-$(GCC3NEWLIBVERS).spec
87
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.