1 | # $Id$ |
---|
2 | |
---|
3 | TARGET = i686-pc-mingw32 |
---|
4 | |
---|
5 | include $(top_srcdir)/mkspec.am |
---|
6 | |
---|
7 | MINGW32_VERS = 3.11 |
---|
8 | MINGW32_RPMREL = 1 |
---|
9 | EXTRA_DIST += libs.add |
---|
10 | EXTRA_DIST += target-libs.add |
---|
11 | |
---|
12 | LIBS_SUBPACKAGES = $(top_srcdir)/common/common.add |
---|
13 | LIBS_SUBPACKAGES += $(srcdir)/libs.add |
---|
14 | LIBS_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add |
---|
15 | LIBS_SUBPACKAGES += $(top_srcdir)/common/clean.add |
---|
16 | LIBS_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 |
---|
24 | CLEANFILES += $(TARGET)-libs.spec.in |
---|
25 | |
---|
26 | @rpmprefix@$(TARGET)-libs.spec: $(TARGET)-libs.spec.in |
---|
27 | $(MKSPEC) $(TARGET)-libs.spec.in | $(SPECSTRIP) > $@ |
---|
28 | CLEANFILES += @rpmprefix@$(TARGET)-libs.spec |
---|
29 | noinst_DATA += @rpmprefix@$(TARGET)-libs.spec |
---|
30 | |
---|
31 | W32API_VERS = 3.8 |
---|
32 | W32API_RPMREL = 1 |
---|
33 | EXTRA_DIST += target-w32api.add |
---|
34 | EXTRA_DIST += w32api.add |
---|
35 | |
---|
36 | W32API_SUBPACKAGES = $(top_srcdir)/common/common.add |
---|
37 | W32API_SUBPACKAGES += $(srcdir)/w32api.add |
---|
38 | W32API_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add |
---|
39 | W32API_SUBPACKAGES += $(top_srcdir)/common/clean.add |
---|
40 | W32API_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 |
---|
48 | CLEANFILES += $(TARGET)-w32api.spec.in |
---|
49 | |
---|
50 | @rpmprefix@$(TARGET)-w32api.spec: $(TARGET)-w32api.spec.in |
---|
51 | $(MKSPEC) $(TARGET)-w32api.spec.in | $(SPECSTRIP) > $@ |
---|
52 | CLEANFILES += @rpmprefix@$(TARGET)-w32api.spec |
---|
53 | noinst_DATA += @rpmprefix@$(TARGET)-w32api.spec |
---|
54 | |
---|
55 | GMP_VERS = 4.2.4 |
---|
56 | GMP_RPMREL = 0.20081219.1%{?dist} |
---|
57 | include ../gmp.am |
---|
58 | |
---|
59 | MPFR_VERS = 2.3.1 |
---|
60 | MPFR_RPMREL = 0.20081219.1%{?dist} |
---|
61 | include ../mpfr.am |
---|
62 | |
---|
63 | @rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in |
---|
64 | $(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@ |
---|
65 | CLEANFILES += @rpmprefix@$(TARGET)-binutils-helper.spec |
---|
66 | noinst_DATA += @rpmprefix@$(TARGET)-binutils-helper.spec |
---|
67 | |
---|
68 | @rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in |
---|
69 | $(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@ |
---|
70 | CLEANFILES += @rpmprefix@$(TARGET)-curses-helper.spec |
---|
71 | noinst_DATA += @rpmprefix@$(TARGET)-curses-helper.spec |
---|
72 | |
---|
73 | @rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in |
---|
74 | $(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@ |
---|
75 | CLEANFILES += @rpmprefix@$(TARGET)-expat-helper.spec |
---|
76 | noinst_DATA += @rpmprefix@$(TARGET)-expat-helper.spec |
---|
77 | |
---|
78 | @rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in |
---|
79 | $(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@ |
---|
80 | CLEANFILES += @rpmprefix@$(TARGET)-gcc-helper.spec |
---|
81 | noinst_DATA += @rpmprefix@$(TARGET)-gcc-helper.spec |
---|
82 | |
---|
83 | @rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in |
---|
84 | $(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@ |
---|
85 | CLEANFILES += @rpmprefix@$(TARGET)-libs-helper.spec |
---|
86 | noinst_DATA += @rpmprefix@$(TARGET)-libs-helper.spec |
---|
87 | |
---|
88 | @rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in |
---|
89 | $(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@ |
---|
90 | CLEANFILES += @rpmprefix@$(TARGET)-readline-helper.spec |
---|
91 | noinst_DATA += @rpmprefix@$(TARGET)-readline-helper.spec |
---|
92 | |
---|
93 | @rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in |
---|
94 | $(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@ |
---|
95 | CLEANFILES += @rpmprefix@$(TARGET)-termcap-helper.spec |
---|
96 | noinst_DATA += @rpmprefix@$(TARGET)-termcap-helper.spec |
---|
97 | |
---|
98 | @rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in |
---|
99 | $(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@ |
---|
100 | CLEANFILES += @rpmprefix@$(TARGET)-w32api-helper.spec |
---|
101 | noinst_DATA += @rpmprefix@$(TARGET)-w32api-helper.spec |
---|
102 | |
---|
103 | @rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in |
---|
104 | $(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@ |
---|
105 | CLEANFILES += @rpmprefix@$(TARGET)-zlib-helper.spec |
---|
106 | noinst_DATA += @rpmprefix@$(TARGET)-zlib-helper.spec |
---|
107 | |
---|