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

4.104.114.84.95
Last change on this file since d7c8239 was d7c8239, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:54:33 AM

2002-03-27 Ralf Corsepius <corsepiu@…>

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