source: rtems/scripts/gccnewlib/Makefile.am @ 971a534

4.104.114.84.95
Last change on this file since 971a534 was 971a534, checked in by Joel Sherrill <joel.sherrill@…>, on 06/29/00 at 22:18:36

h8300-rtems now uses the correct command to generate the specs file.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgccnewlibspec
8
9SUBPACKAGES = gccnewlib.add \
10    base-gcc.add target-gcc.add \
11    base-chill.add target-chill.add \
12    base-g77.add target-g77.add \
13    base-gcj.add target-gcj.add \
14    target-objc.add
15
16gccnewlib.spec.in: $(SUBPACKAGES)
17        cat $^ \
18        | sed -e 's%@GCCLANGS@%%g' > $@
19CLEANFILES += gccnewlib.spec.in
20
21gccnewlib_c_only.spec.in: gccnewlib.add base-gcc.add target-gcc.add
22        cat $^ \
23        | sed -e "s%@GCCLANGS@%\'--enable-languages=c,c++\'%g" > $@
24CLEANFILES += gccnewlib_c_only.spec.in
25
26C_ONLY_ARG = -a $(top_builddir)/gccnewlib/gccnewlib_c_only.spec.in
27
28MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgccnewlibspec gccnewlib.spec.in \
29    $(top_builddir)/setup.cache
30MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgccnewlibspec \
31    gccnewlib_c_only.spec.in $(top_builddir)/setup.cache
32
33h8300-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
34        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . h8300-rtems
35
36hppa1.1-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
37        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
38
39i386-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
40        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
41
42i960-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
43        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems
44
45m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
46        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
47
48m68k-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
49        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtemself
50
51mips64orion-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
52        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
53
54powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
55        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
56
57sh-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
58        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
59
60sh-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
61        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
62
63sparc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
64        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
65
66RPM_SPECS_DATA = h8300-rtems-$(GCCNEWLIBVERS).spec \
67    hppa1.1-rtems-$(GCCNEWLIBVERS).spec \
68    i386-rtems-$(GCCNEWLIBVERS).spec i960-rtems-$(GCCNEWLIBVERS).spec \
69    m68k-rtems-$(GCCNEWLIBVERS).spec m68k-rtemself-$(GCCNEWLIBVERS).spec \
70    mips64orion-rtems-$(GCCNEWLIBVERS).spec \
71    powerpc-rtems-$(GCCNEWLIBVERS).spec sh-rtems-$(GCCNEWLIBVERS).spec \
72    sh-rtemself-$(GCCNEWLIBVERS).spec sparc-rtems-$(GCCNEWLIBVERS).spec
73CLEANFILES += $(RPM_SPECS_DATA)
74
75EXTRA_DIST = $(SUBPACKAGES)
76
77include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.