source: rtems/contrib/crossrpms/mingw32/i686/Makefile.am @ 62a7c6b

4.104.114.84.95
Last change on this file since 62a7c6b was 62a7c6b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 23, 2007 at 6:18:53 AM

Set MINGW32_RPMREL = 1

  • Property mode set to 100644
File size: 2.0 KB
Line 
1# $Id$
2
3TARGET = i686-pc-mingw32
4
5include $(top_srcdir)/mkspec.am
6
7MINGW32_VERS = 3.11
8MINGW32_RPMREL = 1
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/[@]MINGW32_VERS[@]/$(MINGW32_VERS)/g" \
21          -e "s/[@]MINGW32_RPMREL[@]/$(MINGW32_RPMREL)/g" \
22          -e "s,%{gcc_rpmvers},%{mingw32_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
31W32API_VERS = 3.8
32W32API_RPMREL = @VERSION@
33EXTRA_DIST += target-w32api.add
34EXTRA_DIST += w32api.add
35
36W32API_SUBPACKAGES = $(top_srcdir)/common/common.add
37W32API_SUBPACKAGES += $(srcdir)/w32api.add
38W32API_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
39W32API_SUBPACKAGES += $(top_srcdir)/common/clean.add
40W32API_SUBPACKAGES += $(srcdir)/target-w32api.add
41
42$(TARGET)-w32api.spec.in: $(W32API_SUBPACKAGES) Makefile.am
43        cat $(W32API_SUBPACKAGES) | sed \
44          -e "s/[@]W32API_VERS[@]/$(W32API_VERS)/g" \
45          -e "s/[@]W32API_RPMREL[@]/$(W32API_RPMREL)/g" \
46          -e "s,%{gcc_rpmvers},%{w32api_rpmvers},g" \
47        > $(TARGET)-w32api.spec.in
48CLEANFILES += $(TARGET)-w32api.spec.in
49                             
50@rpmprefix@$(TARGET)-w32api.spec: $(TARGET)-w32api.spec.in
51        $(MKSPEC) $(TARGET)-w32api.spec.in | $(SPECSTRIP) > $@
52CLEANFILES += @rpmprefix@$(TARGET)-w32api.spec
53noinst_DATA += @rpmprefix@$(TARGET)-w32api.spec
54
55
56BINUTILS_VERS = 2.16.91-20060119-1
57BINUTILS_RPMREL = @VERSION@
58include ../binutils.am
59BINUTILS_OPTS += --disable-infos
60
61
62GCC_VERS = 4.1.0
63GCC_PKGVERS = $(GCC_VERS)
64GCC_RPMREL = @VERSION@
65include ../gcc.am
66GCC_OPTS += --languages=c
Note: See TracBrowser for help on using the repository browser.