source: rtems/scripts/gccnewlib/Makefile.am @ 59292fe9

4.104.114.84.95
Last change on this file since 59292fe9 was 59292fe9, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 31, 2003 at 6:22:09 AM

2003-01-31 Ralf Corsepius <corsepiu@…>

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