source: rtems/contrib/crossrpms/rtems4.9/cpukit.am @ df16b8bf

4.104.114.9
Last change on this file since df16b8bf was ed73806b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 28, 2007 at 7:24:56 AM

copy from rtems-4.8 to rtems-4.9.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1EXTRA_DIST += $(srcdir)/../rtems-prep.add
2EXTRA_DIST += $(srcdir)/rtems-sources.add
3
4CPUKIT_OPTS =
5
6CPUKIT_SUBPACKAGES = $(top_srcdir)/common/common.add
7CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/cpukit.add
8CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/prep.add
9CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/build.add
10CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/install.add
11CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/rpm-install.add
12CPUKIT_SUBPACKAGES += $(top_srcdir)/common/clean.add
13CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/target-cpukit.add
14
15$(TARGET)-cpukit.spec.in: $(CPUKIT_SUBPACKAGES) Makefile.am $(srcdir)/cpukit-sources.add $(srcdir)/../cpukit-prep.add
16        cat $(CPUKIT_SUBPACKAGES) | sed \
17          -e "/[@]SOURCES[@]/r $(srcdir)/cpukit-sources.add" \
18          -e "/[@]SOURCES[@]/d" \
19          -e "/[@]PREP[@]/r $(srcdir)/../cpukit-prep.add" \
20          -e "/[@]PREP[@]/d" \
21          -e "s/[@]CPUKIT_VERS[@]/$(CPUKIT_VERS)/g" \
22          -e "s/[@]CPUKIT_PKGVERS[@]/$(CPUKIT_PKGVERS)/g" \
23          -e "s/[@]CPUKIT_RPMREL[@]/$(CPUKIT_RPMREL)/g" \
24          -e "/--with-sysroot/d" \
25          -e "/[@]tool_target[@]-sys-root/d" \
26          -e "/[@]tool_target[@]-w32api-sys-root/d" \
27          | $(MKSPEC0) > $(TARGET)-cpukit.spec.in
28CLEANFILES += $(TARGET)-cpukit.spec.in
29
30@rpmprefix@$(TARGET)-cpukit.spec: $(TARGET)-cpukit.spec.in
31        $(MKSPEC) $(TARGET)-cpukit.spec.in | $(SPECSTRIP) $(CPUKIT_OPTS) > $@
32CLEANFILES += @rpmprefix@$(TARGET)-cpukit.spec
33noinst_DATA += @rpmprefix@$(TARGET)-cpukit.spec
34
35EXTRA_DIST += $(CPUKIT_SUBPACKAGES)
Note: See TracBrowser for help on using the repository browser.