source: rtems/contrib/crossrpms/freebsd6.0/i586/Makefile.am @ e0d85b74

4.104.114.84.95
Last change on this file since e0d85b74 was e0d85b74, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/24/07 at 14:26:46

Move %{?dist} into BINUTILS_RPMREL.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1# $Id$
2
3TARGET = i586-pc-freebsd6.0
4
5include $(top_srcdir)/mkspec.am
6
7FREEBSD_VERS = 6.0
8FREEBSD_RPMREL = @VERSION@
9EXTRA_DIST += libs.add
10EXTRA_DIST += target-libs.add
11
12LIBS_SUBPACKAGES = $(top_srcdir)/common/common.add
13LIBS_SUBPACKAGES += $(srcdir)/libs.add
14LIBS_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
15LIBS_SUBPACKAGES += $(top_srcdir)/common/clean.add
16LIBS_SUBPACKAGES += $(srcdir)/target-libs.add
17
18$(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES) Makefile.am
19        cat $(LIBS_SUBPACKAGES) | sed \
20          -e "s/[@]FREEBSD_VERS[@]/$(FREEBSD_VERS)/g" \
21          -e "s/[@]FREEBSD_RPMREL[@]/$(FREEBSD_RPMREL)/g" \
22          -e "s,%{gcc_rpmvers},%{freebsd_rpmvers},g" \
23        > $(TARGET)-libs.spec.in
24CLEANFILES += $(TARGET)-libs.spec.in
25                             
26@rpmprefix@$(TARGET)-libs.spec: $(TARGET)-libs.spec.in
27        $(MKSPEC) $(TARGET)-libs.spec.in | $(SPECSTRIP) > $@
28CLEANFILES += @rpmprefix@$(TARGET)-libs.spec
29noinst_DATA += @rpmprefix@$(TARGET)-libs.spec
30
31BINUTILS_VERS = 2.17
32BINUTILS_PKGVERS = $(BINUTILS_VERS)
33BINUTILS_RPMREL = @VERSION@%{?dist}
34include ../binutils.am
35BINUTILS_OPTS +=
36
37GCC_VERS = 4.1.2
38GCC_PKGVERS = $(GCC_VERS)
39GCC_RPMREL = @VERSION@%{?dist}
40include ../gcc.am
41GCC_OPTS += --languages=c,cxx,f95,objc
Note: See TracBrowser for help on using the repository browser.