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