1 |
30 |
unneback |
##
|
2 |
|
|
## $Id: Makefile.am,v 1.2 2001-09-27 12:02:52 chris Exp $
|
3 |
|
|
##
|
4 |
|
|
|
5 |
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
6 |
|
|
|
7 |
|
|
MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgccnewlibspec
|
8 |
|
|
|
9 |
|
|
SUBPACKAGES = 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 |
|
|
|
16 |
|
|
gccnewlib.spec.in: $(SUBPACKAGES)
|
17 |
|
|
cat $^ \
|
18 |
|
|
| sed -e 's%@GCCLANGS@%%g' > $@
|
19 |
|
|
CLEANFILES += gccnewlib.spec.in
|
20 |
|
|
|
21 |
|
|
gccnewlib_c_only.spec.in: gccnewlib.add base-gcc.add target-gcc.add
|
22 |
|
|
cat $^ \
|
23 |
|
|
| sed -e "s%@GCCLANGS@%\'--enable-languages=c,c++\'%g" > $@
|
24 |
|
|
CLEANFILES += gccnewlib_c_only.spec.in
|
25 |
|
|
|
26 |
|
|
C_ONLY_ARG = -a $(top_builddir)/gccnewlib/gccnewlib_c_only.spec.in
|
27 |
|
|
|
28 |
|
|
MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgccnewlibspec gccnewlib.spec.in \
|
29 |
|
|
$(top_builddir)/setup.cache
|
30 |
|
|
MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgccnewlibspec \
|
31 |
|
|
gccnewlib_c_only.spec.in $(top_builddir)/setup.cache
|
32 |
|
|
|
33 |
|
|
hppa1.1-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
34 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
|
35 |
|
|
|
36 |
|
|
i386-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
37 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
|
38 |
|
|
|
39 |
|
|
i960-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
|
40 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems
|
41 |
|
|
|
42 |
|
|
m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
43 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
|
44 |
|
|
|
45 |
|
|
m68k-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
46 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtemself
|
47 |
|
|
|
48 |
|
|
mips64orion-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
49 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
|
50 |
|
|
|
51 |
|
|
powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
52 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
|
53 |
|
|
|
54 |
|
|
sh-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
55 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
|
56 |
|
|
|
57 |
|
|
sh-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
58 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
|
59 |
|
|
|
60 |
|
|
sparc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
61 |
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
|
62 |
|
|
|
63 |
|
|
RPM_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
|
69 |
|
|
CLEANFILES += $(RPM_SPECS_DATA)
|
70 |
|
|
|
71 |
|
|
EXTRA_DIST = $(SUBPACKAGES)
|
72 |
|
|
|
73 |
|
|
include $(top_srcdir)/../automake/local.am
|