1 |
1026 |
ivang |
##
|
2 |
|
|
## Makefile.am,v 1.2 2002/05/15 16:37:30 joel Exp
|
3 |
|
|
##
|
4 |
|
|
|
5 |
|
|
MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgcc3newlibspec
|
6 |
|
|
|
7 |
|
|
SUBPACKAGES = gccnewlib.add \
|
8 |
|
|
base-gcc.add target-gcc.add \
|
9 |
|
|
base-g77.add target-g77.add \
|
10 |
|
|
base-gcj.add target-gcj.add \
|
11 |
|
|
target-objc.add \
|
12 |
|
|
target-c++.add
|
13 |
|
|
|
14 |
|
|
gccnewlib.spec.in: $(SUBPACKAGES)
|
15 |
|
|
cat $^ \
|
16 |
|
|
| sed -e 's%@GCCLANGS@%%g' > $@
|
17 |
|
|
CLEANFILES = gccnewlib.spec.in
|
18 |
|
|
|
19 |
|
|
gccnewlib_c_only.spec.in: gccnewlib.add base-gcc.add target-gcc.add \
|
20 |
|
|
target-c++.add
|
21 |
|
|
cat $^ \
|
22 |
|
|
| sed -e "s%@GCCLANGS@%\'--enable-languages=c,c++\'%g" > $@
|
23 |
|
|
CLEANFILES += gccnewlib_c_only.spec.in
|
24 |
|
|
|
25 |
|
|
C_ONLY_ARG = -a $(top_builddir)/gcc3newlib/gccnewlib_c_only.spec.in
|
26 |
|
|
|
27 |
|
|
MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgcc3newlibspec gccnewlib.spec.in \
|
28 |
|
|
$(top_builddir)/setup.cache
|
29 |
|
|
MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgcc3newlibspec \
|
30 |
|
|
gccnewlib_c_only.spec.in $(top_builddir)/setup.cache
|
31 |
|
|
|
32 |
|
|
arm-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
33 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . arm-rtems
|
34 |
|
|
|
35 |
|
|
c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
|
36 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . c4x-rtems
|
37 |
|
|
|
38 |
|
|
h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
|
39 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . h8300-rtems
|
40 |
|
|
|
41 |
|
|
hppa1.1-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
42 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
|
43 |
|
|
|
44 |
|
|
i386-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
45 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i386-rtems
|
46 |
|
|
|
47 |
|
|
i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
|
48 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems
|
49 |
|
|
|
50 |
|
|
m68k-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
51 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
|
52 |
|
|
|
53 |
|
|
mips64orion-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
54 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
|
55 |
|
|
|
56 |
|
|
mips-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
57 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . mips-rtems
|
58 |
|
|
|
59 |
|
|
powerpc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
60 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
|
61 |
|
|
|
62 |
|
|
sh-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
63 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . sh-rtems
|
64 |
|
|
|
65 |
|
|
sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
66 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
|
67 |
|
|
|
68 |
|
|
sparc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
69 |
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
|
70 |
|
|
|
71 |
|
|
RPM_SPECS_DATA = \
|
72 |
|
|
arm-rtems-$(GCC3NEWLIBVERS).spec \
|
73 |
|
|
c4x-rtems-$(GCC3NEWLIBVERS).spec \
|
74 |
|
|
h8300-rtems-$(GCC3NEWLIBVERS).spec \
|
75 |
|
|
hppa1.1-rtems-$(GCC3NEWLIBVERS).spec \
|
76 |
|
|
i386-rtems-$(GCC3NEWLIBVERS).spec i960-rtems-$(GCC3NEWLIBVERS).spec \
|
77 |
|
|
m68k-rtems-$(GCC3NEWLIBVERS).spec \
|
78 |
|
|
mips-rtems-$(GCC3NEWLIBVERS).spec mips64orion-rtems-$(GCC3NEWLIBVERS).spec \
|
79 |
|
|
powerpc-rtems-$(GCC3NEWLIBVERS).spec sh-rtems-$(GCC3NEWLIBVERS).spec \
|
80 |
|
|
sh-rtemself-$(GCC3NEWLIBVERS).spec sparc-rtems-$(GCC3NEWLIBVERS).spec
|
81 |
|
|
CLEANFILES += $(RPM_SPECS_DATA)
|
82 |
|
|
|
83 |
|
|
EXTRA_DIST = $(SUBPACKAGES)
|
84 |
|
|
|
85 |
|
|
include $(top_srcdir)/../automake/local.am
|