1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/common/common.am |
---|
6 | |
---|
7 | MKBINUTILSSPEC = $(SHELL) ./mkspec |
---|
8 | |
---|
9 | SUBPACKAGES = header.add |
---|
10 | SUBPACKAGES += $(top_builddir)/common/common.add binutils.add |
---|
11 | SUBPACKAGES += $(top_builddir)/common/clean.add |
---|
12 | SUBPACKAGES += base-binutils.add target-binutils.add |
---|
13 | |
---|
14 | binutils.spec.in: $(SUBPACKAGES) |
---|
15 | cat $^ > $@ |
---|
16 | CLEANFILES = binutils.spec.in |
---|
17 | |
---|
18 | MKBINUTILSSPEC_DEPS = mkspec binutils.spec.in \ |
---|
19 | $(top_builddir)/setup.cache |
---|
20 | |
---|
21 | arm-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
22 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@ |
---|
23 | |
---|
24 | c4x-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
25 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@ |
---|
26 | |
---|
27 | h8300-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
28 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@ |
---|
29 | |
---|
30 | hppa1.1-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
31 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@ |
---|
32 | |
---|
33 | i386-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
34 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@ |
---|
35 | |
---|
36 | i960-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
37 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@ |
---|
38 | |
---|
39 | m68k-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
40 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@ |
---|
41 | |
---|
42 | mips64orion-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
43 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@ |
---|
44 | mips-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
45 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@ |
---|
46 | |
---|
47 | or32-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
48 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache or32-rtems > $@ |
---|
49 | |
---|
50 | powerpc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
51 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@ |
---|
52 | |
---|
53 | sh-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
54 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@ |
---|
55 | |
---|
56 | sh-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
57 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@ |
---|
58 | |
---|
59 | sparc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS) |
---|
60 | $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@ |
---|
61 | |
---|
62 | RPM_SPECS_DATA = \ |
---|
63 | arm-rtems-$(BINUTILSVERS).spec \ |
---|
64 | c4x-rtems-$(BINUTILSVERS).spec h8300-rtems-$(BINUTILSVERS).spec \ |
---|
65 | hppa1.1-rtems-$(BINUTILSVERS).spec \ |
---|
66 | i386-rtems-$(BINUTILSVERS).spec i960-rtems-$(BINUTILSVERS).spec \ |
---|
67 | m68k-rtems-$(BINUTILSVERS).spec \ |
---|
68 | mips-rtems-$(BINUTILSVERS).spec mips64orion-rtems-$(BINUTILSVERS).spec \ |
---|
69 | or32-rtems-$(BINUTILSVERS).spec \ |
---|
70 | powerpc-rtems-$(BINUTILSVERS).spec sh-rtems-$(BINUTILSVERS).spec \ |
---|
71 | sh-rtemself-$(BINUTILSVERS).spec sparc-rtems-$(BINUTILSVERS).spec |
---|
72 | CLEANFILES += $(RPM_SPECS_DATA) |
---|
73 | |
---|
74 | EXTRA_DIST = $(SUBPACKAGES) |
---|
75 | |
---|
76 | include $(top_srcdir)/../automake/local.am |
---|