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