source: rtems/contrib/crossrpms/freebsd5.2/binutils.am @ a8149e7

4.104.114.84.95
Last change on this file since a8149e7 was f7712468, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 26, 2007 at 9:26:59 AM

Add BINUTILS_PKGVERS.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1EXTRA_DIST += binutils-sources.add
2
3BINUTILS_OPTS =
4
5BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add
6BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/binutils.add
7BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/prep.add
8BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/build.add
9BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/install.add
10BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
11BINUTILS_SUBPACKAGES += $(top_srcdir)/common/clean.add
12BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/target-binutils.add
13BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/base-binutils.add
14
15$(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am $(srcdir)/binutils-sources.add
16        cat $(BINUTILS_SUBPACKAGES) | sed \
17          -e "/[@]SOURCES[@]/r $(srcdir)/binutils-sources.add" \
18          -e "/[@]SOURCES[@]/d" \
19          -e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
20          -e "s/[@]BINUTILS_PKGVERS[@]/$(BINUTILS_PKGVERS)/g" \
21          -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
22          > $(TARGET)-binutils.spec.in
23CLEANFILES += $(TARGET)-binutils.spec.in
24
25@rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
26        $(MKSPEC) $(TARGET)-binutils.spec.in | $(SPECSTRIP) $(BINUTILS_OPTS) > $@
27CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec
28noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec
29
30EXTRA_DIST += $(BINUTILS_SUBPACKAGES)
Note: See TracBrowser for help on using the repository browser.