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