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 | |
---|
10 | W32API_VERS = 3.8 |
---|
11 | W32API_RPMREL = 1 |
---|
12 | EXTRA_DIST += target-w32api.add |
---|
13 | EXTRA_DIST += w32api.add |
---|
14 | |
---|
15 | W32API_SUBPACKAGES = $(top_srcdir)/common/common.add |
---|
16 | W32API_SUBPACKAGES += $(srcdir)/w32api.add |
---|
17 | W32API_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add |
---|
18 | W32API_SUBPACKAGES += $(top_srcdir)/common/clean.add |
---|
19 | W32API_SUBPACKAGES += $(srcdir)/target-w32api.add |
---|
20 | |
---|
21 | $(TARGET)-w32api.spec.in: $(W32API_SUBPACKAGES) Makefile.am |
---|
22 | cat $(W32API_SUBPACKAGES) | sed \ |
---|
23 | -e "s/[@]W32API_VERS[@]/$(W32API_VERS)/g" \ |
---|
24 | -e "s/[@]W32API_RPMREL[@]/$(W32API_RPMREL)/g" \ |
---|
25 | -e "s,%{gcc_rpmvers},%{w32api_rpmvers},g" \ |
---|
26 | > $(TARGET)-w32api.spec.in |
---|
27 | CLEANFILES += $(TARGET)-w32api.spec.in |
---|
28 | |
---|
29 | @rpmprefix@$(TARGET)-w32api.spec: $(TARGET)-w32api.spec.in |
---|
30 | $(MKSPEC) $(TARGET)-w32api.spec.in | $(SPECSTRIP) > $@ |
---|
31 | CLEANFILES += @rpmprefix@$(TARGET)-w32api.spec |
---|
32 | noinst_DATA += @rpmprefix@$(TARGET)-w32api.spec |
---|
33 | |
---|
34 | GMP_VERS = 4.2.4 |
---|
35 | GMP_RPMREL = 0.20081219.1%{?dist} |
---|
36 | include ../gmp.am |
---|
37 | |
---|
38 | MPFR_VERS = 2.3.1 |
---|
39 | MPFR_RPMREL = 0.20081219.1%{?dist} |
---|
40 | include ../mpfr.am |
---|
41 | |
---|
42 | @rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in |
---|
43 | $(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@ |
---|
44 | CLEANFILES += @rpmprefix@$(TARGET)-binutils-helper.spec |
---|
45 | noinst_DATA += @rpmprefix@$(TARGET)-binutils-helper.spec |
---|
46 | |
---|
47 | @rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in |
---|
48 | $(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@ |
---|
49 | CLEANFILES += @rpmprefix@$(TARGET)-curses-helper.spec |
---|
50 | noinst_DATA += @rpmprefix@$(TARGET)-curses-helper.spec |
---|
51 | |
---|
52 | @rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in |
---|
53 | $(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@ |
---|
54 | CLEANFILES += @rpmprefix@$(TARGET)-expat-helper.spec |
---|
55 | noinst_DATA += @rpmprefix@$(TARGET)-expat-helper.spec |
---|
56 | |
---|
57 | @rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in |
---|
58 | $(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@ |
---|
59 | CLEANFILES += @rpmprefix@$(TARGET)-gcc-helper.spec |
---|
60 | noinst_DATA += @rpmprefix@$(TARGET)-gcc-helper.spec |
---|
61 | |
---|
62 | @rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in |
---|
63 | $(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@ |
---|
64 | CLEANFILES += @rpmprefix@$(TARGET)-libs-helper.spec |
---|
65 | noinst_DATA += @rpmprefix@$(TARGET)-libs-helper.spec |
---|
66 | |
---|
67 | @rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in |
---|
68 | $(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@ |
---|
69 | CLEANFILES += @rpmprefix@$(TARGET)-readline-helper.spec |
---|
70 | noinst_DATA += @rpmprefix@$(TARGET)-readline-helper.spec |
---|
71 | |
---|
72 | @rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in |
---|
73 | $(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@ |
---|
74 | CLEANFILES += @rpmprefix@$(TARGET)-termcap-helper.spec |
---|
75 | noinst_DATA += @rpmprefix@$(TARGET)-termcap-helper.spec |
---|
76 | |
---|
77 | @rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in |
---|
78 | $(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@ |
---|
79 | CLEANFILES += @rpmprefix@$(TARGET)-w32api-helper.spec |
---|
80 | noinst_DATA += @rpmprefix@$(TARGET)-w32api-helper.spec |
---|
81 | |
---|
82 | @rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in |
---|
83 | $(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@ |
---|
84 | CLEANFILES += @rpmprefix@$(TARGET)-zlib-helper.spec |
---|
85 | noinst_DATA += @rpmprefix@$(TARGET)-zlib-helper.spec |
---|
86 | |
---|