1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/common/common.am |
---|
6 | |
---|
7 | SUBPACKAGES = header.add |
---|
8 | SUBPACKAGES += $(top_builddir)/common/common.add |
---|
9 | SUBPACKAGES += rtems.add |
---|
10 | SUBPACKAGES += $(top_builddir)/common/clean.add |
---|
11 | SUBPACKAGES += target-rtems.add |
---|
12 | |
---|
13 | noinst_DATA = rtems.spec.in |
---|
14 | |
---|
15 | rtems.spec.in: $(SUBPACKAGES) |
---|
16 | cat $^ > $@ |
---|
17 | CLEANFILES = rtems.spec.in |
---|
18 | RPM_SPECS_DATA = |
---|
19 | |
---|
20 | MKBSPSPEC = $(SHELL) ./mkspec |
---|
21 | |
---|
22 | MKBSPSPEC_DEPS = $(top_builddir)/mkspec rtems.spec.in \ |
---|
23 | $(top_builddir)/setup.cache |
---|
24 | |
---|
25 | i386-rtems-pc386-$(BSPVERS).spec: $(MKBSPSPEC_DEPS) |
---|
26 | $(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems pc386 |
---|
27 | RPM_SPECS_DATA += i386-rtems-pc386-$(BSPVERS).spec |
---|
28 | |
---|
29 | m68k-rtems-gen68360-$(BSPVERS).spec: $(MKBSPSPEC_DEPS) |
---|
30 | $(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems gen68360 |
---|
31 | RPM_SPECS_DATA += i386-rtems-gen68360-$(BSPVERS).spec |
---|
32 | |
---|
33 | powerpc-rtems-mcp750-$(BSPVERS).spec: $(MKBSPSPEC_DEPS) |
---|
34 | $(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems mcp750 |
---|
35 | RPM_SPECS_DATA += powerpc-rtems-mcp750-$(BSPVERS).spec |
---|
36 | |
---|
37 | sh-rtems-gensh1-$(BSPVERS).spec: $(MKBSPSPEC_DEPS) |
---|
38 | $(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems gensh1 |
---|
39 | RPM_SPECS_DATA += sh-rtems-gensh1-$(BSPVERS).spec |
---|
40 | |
---|
41 | sparc-rtems-erc32-$(BSPVERS).spec: $(MKBSPSPEC_DEPS) |
---|
42 | $(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems erc32 |
---|
43 | RPM_SPECS_DATA += sparc-rtems-erc32-$(BSPVERS).spec |
---|
44 | |
---|
45 | CLEANFILES += $(RPM_SPECS_DATA) |
---|
46 | |
---|
47 | include $(top_srcdir)/../automake/local.am |
---|