1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | MKSPEC = $(SHELL) ./mkspec |
---|
6 | |
---|
7 | SUBPACKAGES = header.add |
---|
8 | SUBPACKAGES += $(top_builddir)/common/common.add |
---|
9 | SUBPACKAGES += gdb.add |
---|
10 | SUBPACKAGES += $(top_builddir)/common/clean.add |
---|
11 | SUBPACKAGES += base-gdb.add target-gdb.add |
---|
12 | |
---|
13 | noinst_DATA = gdb.spec.in |
---|
14 | |
---|
15 | gdb.spec.in: $(SUBPACKAGES) |
---|
16 | cat $^ > $@ |
---|
17 | CLEANFILES = gdb.spec.in |
---|
18 | |
---|
19 | MKGDBSPEC_DEPS = mkspec gdb.spec.in \ |
---|
20 | $(top_builddir)/setup.cache |
---|
21 | |
---|
22 | RPM_SPECS_DATA = |
---|
23 | |
---|
24 | arm-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
25 | $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@ |
---|
26 | RPM_SPECS_DATA += arm-rtems-$(GDBVERS).spec |
---|
27 | |
---|
28 | # does not build with 5.2 |
---|
29 | # c4x-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
30 | # $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@ |
---|
31 | # RPM_SPECS_DATA += c4x-rtems-$(GDBVERS).spec |
---|
32 | |
---|
33 | h8300-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
34 | $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@ |
---|
35 | RPM_SPECS_DATA += h8300-rtems-$(GDBVERS).spec |
---|
36 | |
---|
37 | # does not build with 5.2 |
---|
38 | # hppa1.1-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
39 | # $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@ |
---|
40 | # RPM_SPECS_DATA += hppa1.1-rtems-$(GDBVERS).spec |
---|
41 | |
---|
42 | RPM_SPECS_DATA += i386-rtems-$(GDBVERS).spec |
---|
43 | i386-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
44 | $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@ |
---|
45 | |
---|
46 | # does not build with 5.2 |
---|
47 | # i386-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
48 | # $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-RTEMS > $@ |
---|
49 | # RPM_SPECS_DATA += i386-RTEMS-$(GDBVERS).spec |
---|
50 | |
---|
51 | i960-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
52 | $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@ |
---|
53 | RPM_SPECS_DATA += i960-rtems-$(GDBVERS).spec |
---|
54 | |
---|
55 | m68k-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
56 | $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@ |
---|
57 | RPM_SPECS_DATA += m68k-rtems-$(GDBVERS).spec |
---|
58 | |
---|
59 | mips64orion-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
60 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@ |
---|
61 | RPM_SPECS_DATA += mips64orion-rtems-$(GDBVERS).spec |
---|
62 | |
---|
63 | mips-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
64 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@ |
---|
65 | RPM_SPECS_DATA += mips-rtems-$(GDBVERS).spec |
---|
66 | |
---|
67 | mipstx39-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
68 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mipstx39-rtems > $@ |
---|
69 | RPM_SPECS_DATA += mipstx39-rtems-$(GDBVERS).spec |
---|
70 | |
---|
71 | # does not build with 5.2 |
---|
72 | # powerpc-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
73 | # $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-RTEMS > $@ |
---|
74 | # RPM_SPECS_DATA += powerpc-RTEMS-$(GDBVERS).spec |
---|
75 | |
---|
76 | powerpc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
77 | $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@ |
---|
78 | RPM_SPECS_DATA += powerpc-rtems-$(GDBVERS).spec |
---|
79 | |
---|
80 | sh-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
81 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@ |
---|
82 | RPM_SPECS_DATA += sh-rtems-$(GDBVERS).spec |
---|
83 | |
---|
84 | sh-rtemself-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
85 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@ |
---|
86 | RPM_SPECS_DATA += sh-rtemself-$(GDBVERS).spec |
---|
87 | |
---|
88 | sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
89 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@ |
---|
90 | RPM_SPECS_DATA += sparc-rtems-$(GDBVERS).spec |
---|
91 | |
---|
92 | CLEANFILES += $(RPM_SPECS_DATA) |
---|
93 | |
---|
94 | EXTRA_DIST = $(SUBPACKAGES) |
---|
95 | |
---|
96 | include $(top_srcdir)/../automake/local.am |
---|