source: rtems/scripts/gccnewlib/Makefile.am @ 4e445522

4.104.114.84.95
Last change on this file since 4e445522 was 4e445522, checked in by Joel Sherrill <joel.sherrill@…>, on 01/28/04 at 21:45:51

2004-01-28 RTEMS

  • buildall.in, buildalltar.in, binutils/Makefile.am, cpukit/Makefile.am, gcc3newlib/Makefile.am, gccnewlib/Makefile.am, gdb/Makefile.am: Attempt to convert all c4x-rtems references to tic4x-rtems. Left the rtems documentation alone.
  • Property mode set to 100644
File size: 2.8 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/common/common.am
6
7MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgccnewlibspec
8
9SUBPACKAGES = header.add
10SUBPACKAGES += ../common/common.add
11SUBPACKAGES += gccnewlib.add
12SUBPACKAGES += ../common/clean.add
13SUBPACKAGES += base-gcc.add target-gcc.add base-chill.add target-chill.add \
14    base-g77.add target-g77.add base-gcj.add target-gcj.add 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: header.add ../common/common.add \
22   gccnewlib.add ../common/clean.add base-gcc.add target-gcc.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)/gccnewlib/gccnewlib_c_only.spec.in
28
29MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgccnewlibspec gccnewlib.spec.in \
30    $(top_builddir)/setup.cache
31MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgccnewlibspec \
32    gccnewlib_c_only.spec.in $(top_builddir)/setup.cache
33
34arm-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
35        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . arm-rtems
36
37h8300-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
38        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . h8300-rtems
39
40i386-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
41        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
42
43i960-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
44        $(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems
45
46m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
47        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
48
49mips-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
50        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems
51
52powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
53        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
54
55sh-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
56        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
57
58sh-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
59        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
60
61sparc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
62        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
63
64RPM_SPECS_DATA = \
65    arm-rtems-$(GCCNEWLIBVERS).spec h8300-rtems-$(GCCNEWLIBVERS).spec \
66    i386-rtems-$(GCCNEWLIBVERS).spec i960-rtems-$(GCCNEWLIBVERS).spec \
67    m68k-rtems-$(GCCNEWLIBVERS).spec mips-rtems-$(GCCNEWLIBVERS).spec \
68    powerpc-rtems-$(GCCNEWLIBVERS).spec sh-rtems-$(GCCNEWLIBVERS).spec \
69    sh-rtemself-$(GCCNEWLIBVERS).spec sparc-rtems-$(GCCNEWLIBVERS).spec
70CLEANFILES += $(RPM_SPECS_DATA)
71
72EXTRA_DIST = $(SUBPACKAGES)
73
74include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.