source: rtems/contrib/crossrpms/cygwin/i686/Makefile.am @ d942dc2

4.104.114.84.95
Last change on this file since d942dc2 was d942dc2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/23/07 at 09:44:40

Various updates.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1# $Id$
2
3TARGET = i686-pc-cygwin
4
5include $(top_srcdir)/mkspec.am
6
7CYGWIN_VERS = 1.5.24-2
8CYGWIN_RPMREL = 0.20070723.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/[@]CYGWIN_VERS[@]/$(CYGWIN_VERS)/g" \
21          -e "s/[@]CYGWIN_RPMREL[@]/$(CYGWIN_RPMREL)/g" \
22          -e "s,%{gcc_rpmvers},%{cygwin_rpmvers},g" \
23        | $(MKSPEC0) > $(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
31
32W32API_VERS = 3.8-1
33W32API_RPMREL = 0.20070723.1
34EXTRA_DIST += target-w32api.add
35EXTRA_DIST += w32api.add
36
37W32API_SUBPACKAGES = $(top_srcdir)/common/common.add
38W32API_SUBPACKAGES += $(srcdir)/w32api.add
39W32API_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
40W32API_SUBPACKAGES += $(top_srcdir)/common/clean.add
41W32API_SUBPACKAGES += $(srcdir)/target-w32api.add
42
43$(TARGET)-w32api.spec.in: $(W32API_SUBPACKAGES) Makefile.am
44        cat $(W32API_SUBPACKAGES) | sed \
45          -e "s/[@]W32API_VERS[@]/$(W32API_VERS)/g" \
46          -e "s/[@]W32API_RPMREL[@]/$(W32API_RPMREL)/g" \
47          -e "s,%{gcc_rpmvers},%{w32api_rpmvers},g" \
48        | $(MKSPEC0) > $(TARGET)-w32api.spec.in
49CLEANFILES += $(TARGET)-w32api.spec.in
50                             
51@rpmprefix@$(TARGET)-w32api.spec: $(TARGET)-w32api.spec.in
52        $(MKSPEC) $(TARGET)-w32api.spec.in | $(SPECSTRIP) > $@
53CLEANFILES += @rpmprefix@$(TARGET)-w32api.spec
54noinst_DATA += @rpmprefix@$(TARGET)-w32api.spec
55
56NCURSES_VERS = 5.5-3
57NCURSES_RPMREL = 0.20070723.2
58EXTRA_DIST += target-libncurses-devel.add
59EXTRA_DIST += libncurses-devel.add
60
61NCURSES_SUBPACKAGES = $(top_srcdir)/common/common.add
62NCURSES_SUBPACKAGES += $(srcdir)/libncurses-devel.add
63NCURSES_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
64NCURSES_SUBPACKAGES += $(top_srcdir)/common/clean.add
65NCURSES_SUBPACKAGES += $(srcdir)/target-libncurses-devel.add
66
67$(TARGET)-libncurses-devel.spec.in: $(NCURSES_SUBPACKAGES) Makefile.am
68        cat $(NCURSES_SUBPACKAGES) | sed \
69          -e "s/[@]NCURSES_VERS[@]/$(NCURSES_VERS)/g" \
70          -e "s/[@]NCURSES_RPMREL[@]/$(NCURSES_RPMREL)/g" \
71          -e "s,%{gcc_rpmvers},%{libncurses_devel_rpmvers},g" \
72        | $(MKSPEC0) > $(TARGET)-libncurses-devel.spec.in
73CLEANFILES += $(TARGET)-libncurses-devel.spec.in
74                             
75@rpmprefix@$(TARGET)-libncurses-devel.spec: $(TARGET)-libncurses-devel.spec.in
76        $(MKSPEC) $(TARGET)-libncurses-devel.spec.in | $(SPECSTRIP) > $@
77CLEANFILES += @rpmprefix@$(TARGET)-libncurses-devel.spec
78noinst_DATA += @rpmprefix@$(TARGET)-libncurses-devel.spec
79
80# Cygwin's binutils' versioning is bizarre
81# Check bfd/configure for the real version number
82BINUTILS_VERS = 2.17.50
83BINUTILS_PKGVERS = 20060817-1
84BINUTILS_RPMREL = 0.20070723.1
85include ../binutils.am
86BINUTILS_OPTS += --disable-infos
87
88GCC_VERS = 3.4.4
89GCC_PKGVERS = $(GCC_VERS)
90GCC_RPMREL = 0.20070723.1
91include ../gcc.am
92GCC_OPTS += --languages=c,cxx
Note: See TracBrowser for help on using the repository browser.