source: rtems/scripts/gccnewlib/Makefile.am @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 2.7 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
33hppa1.1-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
34        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
35
36i386-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
37        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
38
39i960-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
40        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems
41
42m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
43        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
44
45m68k-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
46        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtemself
47
48mips64orion-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
49        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
50
51powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
52        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
53
54sh-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
55        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
56
57sh-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
58        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
59
60sparc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
61        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
62
63RPM_SPECS_DATA = hppa1.1-rtems-$(GCCNEWLIBVERS).spec \
64    i386-rtems-$(GCCNEWLIBVERS).spec i960-rtems-$(GCCNEWLIBVERS).spec \
65    m68k-rtems-$(GCCNEWLIBVERS).spec m68k-rtemself-$(GCCNEWLIBVERS).spec \
66    mips64orion-rtems-$(GCCNEWLIBVERS).spec \
67    powerpc-rtems-$(GCCNEWLIBVERS).spec sh-rtems-$(GCCNEWLIBVERS).spec \
68    sh-rtemself-$(GCCNEWLIBVERS).spec sparc-rtems-$(GCCNEWLIBVERS).spec
69CLEANFILES += $(RPM_SPECS_DATA)
70
71EXTRA_DIST = $(SUBPACKAGES)
72
73include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.