[rtems-crossrpms commit] Add mingw32/x86_64.

Ralf Corsepius ralf at rtems.org
Tue Apr 24 16:54:04 UTC 2012


Module:    rtems-crossrpms
Branch:    master
Commit:    b6c5d6c2e01dbc5e707c86ea90269ad24f9ebcb3
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=b6c5d6c2e01dbc5e707c86ea90269ad24f9ebcb3

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Mon Apr 23 23:47:06 2012 +0200

Add mingw32/x86_64.

---

 configure                      |    3 +
 configure.ac                   |    1 +
 mingw32/Makefile.am            |    1 +
 mingw32/Makefile.in            |    2 +-
 mingw32/x86_64/Makefile.am     |   78 +++++++
 mingw32/x86_64/Makefile.in     |  467 ++++++++++++++++++++++++++++++++++++++++
 mingw32/x86_64/mingw-gmp.spec  |   81 +++++++
 mingw32/x86_64/mingw-mpc.spec  |   85 ++++++++
 mingw32/x86_64/mingw-mpfr.spec |   83 +++++++
 9 files changed, 800 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 7b67038..4505ab6 100755
--- a/configure
+++ b/configure
@@ -2442,6 +2442,8 @@ ac_config_files="$ac_config_files mingw32/Makefile"
 
 ac_config_files="$ac_config_files mingw32/i686/Makefile"
 
+ac_config_files="$ac_config_files mingw32/x86_64/Makefile"
+
 
 ac_config_files="$ac_config_files solaris2.7/Makefile"
 
@@ -3249,6 +3251,7 @@ do
     "cygwin/i686/Makefile") CONFIG_FILES="$CONFIG_FILES cygwin/i686/Makefile" ;;
     "mingw32/Makefile") CONFIG_FILES="$CONFIG_FILES mingw32/Makefile" ;;
     "mingw32/i686/Makefile") CONFIG_FILES="$CONFIG_FILES mingw32/i686/Makefile" ;;
+    "mingw32/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES mingw32/x86_64/Makefile" ;;
     "solaris2.7/Makefile") CONFIG_FILES="$CONFIG_FILES solaris2.7/Makefile" ;;
     "solaris2.7/sparc/Makefile") CONFIG_FILES="$CONFIG_FILES solaris2.7/sparc/Makefile" ;;
     "freebsd6.4/Makefile") CONFIG_FILES="$CONFIG_FILES freebsd6.4/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 26acdb3..65a6af2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,6 +125,7 @@ AC_CONFIG_FILES([cygwin/i686/Makefile])
 
 AC_CONFIG_FILES([mingw32/Makefile])
 AC_CONFIG_FILES([mingw32/i686/Makefile])
+AC_CONFIG_FILES([mingw32/x86_64/Makefile])
 
 AC_CONFIG_FILES([solaris2.7/Makefile])
 AC_CONFIG_FILES([solaris2.7/sparc/Makefile])
diff --git a/mingw32/Makefile.am b/mingw32/Makefile.am
index cc27914..fca52fa 100644
--- a/mingw32/Makefile.am
+++ b/mingw32/Makefile.am
@@ -1,3 +1,4 @@
 # $Id$
 
 SUBDIRS = i686
+SUBDIRS += x86_64
diff --git a/mingw32/Makefile.in b/mingw32/Makefile.in
index 3a21936..9fec6b0 100644
--- a/mingw32/Makefile.in
+++ b/mingw32/Makefile.in
@@ -196,7 +196,7 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-SUBDIRS = i686
+SUBDIRS = i686 x86_64
 all: all-recursive
 
 .SUFFIXES:
diff --git a/mingw32/x86_64/Makefile.am b/mingw32/x86_64/Makefile.am
new file mode 100644
index 0000000..ed5d80a
--- /dev/null
+++ b/mingw32/x86_64/Makefile.am
@@ -0,0 +1,78 @@
+# $Id$
+
+TARGET = x86_64-w64-mingw32
+
+include $(top_srcdir)/mkspec.am
+
+GMP_VERS = 5.0.4
+GMP_RPMREL = 0.20120423.0
+include ../gmp.am
+
+MPC_VERS = 0.8.1
+MPC_RPMREL = 0.20120423.0
+include ../mpc.am
+
+MPFR_VERS = 2.4.2
+MPFR_RPMREL = 0.20120423.0
+include ../mpfr.am
+
+ at rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in  
+	$(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-binutils-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-binutils-helper.spec
+
+ at rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in  
+	$(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-curses-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-curses-helper.spec
+
+ at rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in  
+	$(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-expat-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-expat-helper.spec
+
+ at rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in  
+	$(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-gcc-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-gcc-helper.spec
+
+ at rpmprefix@$(TARGET)-gmp-helper.spec: $(TARGET)-gmp-helper.spec.in  
+	$(MKSPEC) $(TARGET)-gmp-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-gmp-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-gmp-helper.spec
+
+ at rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in  
+	$(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-libs-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-libs-helper.spec
+
+ at rpmprefix@$(TARGET)-mpc-helper.spec: $(TARGET)-mpc-helper.spec.in  
+	$(MKSPEC) $(TARGET)-mpc-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-mpc-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-mpc-helper.spec
+
+ at rpmprefix@$(TARGET)-mpfr-helper.spec: $(TARGET)-mpfr-helper.spec.in  
+	$(MKSPEC) $(TARGET)-mpfr-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-mpfr-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-mpfr-helper.spec
+
+ at rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in  
+	$(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-readline-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-readline-helper.spec
+
+ at rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in  
+	$(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-termcap-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-termcap-helper.spec
+
+ at rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in  
+	$(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-w32api-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-w32api-helper.spec
+
+ at rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in  
+	$(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-zlib-helper.spec
+noinst_DATA += @rpmprefix@$(TARGET)-zlib-helper.spec
+
diff --git a/mingw32/x86_64/Makefile.in b/mingw32/x86_64/Makefile.in
new file mode 100644
index 0000000..4c08644
--- /dev/null
+++ b/mingw32/x86_64/Makefile.in
@@ -0,0 +1,467 @@
+# Makefile.in generated by automake 1.11.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+
+# $Id$
+
+VPATH = @srcdir@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \	]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+DIST_COMMON = $(srcdir)/../gmp.am $(srcdir)/../mpc.am \
+	$(srcdir)/../mpfr.am $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in $(top_srcdir)/mkspec.am
+subdir = mingw32/x86_64
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+DATA = $(noinst_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+HOST_SUBDIRS = @HOST_SUBDIRS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SPECSTRIP_OPTS = @SPECSTRIP_OPTS@
+STRIP = @STRIP@
+TARGET_SUBDIRS = @TARGET_SUBDIRS@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+rpmprefix = @rpmprefix@
+rtems_api = @rtems_api@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+sysdirpattern = @sysdirpattern@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+TARGET = x86_64-w64-mingw32
+noinst_DATA = mingw-gmp.spec mingw-mpc.spec mingw-mpfr.spec \
+	@rpmprefix@$(TARGET)-binutils-helper.spec \
+	@rpmprefix@$(TARGET)-curses-helper.spec \
+	@rpmprefix@$(TARGET)-expat-helper.spec \
+	@rpmprefix@$(TARGET)-gcc-helper.spec \
+	@rpmprefix@$(TARGET)-gmp-helper.spec \
+	@rpmprefix@$(TARGET)-libs-helper.spec \
+	@rpmprefix@$(TARGET)-mpc-helper.spec \
+	@rpmprefix@$(TARGET)-mpfr-helper.spec \
+	@rpmprefix@$(TARGET)-readline-helper.spec \
+	@rpmprefix@$(TARGET)-termcap-helper.spec \
+	@rpmprefix@$(TARGET)-w32api-helper.spec \
+	@rpmprefix@$(TARGET)-zlib-helper.spec
+CLEANFILES = mingw-gmp.spec.in mingw-gmp.spec mingw-mpc.spec.in \
+	mingw-mpc.spec mingw-mpfr.spec.in mingw-mpfr.spec \
+	@rpmprefix@$(TARGET)-binutils-helper.spec \
+	@rpmprefix@$(TARGET)-curses-helper.spec \
+	@rpmprefix@$(TARGET)-expat-helper.spec \
+	@rpmprefix@$(TARGET)-gcc-helper.spec \
+	@rpmprefix@$(TARGET)-gmp-helper.spec \
+	@rpmprefix@$(TARGET)-libs-helper.spec \
+	@rpmprefix@$(TARGET)-mpc-helper.spec \
+	@rpmprefix@$(TARGET)-mpfr-helper.spec \
+	@rpmprefix@$(TARGET)-readline-helper.spec \
+	@rpmprefix@$(TARGET)-termcap-helper.spec \
+	@rpmprefix@$(TARGET)-w32api-helper.spec \
+	@rpmprefix@$(TARGET)-zlib-helper.spec
+EXTRA_DIST = mingw-gmp.add mingw-mpc.add mingw-mpfr.add
+SPECSTRIP = $(top_srcdir)/specstrip --prefix=$(prefix) $(SPECSTRIP_OPTS)
+MKSPEC = sed \
+	  -e "s,[@]rpmprefix[@],$(rpmprefix),g" \
+	  -e "s,[@]_prefix[@],$(prefix),g" \
+	  -e "s/[@]tool_target[@]/$(TARGET)/g" \
+	  -e "/^%package -n [@]rpmprefix[@][@]tool_target[@]-gcc/d" \
+	  -e "@sysdirpattern@" \
+	  -e "/[@]PATCH/d"
+
+MKSPEC0 = sed \
+	  -e "s/[@]tool_target[@]/$(TARGET)/g" \
+	  -e "s/[@]rtems_api[@]/$(rtems_api)/g"
+
+GMP_VERS = 5.0.4
+GMP_RPMREL = 0.20120423.0
+GMP_SUBPACKAGES = $(srcdir)/mingw-gmp.add
+MPC_VERS = 0.8.1
+MPC_RPMREL = 0.20120423.0
+MPC_SUBPACKAGES = $(srcdir)/mingw-mpc.add
+MPFR_VERS = 2.4.2
+MPFR_RPMREL = 0.20120423.0
+MPFR_SUBPACKAGES = $(srcdir)/mingw-mpfr.add
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/mkspec.am $(srcdir)/../gmp.am $(srcdir)/../mpc.am $(srcdir)/../mpfr.am $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu mingw32/x86_64/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu mingw32/x86_64/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+$(top_srcdir)/mkspec.am $(srcdir)/../gmp.am $(srcdir)/../mpc.am $(srcdir)/../mpfr.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+	  else \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	if test -z '$(STRIP)'; then \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	      install; \
+	else \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+	fi
+mostlyclean-generic:
+
+clean-generic:
+	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-am
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic distclean \
+	distclean-generic distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-dvi \
+	install-dvi-am install-exec install-exec-am install-html \
+	install-html-am install-info install-info-am install-man \
+	install-pdf install-pdf-am install-ps install-ps-am \
+	install-strip installcheck installcheck-am installdirs \
+	maintainer-clean maintainer-clean-generic mostlyclean \
+	mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
+
+
+mingw-gmp.spec.in: $(GMP_SUBPACKAGES) Makefile.am
+	cat $(GMP_SUBPACKAGES) | sed \
+	  -e "s/[@]GMP_VERS[@]/$(GMP_VERS)/g" \
+	  -e "s/[@]GMP_RPMREL[@]/$(GMP_RPMREL)/g" \
+	  -e "s,%{gcc_rpmvers},%{gmp_rpmvers},g" \
+	| $(MKSPEC0) > mingw-gmp.spec.in
+
+mingw-gmp.spec: mingw-gmp.spec.in
+	$(MKSPEC) mingw-gmp.spec.in | $(SPECSTRIP) > $@
+
+mingw-mpc.spec.in: $(MPC_SUBPACKAGES) Makefile.am
+	cat $(MPC_SUBPACKAGES) | sed \
+	  -e "s/[@]MPC_VERS[@]/$(MPC_VERS)/g" \
+	  -e "s/[@]MPC_RPMREL[@]/$(MPC_RPMREL)/g" \
+	  -e "s,%{gcc_rpmvers},%{mpc_rpmvers},g" \
+	| $(MKSPEC0) > mingw-mpc.spec.in
+
+mingw-mpc.spec: mingw-mpc.spec.in
+	$(MKSPEC) mingw-mpc.spec.in | $(SPECSTRIP) > $@
+
+mingw-mpfr.spec.in: $(MPFR_SUBPACKAGES) Makefile.am
+	cat $(MPFR_SUBPACKAGES) | sed \
+	  -e "s/[@]MPFR_VERS[@]/$(MPFR_VERS)/g" \
+	  -e "s/[@]MPFR_RPMREL[@]/$(MPFR_RPMREL)/g" \
+	  -e "s,%{gcc_rpmvers},%{mpfr_rpmvers},g" \
+	| $(MKSPEC0) > mingw-mpfr.spec.in
+
+mingw-mpfr.spec: mingw-mpfr.spec.in
+	$(MKSPEC) mingw-mpfr.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-binutils-helper.spec: $(TARGET)-binutils-helper.spec.in  
+	$(MKSPEC) $(TARGET)-binutils-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-curses-helper.spec: $(TARGET)-curses-helper.spec.in  
+	$(MKSPEC) $(TARGET)-curses-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-expat-helper.spec: $(TARGET)-expat-helper.spec.in  
+	$(MKSPEC) $(TARGET)-expat-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-gcc-helper.spec: $(TARGET)-gcc-helper.spec.in  
+	$(MKSPEC) $(TARGET)-gcc-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-gmp-helper.spec: $(TARGET)-gmp-helper.spec.in  
+	$(MKSPEC) $(TARGET)-gmp-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-libs-helper.spec: $(TARGET)-libs-helper.spec.in  
+	$(MKSPEC) $(TARGET)-libs-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-mpc-helper.spec: $(TARGET)-mpc-helper.spec.in  
+	$(MKSPEC) $(TARGET)-mpc-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-mpfr-helper.spec: $(TARGET)-mpfr-helper.spec.in  
+	$(MKSPEC) $(TARGET)-mpfr-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-readline-helper.spec: $(TARGET)-readline-helper.spec.in  
+	$(MKSPEC) $(TARGET)-readline-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-termcap-helper.spec: $(TARGET)-termcap-helper.spec.in  
+	$(MKSPEC) $(TARGET)-termcap-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-w32api-helper.spec: $(TARGET)-w32api-helper.spec.in  
+	$(MKSPEC) $(TARGET)-w32api-helper.spec.in | $(SPECSTRIP) > $@
+
+ at rpmprefix@$(TARGET)-zlib-helper.spec: $(TARGET)-zlib-helper.spec.in  
+	$(MKSPEC) $(TARGET)-zlib-helper.spec.in | $(SPECSTRIP) > $@
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/mingw32/x86_64/mingw-gmp.spec b/mingw32/x86_64/mingw-gmp.spec
new file mode 100644
index 0000000..7a6c083
--- /dev/null
+++ b/mingw32/x86_64/mingw-gmp.spec
@@ -0,0 +1,81 @@
+#
+# Please send bugfixes or comments to
+# 	http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define gmp_version  5.0.4
+%define gmp_rpmvers %{expand:%(echo 5.0.4 | tr - _)} 
+
+Name:         mingw-gmp
+Release:      0.20120422.1%{?dist}%{?dist}
+License:      GPL
+Group:        Development/Tools
+
+BuildArch:	noarch
+
+Version:      	%gmp_rpmvers
+Summary:      	MinGW gmp Libraries
+
+Source0:	ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.xz
+
+BuildRequires:  mingw32-filesystem
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+
+%if 0%{fedora} > 16
+BuildRequires:  mingw64-filesystem >= 95
+BuildRequires:  mingw64-gcc
+BuildRequires:  mingw64-binutils
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip	%{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires:  m4
+
+%description
+%{summary}
+
+%package	-n mingw32-gmp
+Summary:	MinGW32 gmp libraries
+
+%description	-n mingw32-gmp
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package	-n mingw64-gmp
+Summary:	MinGW64 gmp libraries
+
+%description	-n mingw64-gmp
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n gmp-%{gmp_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-gmp
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-gmp
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/x86_64/mingw-mpc.spec b/mingw32/x86_64/mingw-mpc.spec
new file mode 100644
index 0000000..bb5544e
--- /dev/null
+++ b/mingw32/x86_64/mingw-mpc.spec
@@ -0,0 +1,85 @@
+#
+# Please send bugfixes or comments to
+# 	http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define mpc_version 0.8.1
+%define mpc_rpmvers %{expand:%(echo 0.8.1 | tr - _)} 
+
+Name:         mingw-mpc
+Release:      0.20120422.1%{?dist}%{?dist}
+License:      GPL
+Group:        Development/Tools
+
+BuildArch:	noarch
+
+Version:      	%mpc_rpmvers
+Summary:      	MinGW mpc Libraries
+
+Source0:	http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
+
+BuildRequires:  mingw32-filesystem
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+BuildRequires:  mingw32-gmp
+BuildRequires:  mingw32-mpfr
+
+%if 0%{fedora} > 16
+BuildRequires:  mingw64-filesystem >= 95
+BuildRequires:  mingw64-gcc
+BuildRequires:  mingw64-binutils
+BuildRequires:  mingw64-gmp
+BuildRequires:  mingw64-mpfr
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip	%{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires:  m4
+
+%description
+%{summary}
+
+%package	-n mingw32-mpc
+Summary:	MinGW32 mpc libraries
+
+%description	-n mingw32-mpc
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package	-n mingw64-mpc
+Summary:	MinGW64 mpc libraries
+
+%description	-n mingw64-mpc
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n mpc-%{mpc_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-mpc
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-mpc
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif
diff --git a/mingw32/x86_64/mingw-mpfr.spec b/mingw32/x86_64/mingw-mpfr.spec
new file mode 100644
index 0000000..852e215
--- /dev/null
+++ b/mingw32/x86_64/mingw-mpfr.spec
@@ -0,0 +1,83 @@
+#
+# Please send bugfixes or comments to
+# 	http://www.rtems.org/bugzilla
+#
+
+%?mingw_package_header
+
+%define mpfr_version 2.4.2
+%define mpfr_rpmvers %{expand:%(echo 2.4.2 | tr - _)} 
+
+Name:         mingw-mpfr
+Release:      0.20120422.1%{?dist}%{?dist}
+License:      GPL
+Group:        Development/Tools
+
+BuildArch:	noarch
+
+Version:      	%mpfr_rpmvers
+Summary:      	MinGW mpfr Libraries
+
+Source0:	http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.xz
+
+BuildRequires:  mingw32-filesystem
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+BuildRequires:  mingw32-gmp
+
+%if 0%{fedora} > 16
+BuildRequires:  mingw64-filesystem >= 95
+BuildRequires:  mingw64-gcc
+BuildRequires:  mingw64-binutils
+BuildRequires:  mingw64-gmp
+%else
+# Cludge to work around /usr/lib/rpm/brp-strip-static-archive corrupting *.a's
+%global __strip	%{_mingw32_strip}
+# F16 uses _mingw32_sysroot, fedora > 16 uses mingw32_sysroot
+%global mingw32_sysroot %{_mingw32_sysroot}
+%endif
+
+BuildRequires:  m4
+
+%description
+%{summary}
+
+%package	-n mingw32-mpfr
+Summary:	MinGW32 mpfr libraries
+
+%description	-n mingw32-mpfr
+%{summary}
+
+%if %{?mingw_build_win64}0
+%package	-n mingw64-mpfr
+Summary:	MinGW64 mpfr libraries
+
+%description	-n mingw64-mpfr
+%{summary}
+%endif
+
+%?mingw_debug_package
+
+%prep
+%setup -q -n mpfr-%{mpfr_version}
+
+%build
+%{?mingw_build_win64:%mingw_configure}%{!?mingw_build_win64:%_mingw32_configure} --enable-static --disable-shared
+
+%{?mingw_build_win64:%mingw_make}%{!?mingw_build_win64:%_mingw32_make}
+
+%install
+%{?mingw_build_win64:%mingw_make_install}%{!?mingw_build_win64:make install} DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-mpfr
+%defattr(-,root,root,-)
+%{mingw32_sysroot}/mingw
+%exclude %{mingw32_sysroot}/mingw/share/info/dir
+
+%if %{?mingw_build_win64}0
+%files -n mingw64-mpfr
+%defattr(-,root,root,-)
+%{mingw64_sysroot}/mingw
+%exclude %{mingw64_sysroot}/mingw/share/info/dir
+%endif




More information about the vc mailing list