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