source: rtems/scripts/gccnewlib/Makefile.am @ 0671af6

4.104.114.84.95
Last change on this file since 0671af6 was 0671af6, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 24, 2001 at 6:30:27 PM

2001-09-22 Ralf Corsepius <corsepiu@…>

  • gdb/Makefile.am, gccnewlib/Makefile.am, binutils/Makefile.am: Initially setup CLEANFILES using = instead of += to make automake-1.5 happy.
  • Property mode set to 100644
File size: 3.2 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
33arm-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
34        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . arm-rtems
35
36c4x-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
37        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . c4x-rtems
38
39h8300-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
40        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . h8300-rtems
41
42hppa1.1-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
43        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
44
45i386-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
46        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
47
48i960-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
49        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems
50
51m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
52        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
53
54mips64orion-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
55        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
56
57mips-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
58        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems
59
60powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
61        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
62
63sh-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
64        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
65
66sh-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
67        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
68
69sparc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
70        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
71
72RPM_SPECS_DATA = \
73    arm-rtems-$(GCCNEWLIBVERS).spec \
74    c4x-rtems-$(GCCNEWLIBVERS).spec \
75    h8300-rtems-$(GCCNEWLIBVERS).spec \
76    hppa1.1-rtems-$(GCCNEWLIBVERS).spec \
77    i386-rtems-$(GCCNEWLIBVERS).spec i960-rtems-$(GCCNEWLIBVERS).spec \
78    m68k-rtems-$(GCCNEWLIBVERS).spec  \
79    mips-rtems-$(GCCNEWLIBVERS).spec mips64orion-rtems-$(GCCNEWLIBVERS).spec \
80    powerpc-rtems-$(GCCNEWLIBVERS).spec sh-rtems-$(GCCNEWLIBVERS).spec \
81    sh-rtemself-$(GCCNEWLIBVERS).spec sparc-rtems-$(GCCNEWLIBVERS).spec
82CLEANFILES += $(RPM_SPECS_DATA)
83
84EXTRA_DIST = $(SUBPACKAGES)
85
86include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.