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