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 | arm-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
23 | $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@ |
---|
24 | |
---|
25 | c4x-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
26 | $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@ |
---|
27 | |
---|
28 | h8300-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
29 | $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@ |
---|
30 | |
---|
31 | hppa1.1-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
32 | $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@ |
---|
33 | |
---|
34 | i386-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
35 | $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@ |
---|
36 | |
---|
37 | i386-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
38 | $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-RTEMS > $@ |
---|
39 | |
---|
40 | i960-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
41 | $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@ |
---|
42 | |
---|
43 | m68k-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
44 | $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@ |
---|
45 | |
---|
46 | mips64orion-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
47 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@ |
---|
48 | |
---|
49 | mips-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
50 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@ |
---|
51 | |
---|
52 | mipstx39-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
53 | $(MKSPEC) -cfg $(top_builddir)/setup.cache mipstx39-rtems > $@ |
---|
54 | |
---|
55 | powerpc-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
56 | $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-RTEMS > $@ |
---|
57 | |
---|
58 | powerpc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
59 | $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@ |
---|
60 | |
---|
61 | sh-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
62 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@ |
---|
63 | |
---|
64 | sh-rtemself-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
65 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@ |
---|
66 | |
---|
67 | sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) |
---|
68 | $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@ |
---|
69 | |
---|
70 | RPM_SPECS_DATA = \ |
---|
71 | arm-rtems-$(GDBVERS).spec c4x-rtems-$(GDBVERS).spec \ |
---|
72 | h8300-rtems-$(GDBVERS).spec hppa1.1-rtems-$(GDBVERS).spec \ |
---|
73 | i386-rtems-$(GDBVERS).spec i960-rtems-$(GDBVERS).spec \ |
---|
74 | m68k-rtems-$(GDBVERS).spec mips-rtems-$(GDBVERS).spec \ |
---|
75 | mipstx39-rtems-$(GDBVERS).spec mips64orion-rtems-$(GDBVERS).spec \ |
---|
76 | powerpc-rtems-$(GDBVERS).spec sh-rtems-$(GDBVERS).spec \ |
---|
77 | sh-rtemself-$(GDBVERS).spec sparc-rtems-$(GDBVERS).spec \ |
---|
78 | i386-RTEMS-$(GDBVERS).spec powerpc-RTEMS-$(GDBVERS).spec |
---|
79 | |
---|
80 | CLEANFILES += $(RPM_SPECS_DATA) |
---|
81 | |
---|
82 | EXTRA_DIST = $(SUBPACKAGES) |
---|
83 | |
---|
84 | include $(top_srcdir)/../automake/local.am |
---|