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 += rtems-cpukit.add |
---|
12 | SUBPACKAGES += $(top_builddir)/common/clean.add |
---|
13 | SUBPACKAGES += target-cpukit.add |
---|
14 | |
---|
15 | MKSPEC_DEPS = mkspec rtems-cpukit.spec.in \ |
---|
16 | $(top_builddir)/setup.cache |
---|
17 | |
---|
18 | rtems-cpukit.spec.in: $(SUBPACKAGES) |
---|
19 | cat $^ > $@ |
---|
20 | CLEANFILES = rtems-cpukit.spec.in |
---|
21 | |
---|
22 | c4x-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
23 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . c4x-rtems@osversion@ > $@ |
---|
24 | RPM_SPECS_DATA = c4x-rtems@osversion@-cpukit.spec |
---|
25 | |
---|
26 | h8300-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
27 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . h8300-rtems@osversion@ > $@ |
---|
28 | RPM_SPECS_DATA += h8300-rtems@osversion@-cpukit.spec |
---|
29 | |
---|
30 | i386-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
31 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems@osversion@ > $@ |
---|
32 | RPM_SPECS_DATA += i386-rtems@osversion@-cpukit.spec |
---|
33 | |
---|
34 | i960-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
35 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems@osversion@ > $@ |
---|
36 | RPM_SPECS_DATA += i960-rtems@osversion@-cpukit.spec |
---|
37 | |
---|
38 | m68k-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
39 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems@osversion@ > $@ |
---|
40 | RPM_SPECS_DATA += m68k-rtems@osversion@-cpukit.spec |
---|
41 | |
---|
42 | mips64orion-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
43 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems@osversion@ > $@ |
---|
44 | RPM_SPECS_DATA += mips64orion-rtems@osversion@-cpukit.spec |
---|
45 | |
---|
46 | mips-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
47 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems@osversion@ > $@ |
---|
48 | RPM_SPECS_DATA += mips-rtems@osversion@-cpukit.spec |
---|
49 | |
---|
50 | powerpc-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
51 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems@osversion@ > $@ |
---|
52 | RPM_SPECS_DATA += powerpc-rtems@osversion@-cpukit.spec |
---|
53 | |
---|
54 | sh-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
55 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems@osversion@ > $@ |
---|
56 | RPM_SPECS_DATA += sh-rtems@osversion@-cpukit.spec |
---|
57 | |
---|
58 | sh-rtemself@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
59 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself@osversion@ > $@ |
---|
60 | RPM_SPECS_DATA += sh-rtemself@osversion@-cpukit.spec |
---|
61 | |
---|
62 | sparc-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS) |
---|
63 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems@osversion@ > $@ |
---|
64 | RPM_SPECS_DATA += sparc-rtems@osversion@-cpukit.spec |
---|
65 | |
---|
66 | EXTRA_DIST = $(SUBPACKAGES) |
---|
67 | |
---|
68 | CLEANFILES += $(RPM_SPECS_DATA) |
---|
69 | |
---|
70 | include $(top_srcdir)/../automake/local.am |
---|