[620c972] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
[087a6c86] | 5 | include $(top_srcdir)/common/common.am |
---|
[620c972] | 6 | |
---|
| 7 | MKSPEC = $(SHELL) ./mkspec |
---|
| 8 | |
---|
[ab591073] | 9 | SUBPACKAGES = header.add |
---|
| 10 | SUBPACKAGES += $(top_builddir)/common/common.add |
---|
| 11 | SUBPACKAGES += rtems-cpukit.add |
---|
| 12 | SUBPACKAGES += $(top_builddir)/common/clean.add |
---|
| 13 | |
---|
[620c972] | 14 | MKSPEC_DEPS = mkspec rtems-cpukit.spec.in \ |
---|
| 15 | $(top_builddir)/setup.cache |
---|
| 16 | |
---|
[ab591073] | 17 | rtems-cpukit.spec.in: $(SUBPACKAGES) |
---|
| 18 | cat $^ > $@ |
---|
| 19 | CLEANFILES = rtems-cpukit.spec.in |
---|
| 20 | |
---|
[620c972] | 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 | h8300-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 26 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . h8300-rtems > $@ |
---|
| 27 | RPM_SPECS_DATA += h8300-rtems-cpukit.spec |
---|
| 28 | |
---|
| 29 | i386-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 30 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems > $@ |
---|
| 31 | RPM_SPECS_DATA += i386-rtems-cpukit.spec |
---|
| 32 | |
---|
| 33 | i960-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 34 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems > $@ |
---|
| 35 | RPM_SPECS_DATA += i960-rtems-cpukit.spec |
---|
| 36 | |
---|
| 37 | m68k-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 38 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems > $@ |
---|
| 39 | RPM_SPECS_DATA += m68k-rtems-cpukit.spec |
---|
| 40 | |
---|
| 41 | mips64orion-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 42 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems > $@ |
---|
| 43 | RPM_SPECS_DATA += mips64orion-rtems-cpukit.spec |
---|
| 44 | |
---|
| 45 | mips-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 46 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems > $@ |
---|
| 47 | RPM_SPECS_DATA += mips-rtems-cpukit.spec |
---|
| 48 | |
---|
| 49 | powerpc-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 50 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems > $@ |
---|
| 51 | RPM_SPECS_DATA += powerpc-rtems-cpukit.spec |
---|
| 52 | |
---|
| 53 | sh-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 54 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems > $@ |
---|
| 55 | RPM_SPECS_DATA += sh-rtems-cpukit.spec |
---|
| 56 | |
---|
| 57 | sh-rtemself-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 58 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself > $@ |
---|
| 59 | RPM_SPECS_DATA += sh-rtemself-cpukit.spec |
---|
| 60 | |
---|
| 61 | sparc-rtems-cpukit.spec: $(MKSPEC_DEPS) |
---|
| 62 | $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems > $@ |
---|
| 63 | RPM_SPECS_DATA += sparc-rtems-cpukit.spec |
---|
| 64 | |
---|
[ab591073] | 65 | EXTRA_DIST = $(SUBPACKAGES) |
---|
[620c972] | 66 | |
---|
[ab591073] | 67 | CLEANFILES += $(RPM_SPECS_DATA) |
---|
[620c972] | 68 | |
---|
| 69 | include $(top_srcdir)/../automake/local.am |
---|