1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | MKSPEC = $(SHELL) ./mkspec |
---|
6 | |
---|
7 | SUBPACKAGES = 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 | |
---|
15 | noinst_DATA = gccnewlib.spec.in gccnewlib_c_only.spec.in |
---|
16 | |
---|
17 | gccnewlib.spec.in: $(SUBPACKAGES) |
---|
18 | cat $^ > $@ |
---|
19 | CLEANFILES = gccnewlib.spec.in |
---|
20 | |
---|
21 | gccnewlib_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" > $@ |
---|
25 | CLEANFILES += gccnewlib_c_only.spec.in |
---|
26 | |
---|
27 | C_ONLY_ARG = -a $(top_builddir)/gcc3newlib/gccnewlib_c_only.spec.in |
---|
28 | |
---|
29 | MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgcc3newlibspec gccnewlib.spec.in \ |
---|
30 | $(top_builddir)/setup.cache |
---|
31 | MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgcc3newlibspec \ |
---|
32 | gccnewlib_c_only.spec.in $(top_builddir)/setup.cache |
---|
33 | |
---|
34 | RPM_SPECS_DATA = |
---|
35 | |
---|
36 | arm-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
37 | $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@ |
---|
38 | RPM_SPECS_DATA += arm-rtems-$(GCC3NEWLIBVERS).spec |
---|
39 | |
---|
40 | c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_DEPS) |
---|
41 | $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@ |
---|
42 | RPM_SPECS_DATA += c4x-rtems-$(GCC3NEWLIBVERS).spec |
---|
43 | |
---|
44 | h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
45 | $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@ |
---|
46 | RPM_SPECS_DATA += h8300-rtems-$(GCC3NEWLIBVERS).spec |
---|
47 | |
---|
48 | hppa1.1-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
49 | $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@ |
---|
50 | RPM_SPECS_DATA += hppa1.1-rtems-$(GCC3NEWLIBVERS).spec |
---|
51 | |
---|
52 | i386-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
53 | $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@ |
---|
54 | RPM_SPECS_DATA += i386-rtems-$(GCC3NEWLIBVERS).spec |
---|
55 | |
---|
56 | i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
57 | $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@ |
---|
58 | RPM_SPECS_DATA += i960-rtems-$(GCC3NEWLIBVERS).spec |
---|
59 | |
---|
60 | m68k-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
61 | $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@ |
---|
62 | RPM_SPECS_DATA += m68k-rtems-$(GCC3NEWLIBVERS).spec |
---|
63 | |
---|
64 | mips64orion-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
65 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@ |
---|
66 | RPM_SPECS_DATA += mips64orion-rtems-$(GCC3NEWLIBVERS).spec |
---|
67 | |
---|
68 | mips-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
69 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@ |
---|
70 | RPM_SPECS_DATA += mips-rtems-$(GCC3NEWLIBVERS).spec |
---|
71 | |
---|
72 | powerpc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
73 | $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@ |
---|
74 | RPM_SPECS_DATA += powerpc-rtems-$(GCC3NEWLIBVERS).spec |
---|
75 | |
---|
76 | sh-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
77 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@ |
---|
78 | RPM_SPECS_DATA += sh-rtems-$(GCC3NEWLIBVERS).spec |
---|
79 | |
---|
80 | sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
81 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@ |
---|
82 | RPM_SPECS_DATA += sh-rtemself-$(GCC3NEWLIBVERS).spec |
---|
83 | |
---|
84 | sparc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) |
---|
85 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@ |
---|
86 | RPM_SPECS_DATA += sparc-rtems-$(GCC3NEWLIBVERS).spec |
---|
87 | |
---|
88 | CLEANFILES += $(RPM_SPECS_DATA) |
---|
89 | |
---|
90 | EXTRA_DIST = $(SUBPACKAGES) |
---|
91 | |
---|
92 | include $(top_srcdir)/../automake/local.am |
---|