summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2013-06-30 01:42:08 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2013-06-30 01:42:08 -0500
commit6831de9cdb95c4dad414ccaf0a0c4ccf8d84c945 (patch)
treedda33c1f6f6e8a5ce2c9f9b55ad3ac7487c817fb
parent7b587b2ad18ddf26a6f71447ed3198a8ec143bab (diff)
downloadcygwin-filesystem-6831de9cdb95c4dad414ccaf0a0c4ccf8d84c945.tar.gz
cygwin-filesystem-6831de9cdb95c4dad414ccaf0a0c4ccf8d84c945.tar.xz
cygwin-filesystem-6831de9cdb95c4dad414ccaf0a0c4ccf8d84c945.zip
Support both cygwin32 and cygwin64
-rw-r--r--Toolchain-cygwin32.cmake (renamed from Toolchain-cygwin.cmake)6
-rw-r--r--Toolchain-cygwin64.cmake36
-rw-r--r--cygwin-filesystem.spec215
-rwxr-xr-xcygwin-find-debuginfo.sh30
-rwxr-xr-xcygwin-find-lang.sh17
-rwxr-xr-xcygwin-find-provides.sh18
-rwxr-xr-xcygwin-find-requires.sh34
-rw-r--r--cygwin-rpmlint.config17
-rwxr-xr-xcygwin-scripts.sh15
-rw-r--r--cygwin.csh1
-rw-r--r--cygwin.sh3
-rw-r--r--cygwin32.attr3
-rw-r--r--cygwin32.sh3
-rw-r--r--cygwin64.attr3
-rw-r--r--cygwin64.sh3
-rw-r--r--macros.cygwin306
-rw-r--r--macros.cygwin32262
-rw-r--r--macros.cygwin64205
-rw-r--r--standard-dlls-cygwin32302
-rw-r--r--standard-dlls-cygwin641224
20 files changed, 2399 insertions, 304 deletions
diff --git a/Toolchain-cygwin.cmake b/Toolchain-cygwin32.cmake
index 61b6200..b5e41ef 100644
--- a/Toolchain-cygwin.cmake
+++ b/Toolchain-cygwin32.cmake
@@ -4,7 +4,10 @@ SET(CMAKE_LEGACY_CYGWIN_WIN32 0)
# specify the cross compiler
SET(CMAKE_C_COMPILER /usr/bin/i686-pc-cygwin-gcc)
SET(CMAKE_CXX_COMPILER /usr/bin/i686-pc-cygwin-g++)
+SET(CMAKE_Fortran_COMPILER /usr/bin/i686-pc-cygwin-gfortran)
SET(CMAKE_RC_COMPILER /usr/bin/i686-pc-cygwin-windres)
+SET(CMAKE_AR:FILEPATH /usr/bin/i686-pc-cygwin-ar)
+SET(CMAKE_RANLIB:FILEPATH /usr/bin/i686-pc-cygwin-ranlib)
# where is the target environment
SET(CMAKE_FIND_ROOT_PATH /usr/i686-pc-cygwin/sys-root/usr)
@@ -15,6 +18,9 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+SET(PKG_CONFIG_EXECUTABLE /usr/bin/i686-pc-cygwin-pkg-config)
+SET(PKGCONFIG_EXECUTABLE /usr/bin/i686-pc-cygwin-pkg-config)
+
# FindQt4.cmake queries qmake to get information,
# which doesn't work when crosscompiling
SET(QT_QMAKE_EXECUTABLE /usr/bin/i686-pc-cygwin-qmake)
diff --git a/Toolchain-cygwin64.cmake b/Toolchain-cygwin64.cmake
new file mode 100644
index 0000000..4cd938d
--- /dev/null
+++ b/Toolchain-cygwin64.cmake
@@ -0,0 +1,36 @@
+SET(CMAKE_SYSTEM_NAME CYGWIN)
+SET(CMAKE_LEGACY_CYGWIN_WIN32 0)
+
+# specify the cross compiler
+SET(CMAKE_C_COMPILER /usr/bin/x86_64-pc-cygwin-gcc)
+SET(CMAKE_CXX_COMPILER /usr/bin/x86_64-pc-cygwin-g++)
+SET(CMAKE_Fortran_COMPILER /usr/bin/x86_64-pc-cygwin-gfortran)
+SET(CMAKE_RC_COMPILER /usr/bin/x86_64-pc-cygwin-windres)
+SET(CMAKE_AR:FILEPATH /usr/bin/x86_64-pc-cygwin-ar)
+SET(CMAKE_RANLIB:FILEPATH /usr/bin/x86_64-pc-cygwin-ranlib)
+
+# where is the target environment
+SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-pc-cygwin/sys-root/usr)
+
+# search for programs in the build host directories
+SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+# for libraries and headers in the target directories
+SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+
+SET(PKG_CONFIG_EXECUTABLE /usr/bin/x86_64-pc-cygwin-pkg-config)
+SET(PKGCONFIG_EXECUTABLE /usr/bin/x86_64-pc-cygwin-pkg-config)
+
+# FindQt4.cmake queries qmake to get information,
+# which doesn't work when crosscompiling
+SET(QT_QMAKE_EXECUTABLE /usr/bin/x86_64-pc-cygwin-qmake)
+SET(QT_MOC_EXECUTABLE /usr/bin/x86_64-pc-cygwin-moc)
+SET(QT_RCC_EXECUTABLE /usr/bin/x86_64-pc-cygwin-rcc)
+SET(QT_UIC_EXECUTABLE /usr/bin/x86_64-pc-cygwin-uic)
+SET(QT_UIC3_EXECUTABLE /usr/bin/x86_64-pc-cygwin-uic3)
+SET(QT_LRELEASE_EXECUTABLE /usr/bin/x86_64-pc-cygwin-lrelease)
+SET(QT_LUPDATE_EXECUTABLE /usr/bin/x86_64-pc-cygwin-lupdate)
+SET(QT_DBUSCPP2XML_EXECUTABLE /usr/bin/x86_64-pc-cygwin-qdbuscpp2xml)
+SET(QT_DBUSXML2CPP_EXECUTABLE /usr/bin/x86_64-pc-cygwin-qdbusxml2cpp)
+SET(QT_HEADERS_DIR ${CMAKE_FIND_ROOT_PATH}/include)
+SET(QT_LIBRARY_DIR ${CMAKE_FIND_ROOT_PATH}/lib)
diff --git a/cygwin-filesystem.spec b/cygwin-filesystem.spec
index 50cdce8..850437e 100644
--- a/cygwin-filesystem.spec
+++ b/cygwin-filesystem.spec
@@ -1,38 +1,64 @@
-%define debug_package %{nil}
+%global debug_package %{nil}
Name: cygwin-filesystem
-Version: 6
-Release: 1
-Summary: Cygwin base filesystem and environment
+Version: 9
+Release: 1%{?dist}
+Summary: Cygwin cross compiler base filesystem and environment
Group: Development/Libraries
License: GPLv2+
URL: http://cygwinports.org/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Source0: COPYING
Source1: macros.cygwin
-Source2: cygwin.sh
-#Source3: cygwin.csh
-Source4: cygwin-find-requires.sh
-Source5: cygwin-find-provides.sh
-Source6: cygwin-scripts.sh
-Source7: cygwin-rpmlint.config
-Source8: Toolchain-cygwin.cmake
-Source9: cygwin-find-debuginfo.sh
-
-Requires: pkgconfig
-# for brp-strip-static-archive which respects $STRIP
-Requires: redhat-rpm-config
-
-# Note about 'Provides: cygwin(foo.dll)'
+Source2: macros.cygwin32
+Source3: macros.cygwin64
+Source4: cygwin32.sh
+Source5: cygwin64.sh
+Source6: cygwin-find-debuginfo.sh
+Source7: cygwin-find-requires.sh
+Source8: cygwin-find-provides.sh
+Source9: cygwin-scripts.sh
+Source10: cygwin-rpmlint.config
+Source11: Toolchain-cygwin32.cmake
+Source12: Toolchain-cygwin64.cmake
+Source13: cygwin-find-lang.sh
+Source14: cygwin32.attr
+Source15: cygwin64.attr
+# generated with:
+# (rpm -ql cygwin32-w32api-runtime | grep '\.a$' | while read f ; do i686-pc-cygwin-dlltool -I $f 2>/dev/null ; done) | tr A-Z a-z | sort -u > standard-dlls-cygwin32
+Source16: standard-dlls-cygwin32
+# (rpm -ql cygwin64-w32api-runtime | grep '\.a$' | while read f ; do x86_64-pc-cygwin-dlltool -I $f 2>/dev/null ; done) | tr A-Z a-z | sort -u > standard-dlls-cygwin64
+Source17: standard-dlls-cygwin64
+
+
+%description
+This package contains the base filesystem layout, RPM macros and
+environment for all Fedora Cygwin packages.
+
+
+%package base
+Summary: Generic files which are needed for both cygwin32-filesystem and cygwin64-filesystem
+
+%description base
+This package contains the base filesystem layout, RPM macros and
+environment for all Fedora Cygwin packages.
+
+
+%package -n cygwin32-filesystem
+Summary: Cygwin cross compiler base filesystem and environment for the i686 target
+Requires: %{name}-base = %{version}-%{release}
+Provides: cygwin-filesystem
+Obsoletes: cygwin-filesystem < 7-1
+
+# Note about 'Provides: cygwin32(foo.dll)'
# ------------------------------------------------------------
#
-# We want to be able to build & install Windows libraries without
+# We want to be able to build & install cygwin32 libraries without
# necessarily needing to install wine. (And certainly not needing to
# install Windows!) There is no requirement to have wine installed in
-# order to use the cygwin toolchain to develop software (ie. to
+# order to use the Cygwin toolchain to develop software (ie. to
# compile more stuff on top of it), so why require that?
#
# So for expediency, this base package provides the "missing" DLLs
@@ -40,6 +66,9 @@ Requires: redhat-rpm-config
# proprietary DLLs in our find-requires checking script - essentially
# it comes out the same either way.
#
+Provides: %(sed "s/\(.*\)/cygwin32(\1) /g" %{SOURCE16} | tr "\n" " ")
+Provides: cygwin32(mscoree.dll)
+# for backwards compatibility with cygwin-filesystem <= 6
Provides: cygwin(advapi32.dll)
Provides: cygwin(avicap32.dll)
Provides: cygwin(comctl32.dll)
@@ -55,20 +84,26 @@ Provides: cygwin(user32.dll)
Provides: cygwin(winmm.dll)
Provides: cygwin(winspool.drv)
-
-%description
+%description -n cygwin32-filesystem
This package contains the base filesystem layout, RPM macros and
environment for all Fedora Cygwin packages.
-This environment is maintained by the Fedora Cygwin SIG at:
- http://fedoraproject.org/wiki/SIGs/Cygwin
+%package -n cygwin64-filesystem
+Summary: Cygwin cross compiler base filesystem and environment for the x86_64 target
+Requires: %{name}-base = %{version}-%{release}
+
+Provides: %(sed "s/\(.*\)/cygwin64(\1) /g" %{SOURCE17} | tr "\n" " ")
+Provides: cygwin64(mscoree.dll)
+
+%description -n cygwin64-filesystem
+This package contains the base filesystem layout, RPM macros and
+environment for all Fedora Cygwin packages.
%prep
%setup -q -c -T
cp %{SOURCE0} COPYING
-sed 's/@VERSION@/%{version}/' < %{SOURCE4} > cygwin-find-requires.sh
%build
@@ -76,98 +111,146 @@ sed 's/@VERSION@/%{version}/' < %{SOURCE4} > cygwin-find-requires.sh
%install
-rm -rf $RPM_BUILD_ROOT
-
mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
-install -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_libexecdir}/cygwin-scripts
+install -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libexecdir}/cygwin-scripts
mkdir -p $RPM_BUILD_ROOT%{_bindir}
pushd $RPM_BUILD_ROOT%{_bindir}
-for i in cygwin-configure cygwin-make cygwin-pkg-config i686-pc-cygwin-pkg-config cygwin-cmake cygwin-qmake-qt4; do
+for i in cygwin32-configure cygwin32-cmake cygwin32-make cygwin32-pkg-config \
+ cygwin64-configure cygwin64-cmake cygwin64-make cygwin64-pkg-config ; do
ln -s %{_libexecdir}/cygwin-scripts $i
done
popd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
-install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
-#install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cygwin
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cygwin32
+install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.cygwin64
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint
-install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint/
+install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint/
+# Create the folders required for gcc and binutils
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin
-
-# GCC requires these directories, even though they contain links
-# to binaries which are also installed in /usr/bin etc. These
-# contain Fedora native binaries.
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/lib
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/bin
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/lib
-# The Cygwin system root which will contain Windows native binaries
-# and Windows-specific header files, pkgconfig, etc.
+# The Cygwin system root which will contain Cygwin native binaries
+# and Cygwin-specific header files, pkgconfig, etc.
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/etc
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/include
-mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/include/sys
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/lib
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/lib/pkgconfig
-mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/aclocal
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/sbin
+
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/etc
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/bin
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/include
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/lib
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/lib/pkgconfig
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/sbin
# We don't normally package manual pages and info files, except
# where those are not supplied by a Fedora native package. So we
# need to create the directories.
#
# Note that some packages try to install stuff in
-# /usr/i686-pc-cygwin/sys-root/usr/man and
-# /usr/i686-pc-cygwin/sys-root/usr/doc
+# /usr/x86_64-pc-cygwin32/sys-root/man and
+# /usr/x86_64-pc-cygwin32/sys-root/doc
# but those are both packaging bugs.
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share
-mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/aclocal
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/doc
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/info
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/man
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/man/man{1,2,3,4,5,6,7,8,l,n}
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/aclocal
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/themes
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/cmake
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/pkgconfig
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-cygwin/sys-root/usr/share/xml
+
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/doc
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/info
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/man
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/man/man{1,2,3,4,5,6,7,8,l,n}
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/aclocal
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/themes
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/cmake
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/pkgconfig
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-cygwin/sys-root/usr/share/xml
# NB. NOT _libdir
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
-install -m 0755 cygwin-find-requires.sh $RPM_BUILD_ROOT/usr/lib/rpm
-install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/rpm
-install -m 0755 %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/rpm
+install -m 0755 %{SOURCE6} $RPM_BUILD_ROOT%{_rpmconfigdir}
+install -m 0755 %{SOURCE7} $RPM_BUILD_ROOT%{_rpmconfigdir}
+install -m 0755 %{SOURCE8} $RPM_BUILD_ROOT%{_rpmconfigdir}
+install -m 0755 %{SOURCE13} $RPM_BUILD_ROOT%{_rpmconfigdir}
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/cygwin
-install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/cygwin
+mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/fileattrs
+install -m 0644 %{SOURCE14} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/
+install -m 0644 %{SOURCE15} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/
-%clean
-rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/cygwin
+install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/cygwin/
+install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/cygwin/
-%files
-%defattr(-,root,root,-)
+%files base
%doc COPYING
-%config(noreplace) %{_sysconfdir}/rpm/macros.cygwin
-%config(noreplace) %{_sysconfdir}/profile.d/cygwin.sh
-#%config(noreplace) %{_sysconfdir}/profile.d/cygwin.csh
-%dir %{_sysconfdir}/rpmlint
+%dir %{_sysconfdir}/rpmlint/
%config(noreplace) %{_sysconfdir}/rpmlint/cygwin-rpmlint.config
-%{_bindir}/cygwin-configure
-%{_bindir}/cygwin-make
-%{_bindir}/cygwin-pkg-config
-%{_bindir}/i686-pc-cygwin-pkg-config
-%{_bindir}/cygwin-cmake
-%{_bindir}/cygwin-qmake-qt4
+%{_sysconfdir}/rpm/macros.cygwin
%{_libexecdir}/cygwin-scripts
-%{_prefix}/i686-pc-cygwin/
-%{_datadir}/cygwin
-/usr/lib/rpm/cygwin-*
+%{_rpmconfigdir}/cygwin*
+%dir %{_datadir}/cygwin/
+
+%files -n cygwin32-filesystem
+%{_sysconfdir}/rpm/macros.cygwin32
+%config(noreplace) %{_sysconfdir}/profile.d/cygwin32.sh
+%{_bindir}/cygwin32-configure
+%{_bindir}/cygwin32-cmake
+%{_bindir}/cygwin32-make
+%{_bindir}/cygwin32-pkg-config
+%{_prefix}/i686-pc-cygwin
+%{_rpmconfigdir}/fileattrs/cygwin32.attr
+%{_datadir}/cygwin/Toolchain-cygwin32.cmake
+
+%files -n cygwin64-filesystem
+%{_sysconfdir}/rpm/macros.cygwin64
+%config(noreplace) %{_sysconfdir}/profile.d/cygwin64.sh
+%{_bindir}/cygwin64-configure
+%{_bindir}/cygwin64-cmake
+%{_bindir}/cygwin64-make
+%{_bindir}/cygwin64-pkg-config
+%{_prefix}/x86_64-pc-cygwin
+%{_rpmconfigdir}/fileattrs/cygwin64.attr
+%{_datadir}/cygwin/Toolchain-cygwin64.cmake
%changelog
+* Fri Jun 28 2013 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 9-1
+- Fix debuginfo package handling.
+
+* Thu Jun 27 2013 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 8-1
+- Accept CYGWIN*_CONFIGURE_ARGS and CYGWIN*_CMAKE_ARGS.
+- Use cygwin-pkg-config with CMake.
+
+* Wed Jun 26 2013 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 7-1
+- Support both i686 and x86_64 with separate cygwin32- and cygwin64- prefixes.
+
* Thu Dec 01 2011 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 6-1
- Define AUTOPOINT if cygwin-gettext is installed.
- Forcefully disable /usr/bin/foo-config detection.
diff --git a/cygwin-find-debuginfo.sh b/cygwin-find-debuginfo.sh
index bbe7fc1..31c4799 100755
--- a/cygwin-find-debuginfo.sh
+++ b/cygwin-find-debuginfo.sh
@@ -1,14 +1,18 @@
#!/bin/sh
-#cygwin_find-debuginfo.sh - automagically generate debug info and file list
-#for inclusion in an rpm spec file for cygwin-* packages.
+# cygwin-find-debuginfo.sh - automagically generate debug info and file list
+# for inclusion in an rpm spec file for cygwin-* packages.
-if [ -z "$1" ] ; then BUILDDIR="."
-else BUILDDIR=$1
+if [ "$#" -lt 2 ] ; then
+ echo "Usage: $0 <BUILDDIR> [TARGET]..."
+ exit 1
fi
+BUILDDIR=$1
+shift
+
for f in `find $RPM_BUILD_ROOT -type f -name "*.exe" -or -name "*.dll"`
do
- case $(i686-pc-cygwin-objdump -h $f 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in
+ case $(cygwin-objdump -h $f 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in
*debuglink*) continue ;;
*debug*) ;;
*gnu.version*)
@@ -19,13 +23,17 @@ do
esac
echo extracting debug info from $f
- i686-pc-cygwin-objcopy --only-keep-debug $f $f.debug || :
+ cygwin-objcopy --only-keep-debug $f $f.debug || :
pushd `dirname $f`
- i686-pc-cygwin-objcopy --add-gnu-debuglink=`basename $f.debug` --strip-unneeded `basename $f` || :
+ cygwin-objcopy --add-gnu-debuglink=`basename $f.debug` --strip-unneeded `basename $f` || :
popd
done
-find $RPM_BUILD_ROOT -type f -name "*.exe.debug" -or -name "*.dll.debug" |
- sed -n -e "s#^$RPM_BUILD_ROOT##p" > $BUILDDIR/debugfiles.list
-
-
+for target in $@; do
+ prefix=`rpm --eval "%{${target}_prefix}"`
+ if [ ! -d $RPM_BUILD_ROOT$prefix ] ; then
+ continue
+ fi
+ find $RPM_BUILD_ROOT$prefix -type f -name "*.exe.debug" -or -name "*.dll.debug" |
+ sed -n -e "s#^$RPM_BUILD_ROOT##p" > $BUILDDIR/${target}-debugfiles.list
+done
diff --git a/cygwin-find-lang.sh b/cygwin-find-lang.sh
new file mode 100755
index 0000000..097fc21
--- /dev/null
+++ b/cygwin-find-lang.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Wrapper for the %find_lang macro which splits out the various translations in per-target lists
+
+/usr/lib/rpm/find-lang.sh $*
+if test $? != 0 ; then
+ exit 1
+fi
+
+PACKAGE_NAME=$2
+targets=`rpm --eval '%{mingw_build_targets}'`
+for target in $targets; do
+ prefix=`rpm --eval "%{${target}_prefix}"`
+ cat $2.lang | grep "$prefix" > ${target}-$PACKAGE_NAME.lang
+done
+
+exit 0
diff --git a/cygwin-find-provides.sh b/cygwin-find-provides.sh
index 81fccf4..c92fe6c 100755
--- a/cygwin-find-provides.sh
+++ b/cygwin-find-provides.sh
@@ -3,18 +3,24 @@
# This script reads filenames from STDIN and outputs any relevant provides
# information that needs to be included in the package.
-if [ "$1" ]
-then
- package_name="$1"
+targets=$@
+if [ -z "$targets" ] ; then
+ echo "Usage: $0 [ cygwin32 ] [ cygwin64 ]"
+ exit 1
fi
-[ -z "$OBJDUMP" ] && OBJDUMP=i686-pc-cygwin-objdump
-
filelist=`sed "s/['\"]/\\\&/g"`
dlls=$(echo $filelist | tr [:blank:] '\n' | grep '\.dll$')
for f in $dlls; do
basename=`basename $f | tr [:upper:] [:lower:]`
- echo "cygwin($basename)"
+ for target in $targets; do
+ host_triplet=`rpm --eval "%{${target}_target}"`
+ [[ $f =~ .*$host_triplet.* ]] && echo "$target($basename)"
+ # for backwards compatibility
+ [[ $f =~ .*i686-pc-cygwin.* ]] && echo "cygwin($basename)"
+ done
done
+
+exit 0
diff --git a/cygwin-find-requires.sh b/cygwin-find-requires.sh
index 871c768..69c607d 100755
--- a/cygwin-find-requires.sh
+++ b/cygwin-find-requires.sh
@@ -3,25 +3,33 @@
# This script reads filenames from STDIN and outputs any relevant provides
# information that needs to be included in the package.
-if [ "$1" ]
-then
- package_name="$1"
-fi
+[ -z "$OBJDUMP" ] && OBJDUMP=cygwin-objdump
-[ -z "$OBJDUMP" ] && OBJDUMP=i686-pc-cygwin-objdump
+targets=$@
+if [ -z "$targets" ] ; then
+ echo "Usage: $0 [ cygwin32 ] [ cygwin64 ]"
+ exit 1
+fi
# Get the list of files.
filelist=`sed "s/['\"]/\\\&/g"`
-# Everything requires cygwin-filesystem of at least the current version
-# and cygwin.
-echo 'cygwin-filesystem >= @VERSION@'
-
dlls=$(echo $filelist | tr [:blank:] '\n' | grep -Ei '\.(dll|exe)$')
-for f in $dlls; do
- $OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-._\+[:alnum:]]+\.dll' |
- tr [:upper:] [:lower:] |
- sed 's/\(.*\)/cygwin(\1)/'
+for target in $targets; do
+ dll_found=false
+ host_triplet=`rpm --eval "%{${target}_target}"`
+ for f in $dlls; do
+ if [[ $f =~ .*$host_triplet.* ]]; then
+ $OBJDUMP -p $f | grep 'DLL Name' | grep -Eio '[-._\+[:alnum:]]+\.dll' |
+ tr [:upper:] [:lower:] |
+ sed "s/\(.*\)/$target(\1)/"
+ dll_found=true
+ fi
+ done
+ # Add a dependency on filesystem and crt if necessary
+ if [ $dll_found = true ]; then
+ echo "${target}-filesystem >= 8"
+ fi
done | sort -u
diff --git a/cygwin-rpmlint.config b/cygwin-rpmlint.config
index 08ff7fc..92bc486 100644
--- a/cygwin-rpmlint.config
+++ b/cygwin-rpmlint.config
@@ -3,17 +3,22 @@
# See: http://fedoraproject.org/wiki/MinGW/Rpmlint
# Unconditionally remove devel-file-in-non-devel rpmlint warning.
-addFilter ("^cygwin-.*devel-file-in-non-devel")
+addFilter ("^cygwin32-.*devel-file-in-non-devel")
+addFilter ("^cygwin32-.*devel-file-in-non-devel")
-# /usr/i686-pc-cygwin is permitted by MinGW packaging guidelines.
-addFilter ("^cygwin-.*non-standard-dir-in-usr i686-pc-cygwin")
+# /usr/*-pc-cygwin is permitted by MinGW packaging guidelines.
+addFilter ("^cygwin32-.*non-standard-dir-in-usr i686-pc-cygwin")
+addFilter ("^cygwin64-.*non-standard-dir-in-usr x86_64-pc-cygwin")
# Permit *.la files (error is a bit odd, but it's what rpmlint prints).
-addFilter ("^cygwin-.*script-without-shebang.*\.la$")
+addFilter ("^cygwin32-.*script-without-shebang.*\.la$")
+addFilter ("^cygwin64-.*script-without-shebang.*\.la$")
# GCC and libtool create executable archive files. It's not clear
# why, but we permit this for now.
-addFilter ("^cygwin-.*spurious-executable-perm.*\.dll\.a$")
+addFilter ("^cygwin32-.*spurious-executable-perm.*\.dll\.a$")
+addFilter ("^cygwin64-.*spurious-executable-perm.*\.dll\.a$")
# *.dll.a files are permitted arch-independent objects.
-addFilter ("^cygwin-.*arch-independent-package-contains-binary-or-object.*\.dll\.a$")
+addFilter ("^cygwin32-.*arch-independent-package-contains-binary-or-object.*\.dll\.a$")
+addFilter ("^cygwin64-.*arch-independent-package-contains-binary-or-object.*\.dll\.a$")
diff --git a/cygwin-scripts.sh b/cygwin-scripts.sh
index 3274a48..669ff6b 100755
--- a/cygwin-scripts.sh
+++ b/cygwin-scripts.sh
@@ -6,8 +6,8 @@
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,15 +16,18 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
# This is a useful command-line script through which one can use the
-# macros from cygwin-macros.cygwin cross-compilation.
+# macros from /etc/rpm/macros.cross, macros.cygwin32 and macros.cygwin64
if [ "`basename $0`" = "i686-pc-cygwin-pkg-config" ] ; then
- NAME="_cygwin_pkg_config"
+ NAME="cygwin32_pkg_config"
+elif [ "`basename $0`" = "x86_64-pc-cygwin-pkg-config" ] ; then
+ NAME="cygwin64_pkg_config"
else
- NAME="_`basename $0|tr -- - _`"
+ NAME="`basename $0|tr -- - _`"
fi
# NOTE: The use of 'eval' in combination with '$@' is a potential security risk
diff --git a/cygwin.csh b/cygwin.csh
deleted file mode 100644
index 50eb3fd..0000000
--- a/cygwin.csh
+++ /dev/null
@@ -1 +0,0 @@
-# Environment variables for Cygwin.
diff --git a/cygwin.sh b/cygwin.sh
deleted file mode 100644
index 3ec603d..0000000
--- a/cygwin.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-# Environment variables for Cygwin.
-
-alias cygwin-env='eval `rpm --eval %{_cygwin_env}`'
diff --git a/cygwin32.attr b/cygwin32.attr
new file mode 100644
index 0000000..f0765ce
--- /dev/null
+++ b/cygwin32.attr
@@ -0,0 +1,3 @@
+%__cygwin32_provides %{_rpmconfigdir}/cygwin-find-provides.sh cygwin32
+%__cygwin32_requires %{_rpmconfigdir}/cygwin-find-requires.sh cygwin32
+%__cygwin32_path ^%{cygwin32_prefix}/.*\.([Dd][Ll][Ll]|[Ee][Xx][Ee])$
diff --git a/cygwin32.sh b/cygwin32.sh
new file mode 100644
index 0000000..3e3c2b2
--- /dev/null
+++ b/cygwin32.sh
@@ -0,0 +1,3 @@
+# Environment variables for cross compilers.
+
+alias cygwin32-env='eval `rpm --eval %{cygwin32_env}`'
diff --git a/cygwin64.attr b/cygwin64.attr
new file mode 100644
index 0000000..ca56908
--- /dev/null
+++ b/cygwin64.attr
@@ -0,0 +1,3 @@
+%__cygwin64_provides %{_rpmconfigdir}/cygwin-find-provides.sh cygwin64
+%__cygwin64_requires %{_rpmconfigdir}/cygwin-find-requires.sh cygwin64
+%__cygwin64_path ^%{cygwin64_prefix}/.*\.([Dd][Ll][Ll]|[Ee][Xx][Ee])$
diff --git a/cygwin64.sh b/cygwin64.sh
new file mode 100644
index 0000000..eca49f0
--- /dev/null
+++ b/cygwin64.sh
@@ -0,0 +1,3 @@
+# Environment variables for cross compilers.
+
+alias cygwin64-env='eval `rpm --eval %{cygwin64_env}`'
diff --git a/macros.cygwin b/macros.cygwin
index f66a5c4..85aedd6 100644
--- a/macros.cygwin
+++ b/macros.cygwin
@@ -1,202 +1,124 @@
-# RPM macros for Fedora Cygwin.
+# RPM macros for the Fedora MinGW Cross Compiler collection
-%_cygwin_target i686-pc-cygwin
+%cygwin_build_targets cygwin32 cygwin64
+%cygwin_build_32bit 1
+%cygwin_build_64bit 1
-# Paths.
-%_cygwin_sysroot %{_prefix}/%{_cygwin_target}/sys-root
-%_cygwin_prefix %{_cygwin_sysroot}/usr
-%_cygwin_exec_prefix %{_cygwin_prefix}
-%_cygwin_bindir %{_cygwin_exec_prefix}/bin
-%_cygwin_sbindir %{_cygwin_exec_prefix}/sbin
-%_cygwin_libexecdir %{_cygwin_exec_prefix}/lib
-%_cygwin_libdir %{_cygwin_exec_prefix}/lib
-%_cygwin_datadir %{_cygwin_prefix}/share
-%_cygwin_docdir %{_cygwin_prefix}/share/doc
-%_cygwin_infodir %{_cygwin_prefix}/share/info
-%_cygwin_mandir %{_cygwin_prefix}/share/man
-%_cygwin_sysconfdir %{_cygwin_sysroot}/etc
-%_cygwin_sharedstatedir %{_cygwin_sysroot}/srv
-%_cygwin_localstatedir %{_cygwin_sysroot}/var
-%_cygwin_includedir %{_cygwin_prefix}/include
+%cygwin_strip cygwin-strip
+%cygwin_objdump cygwin-objdump
+%cygwin_objcopy cygwin-objcopy
-# Build macros.
-%_cygwin_host %{_cygwin_target}
+%cygwin_findprovides %{_rpmconfigdir}/cygwin-find-provides.sh %{cygwin_build_targets}
+%cygwin_findrequires %{_rpmconfigdir}/cygwin-find-requires.sh %{cygwin_build_targets}
+%cygwin_finddebuginfo %{_rpmconfigdir}/cygwin-find-debuginfo.sh
-%_cygwin_cflags -O2 -g -pipe -Wall
+%cygwin_find_lang %{_rpmconfigdir}/cygwin-find-lang.sh %{buildroot}
-%_cygwin_cc %{_cygwin_target}-gcc
-%_cygwin_cxx %{_cygwin_target}-g++
-%_cygwin_cpp %{_cygwin_target}-gcc -E
-%_cygwin_addr2line %{_cygwin_target}-addr2line
-%_cygwin_ar %{_cygwin_target}-ar
-%_cygwin_as %{_cygwin_target}-as
-%_cygwin_c++ %{_cygwin_target}-c++
-%_cygwin_c++filt %{_cygwin_target}-c++filt
-%_cygwin_dlltool %{_cygwin_target}-dlltool
-%_cygwin_dllwrap %{_cygwin_target}-dllwrap
-%_cygwin_gcov %{_cygwin_target}-gcov
-%_cygwin_gprof %{_cygwin_target}-gprof
-%_cygwin_ld %{_cygwin_target}-ld
-%_cygwin_nm %{_cygwin_target}-nm
-%_cygwin_objcopy %{_cygwin_target}-objcopy
-%_cygwin_objdump %{_cygwin_target}-objdump
-%_cygwin_ranlib %{_cygwin_target}-ranlib
-%_cygwin_readelf %{_cygwin_target}-readelf
-%_cygwin_size %{_cygwin_target}-size
-%_cygwin_strings %{_cygwin_target}-strings
-%_cygwin_strip %{_cygwin_target}-strip
-%_cygwin_windmc %{_cygwin_target}-windmc
-%_cygwin_windres %{_cygwin_target}-windres
+%cygwin_debug_install_post %{cygwin_finddebuginfo} %{_builddir}/%{?buildsubdir} %{cygwin_build_targets}
-%_cygwin_qmake %{_cygwin_target}-qmake
-%_cygwin_moc %{_cygwin_target}-moc
-%_cygwin_rcc %{_cygwin_target}-rcc
-%_cygwin_uic %{_cygwin_target}-uic
-%_cygwin_uic3 %{_cygwin_target}-uic3
-%_cygwin_lrelease %{_cygwin_target}-lrelease
-%_cygwin_lupdate %{_cygwin_target}-lupdate
-%_cygwin_qdbuscpp2xml %{_cygwin_target}-qdbuscpp2xml
-%_cygwin_qdbusxml2cpp %{_cygwin_target}-qdbusxml2cpp
-
-%_cygwin_cache cygwin-config.cache
-
-%_cygwin_findprovides /usr/lib/rpm/cygwin-find-provides.sh
-%_cygwin_findrequires /usr/lib/rpm/cygwin-find-requires.sh
-%_cygwin_finddebuginfo /usr/lib/rpm/cygwin-find-debuginfo.sh
-
-%_cygwin_debug_install_post \
- /usr/lib/rpm/cygwin-find-debuginfo.sh %{_builddir}/%{?buildsubdir}\
+%cygwin_debug_package \
+%if 0%{?cygwin_build_32bit} == 1 \
+%{?cygwin32_debug_package} \
+%endif \
+%if 0%{?cygwin_build_64bit} == 1 \
+%{?cygwin64_debug_package} \
+%endif \
%{nil}
-
-# Template for debug sub-package.
-%_cygwin_debug_package(n:) \
-%package %{-n:-n %{-n*}-}debuginfo \
-Summary: Debug information for package %{name} \
-Group: Development/Debug \
-%description %{-n:-n %{-n*}-}debuginfo \
-This package provides debug information for package %{name}.\
-Debug information is useful when developing applications that use this\
-package or when debugging this package.\
-%files debuginfo -f debugfiles.list\
-%defattr(-,root,root,-)\
+%cygwin_package_header \
+%global __strip %{cygwin_strip} \
+%global __objdump %{cygwin_objdump} \
+%if 0%{?rhel} == 6 \
+%global _use_internal_dependency_generator 0 \
+%global __find_requires %{cygwin_findrequires} \
+%global __find_provides %{cygwin_findprovides} \
+%endif \
+%global __debug_install_post %%{cygwin_debug_install_post} \
%{nil}
-%_cygwin_env HOST_CC=gcc; export HOST_CC; \
- PKG_CONFIG_LIBDIR="%{_cygwin_libdir}/pkgconfig:%{_cygwin_datadir}/pkgconfig:%{_datadir}/pkgconfig"; \
- export PKG_CONFIG_LIBDIR; \
- unset PKG_CONFIG_PATH; \
- _PREFIX="%{_bindir}/%{_cygwin_target}-"; \
- for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
- x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-\." "A-ZX__"`; \
- declare -x $x="$i" ; export $x; \
- done; \
- unset _PREFIX; \
- CC="${cygwin_CC:-%_cygwin_cc}"; export CC; \
- CFLAGS="${cygwin_CFLAGS:-%_cygwin_cflags}"; export CFLAGS; \
- if [ -x "%{_bindir}/%{_cygwin_cxx}" ]; then \
- CXX="${cygwin_CXX:-%_cygwin_cxx}"; export CXX; \
- CXXFLAGS="${cygwin_CXXFLAGS:-%_cygwin_cflags}"; export CXXFLAGS; \
- else \
- CXX=; export CXX; \
- ac_cv_prog_CXX=no; export ac_cv_prog_CXX; \
- CXXFLAGS=; export CXXFLAGS; \
- fi; \
- for i in `ls %{_bindir}/*|grep -- "[-_]config\$"` ; do \
- case $i in *pkg-config) continue ; esac ; \
- x=`basename $i|tr "a-z+-\." "A-ZX__"`; \
- declare -x $x="no" ; export $x; \
- declare -x ac_cv_path_$x="no" ; export ac_cv_path_$x; \
- done; \
- for i in `ls %{_cygwin_bindir}/*|grep -- "[-_]config\$"` ; do \
- x=`basename $i|tr "a-z+-\." "A-ZX__"`; \
- declare -x $x="$i" ; export $x; \
- declare -x ac_cv_path_$x="$i" ; export ac_cv_path_$x; \
- done; \
- if [ -x %{_cygwin_bindir}/autopoint ]; then \
- eval gettext_`grep '^version=' %{_cygwin_bindir}/autopoint`; \
- AUTOPOINT="%{_cygwin_bindir}/autopoint -V $gettext_version" ; export AUTOPOINT; \
- fi; \
- if [ -x %{_cygwin_bindir}/libtoolize ]; then \
- LIBTOOLIZE=%{_cygwin_bindir}/libtoolize; export LIBTOOLIZE; \
- fi; \
- unset x i
-
-%_cygwin_pkg_config \
- PKG_CONFIG_LIBDIR="%{_cygwin_libdir}/pkgconfig:%{_cygwin_datadir}/pkgconfig:%{_datadir}/pkgconfig"; \
- export PKG_CONFIG_LIBDIR; \
- pkg-config
-
-%_cygwin_autoreconf %{_cygwin_env} ; \
- autoreconf -f -i -I %{_cygwin_datadir}/aclocal
-
-%_cygwin_configure %{_cygwin_env} ; \
- __cygwin_topdir=.; if ! test -x configure; then __cygwin_topdir=..; fi; \\\
- $__cygwin_topdir/configure --cache-file=%{_cygwin_cache} \\\
- --host=%{_cygwin_host} \\\
- --build=%_build \\\
- --target=%{_cygwin_target} \\\
- --prefix=%{_cygwin_prefix} \\\
- --exec-prefix=%{_cygwin_exec_prefix} \\\
- --bindir=%{_cygwin_bindir} \\\
- --sbindir=%{_cygwin_sbindir} \\\
- --sysconfdir=%{_cygwin_sysconfdir} \\\
- --datadir=%{_cygwin_datadir} \\\
- --includedir=%{_cygwin_includedir} \\\
- --libdir=%{_cygwin_libdir} \\\
- --libexecdir=%{_cygwin_libexecdir} \\\
- --localstatedir=%{_cygwin_localstatedir} \\\
- --sharedstatedir=%{_cygwin_sharedstatedir} \\\
- --mandir=%{_cygwin_mandir} \\\
- --infodir=%{_cygwin_infodir}
-
-%_cygwin_make %{_cygwin_env} ; \
- make \\\
- prefix=%{_cygwin_prefix} \\\
- exec_prefix=%{_cygwin_exec_prefix} \\\
- bindir=%{_cygwin_bindir} \\\
- sbindir=%{_cygwin_sbindir} \\\
- sysconfdir=%{_cygwin_sysconfdir} \\\
- datadir=%{_cygwin_datadir} \\\
- includedir=%{_cygwin_includedir} \\\
- libdir=%{_cygwin_libdir} \\\
- libexecdir=%{_cygwin_libexecdir} \\\
- localstatedir=%{_cygwin_localstatedir} \\\
- sharedstatedir=%{_cygwin_sharedstatedir} \\\
- mandir=%{_cygwin_mandir} \\\
- infodir=%{_cygwin_infodir}
-
-%_cygwin_makeinstall %{_cygwin_env} ; \
- make \\\
- prefix=%{?buildroot:%{buildroot}}%{_cygwin_prefix} \\\
- exec_prefix=%{?buildroot:%{buildroot}}%{_cygwin_exec_prefix} \\\
- bindir=%{?buildroot:%{buildroot}}%{_cygwin_bindir} \\\
- sbindir=%{?buildroot:%{buildroot}}%{_cygwin_sbindir} \\\
- sysconfdir=%{?buildroot:%{buildroot}}%{_cygwin_sysconfdir} \\\
- datadir=%{?buildroot:%{buildroot}}%{_cygwin_datadir} \\\
- includedir=%{?buildroot:%{buildroot}}%{_cygwin_includedir} \\\
- libdir=%{?buildroot:%{buildroot}}%{_cygwin_libdir} \\\
- libexecdir=%{?buildroot:%{buildroot}}%{_cygwin_libexecdir} \\\
- localstatedir=%{?buildroot:%{buildroot}}%{_cygwin_localstatedir} \\\
- sharedstatedir=%{?buildroot:%{buildroot}}%{_cygwin_sharedstatedir} \\\
- mandir=%{?buildroot:%{buildroot}}%{_cygwin_mandir} \\\
- infodir=%{?buildroot:%{buildroot}}%{_cygwin_infodir} \\\
- install
-
-%_cygwin_cmake %{_cygwin_env} ; \
- %__cmake \\\
- -Wno-dev \\\
- -DCMAKE_VERBOSE_MAKEFILE=ON \\\
- -DCMAKE_INSTALL_PREFIX:PATH=%{_cygwin_prefix} \\\
- -DCMAKE_INSTALL_LIBDIR:PATH=%{_cygwin_libdir} \\\
- -DINCLUDE_INSTALL_DIR:PATH=%{_cygwin_includedir} \\\
- -DLIB_INSTALL_DIR:PATH=%{_cygwin_libdir} \\\
- -DSYSCONF_INSTALL_DIR:PATH=%{_cygwin_sysconfdir} \\\
- -DSHARE_INSTALL_PREFIX:PATH=%{_cygwin_datadir} \\\
- %{?_cmake_skip_rpath} \\\
- -DBUILD_SHARED_LIBS:BOOL=ON \\\
- -DCMAKE_TOOLCHAIN_FILE=/usr/share/cygwin/Toolchain-cygwin.cmake
-
-%_cygwin_description This is the cross-compiled version of this library / tool.\
-You should only install this package if you want to cross-compile programs for \
-Cygwin.
+%cygwin_configure \
+run_cygwin_configure() \
+{ \
+%if 0%{?cygwin_build_32bit} == 1 \
+mkdir build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin32_configure} "$@" \
+popd \
+%endif \
+%if 0%{?cygwin_build_64bit} == 1 \
+mkdir build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin64_configure} "$@" \
+popd \
+%endif \
+} \
+run_cygwin_configure
+
+%cygwin_make \
+run_cygwin_make() \
+{ \
+%if 0%{?cygwin_build_32bit} == 1 \
+make -C build_32bit$CYGWIN_BUILDDIR_SUFFIX "$@" $CYGWIN32_MAKE_ARGS \
+%endif \
+%if 0%{?cygwin_build_64bit} == 1 \
+make -C build_64bit$CYGWIN_BUILDDIR_SUFFIX "$@" $CYGWIN64_MAKE_ARGS \
+%endif \
+} \
+run_cygwin_make
+
+%cygwin_cmake \
+run_cygwin_cmake() \
+{ \
+%if 0%{?cygwin_build_32bit} == 1 \
+mkdir build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin32_cmake "$@"} \
+popd \
+%endif \
+%if 0%{?cygwin_build_64bit} == 1 \
+mkdir build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin64_cmake "$@"} \
+popd \
+%endif \
+} \
+run_cygwin_cmake
+
+%cygwin_cmake_kde4 \
+run_cygwin_cmake_kde4() \
+{ \
+%if 0%{?cygwin_build_32bit} == 1 \
+mkdir build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin32_cmake_kde4 "$@"} \
+popd \
+%endif \
+%if 0%{?cygwin_build_64bit} == 1 \
+mkdir build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin64_cmake_kde4 "$@"} \
+popd \
+%endif \
+} \
+run_cygwin_cmake_kde4
+
+%cygwin_qmake_qt4 \
+run_cygwin_qmake_qt4() \
+{ \
+%if 0%{?cygwin_build_32bit} == 1 \
+mkdir build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_32bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin32_qmake_qt4} "$@" \
+popd \
+%endif \
+%if 0%{?cygwin_build_64bit} == 1 \
+mkdir build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+pushd build_64bit$CYGWIN_BUILDDIR_SUFFIX \
+ %{?cygwin64_qmake_qt4} "$@" \
+popd \
+%endif \
+} \
+run_cygwin_qmake_qt4
+
+# Deprecated:
+%cygwin_make_install %cygwin_make install
diff --git a/macros.cygwin32 b/macros.cygwin32
new file mode 100644
index 0000000..971deea
--- /dev/null
+++ b/macros.cygwin32
@@ -0,0 +1,262 @@
+# RPM macros for Fedora Cygwin.
+
+%cygwin32_pkg_name %(echo %{name} | sed 's/^cygwin-/cygwin32-/')
+%cygwin32_target i686-pc-cygwin
+
+# Paths.
+%cygwin32_sysroot %{_prefix}/%{cygwin32_target}/sys-root
+%cygwin32_prefix %{cygwin32_sysroot}/usr
+%cygwin32_exec_prefix %{cygwin32_prefix}
+%cygwin32_bindir %{cygwin32_exec_prefix}/bin
+%cygwin32_sbindir %{cygwin32_exec_prefix}/sbin
+%cygwin32_libexecdir %{cygwin32_exec_prefix}/lib
+%cygwin32_libdir %{cygwin32_exec_prefix}/lib
+%cygwin32_datadir %{cygwin32_prefix}/share
+%cygwin32_docdir %{cygwin32_prefix}/share/doc
+%cygwin32_infodir %{cygwin32_prefix}/share/info
+%cygwin32_mandir %{cygwin32_prefix}/share/man
+%cygwin32_sysconfdir %{cygwin32_sysroot}/etc
+%cygwin32_sharedstatedir %{cygwin32_sysroot}/srv
+%cygwin32_localstatedir %{cygwin32_sysroot}/var
+%cygwin32_includedir %{cygwin32_prefix}/include
+
+# Build macros.
+%cygwin32_host %{cygwin32_target}
+
+%cygwin32_cflags -O2 -g -pipe -Wall
+
+%cygwin32_cc %{cygwin32_target}-gcc
+%cygwin32_cxx %{cygwin32_target}-g++
+%cygwin32_cpp %{cygwin32_target}-gcc -E
+%cygwin32_addr2line %{cygwin32_target}-addr2line
+%cygwin32_ar %{cygwin32_target}-ar
+%cygwin32_as %{cygwin32_target}-as
+%cygwin32_cxxfilt %{cygwin32_target}-c++filt
+%cygwin32_dlltool %{cygwin32_target}-dlltool
+%cygwin32_dllwrap %{cygwin32_target}-dllwrap
+%cygwin32_gcov %{cygwin32_target}-gcov
+%cygwin32_gprof %{cygwin32_target}-gprof
+%cygwin32_ld %{cygwin32_target}-ld
+%cygwin32_nm %{cygwin32_target}-nm
+%cygwin32_objcopy %{cygwin32_target}-objcopy
+%cygwin32_objdump %{cygwin32_target}-objdump
+%cygwin32_ranlib %{cygwin32_target}-ranlib
+%cygwin32_readelf %{cygwin32_target}-readelf
+%cygwin32_size %{cygwin32_target}-size
+%cygwin32_strings %{cygwin32_target}-strings
+%cygwin32_strip %{cygwin32_target}-strip
+%cygwin32_windmc %{cygwin32_target}-windmc
+%cygwin32_windres %{cygwin32_target}-windres
+
+%cygwin32_qmake %{cygwin32_target}-qmake
+%cygwin32_moc %{cygwin32_target}-moc
+%cygwin32_rcc %{cygwin32_target}-rcc
+%cygwin32_uic %{cygwin32_target}-uic
+%cygwin32_uic3 %{cygwin32_target}-uic3
+%cygwin32_lrelease %{cygwin32_target}-lrelease
+%cygwin32_lupdate %{cygwin32_target}-lupdate
+%cygwin32_qdbuscpp2xml %{cygwin32_target}-qdbuscpp2xml
+%cygwin32_qdbusxml2cpp %{cygwin32_target}-qdbusxml2cpp
+
+%cygwin32_cache cygwin32-config.cache
+
+# Template for debug sub-package.
+%cygwin32_debug_package \
+%package -n %{cygwin32_pkg_name}-debuginfo \
+Summary: Debug information for package %{name} \
+Group: Development/Debug \
+%description -n %{cygwin32_pkg_name}-debuginfo \
+This package provides debug information for package %{name}. \
+Debug information is useful when developing applications that use this \
+package or when debugging this package. \
+%files -n %{cygwin32_pkg_name}-debuginfo -f cygwin32-debugfiles.list \
+%defattr(-,root,root,-) \
+%{nil}
+
+
+%cygwin32_env HOST_CC=gcc; export HOST_CC; \
+ PKG_CONFIG_LIBDIR="%{cygwin32_libdir}/pkgconfig:%{cygwin32_datadir}/pkgconfig:%{_datadir}/pkgconfig"; \
+ export PKG_CONFIG_LIBDIR; \
+ PKG_CONFIG_SYSTEM_INCLUDE_PATH="%{cygwin32_includedir}"; \
+ export PKG_CONFIG_SYSTEM_INCLUDE_PATH; \
+ PKG_CONFIG_SYSTEM_LIBRARY_PATH="%{cygwin32_libdir}"; \
+ export PKG_CONFIG_SYSTEM_LIBRARY_PATH; \
+ unset PKG_CONFIG_PATH; \
+ _PREFIX="%{_bindir}/%{cygwin32_target}-"; \
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
+ x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-\." "A-ZX__"`; \
+ declare -x $x="$i" ; export $x; \
+ done; \
+ unset _PREFIX; \
+ CC="${cygwin_CC:-%cygwin32_cc}"; export CC; \
+ CFLAGS="${cygwin_CFLAGS:-%cygwin32_cflags}"; export CFLAGS; \
+ if [ -x "%{_bindir}/%{cygwin32_cxx}" ]; then \
+ CXX="${cygwin_CXX:-%cygwin32_cxx}"; export CXX; \
+ CXXFLAGS="${cygwin_CXXFLAGS:-%cygwin32_cflags}"; export CXXFLAGS; \
+ else \
+ CXX=; export CXX; \
+ ac_cv_prog_CXX=no; export ac_cv_prog_CXX; \
+ CXXFLAGS=; export CXXFLAGS; \
+ fi; \
+ for i in `ls %{_bindir}/*|grep -- "[-_]config\$"` ; do \
+ case $i in *pkg-config) continue ; esac ; \
+ x=`basename $i|tr "a-z+-\." "A-ZX__"`; \
+ declare -x $x="no" ; export $x; \
+ declare -x ac_cv_path_$x="no" ; export ac_cv_path_$x; \
+ done; \
+ for i in `ls %{cygwin32_bindir}/*|grep -- "[-_]config\$"` ; do \
+ x=`basename $i|tr "a-z+-\." "A-ZX__"`; \
+ declare -x $x="$i" ; export $x; \
+ declare -x ac_cv_path_$x="$i" ; export ac_cv_path_$x; \
+ done; \
+ if [ -d %{cygwin32_datadir}/aclocal ]; then \
+ ACLOCAL_FLAGS="-I %{cygwin32_datadir}/aclocal"; export ACLOCAL_FLAGS; \
+ ACLOCAL="%{_bindir}/aclocal $ACLOCAL_FLAGS"; export ACLOCAL; \
+ fi; \
+ if [ -x %{cygwin32_bindir}/autopoint ]; then \
+ eval gettext_`grep '^version=' %{cygwin32_bindir}/autopoint`; \
+ AUTOPOINT="%{cygwin32_bindir}/autopoint -V $gettext_version" ; export AUTOPOINT; \
+ fi; \
+ if [ -x %{cygwin32_bindir}/libtoolize ]; then \
+ LIBTOOLIZE=%{cygwin32_bindir}/libtoolize; export LIBTOOLIZE; \
+ fi; \
+ unset x i
+
+%cygwin32_pkg_config %{cygwin32_target}-pkg-config
+
+%cygwin32_autoreconf %{cygwin32_env} ; \
+ autoreconf -f -i -I %{cygwin32_datadir}/aclocal
+
+%cygwin32_configure %{cygwin32_env} ; \
+ unset PKG_CONFIG_LIBDIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH; \\\
+ _cygwin32_topdir=.; if ! test -x configure; then _cygwin32_topdir=..; fi; \\\
+ $_cygwin32_topdir/configure --cache-file=%{cygwin32_cache} \\\
+ --host=%{cygwin32_host} \\\
+ --build=%_build \\\
+ --target=%{cygwin32_target} \\\
+ --prefix=%{cygwin32_prefix} \\\
+ --exec-prefix=%{cygwin32_exec_prefix} \\\
+ --bindir=%{cygwin32_bindir} \\\
+ --sbindir=%{cygwin32_sbindir} \\\
+ --sysconfdir=%{cygwin32_sysconfdir} \\\
+ --datadir=%{cygwin32_datadir} \\\
+ --includedir=%{cygwin32_includedir} \\\
+ --libdir=%{cygwin32_libdir} \\\
+ --libexecdir=%{cygwin32_libexecdir} \\\
+ --localstatedir=%{cygwin32_localstatedir} \\\
+ --sharedstatedir=%{cygwin32_sharedstatedir} \\\
+ --mandir=%{cygwin32_mandir} \\\
+ --infodir=%{cygwin32_infodir} \\\
+ ${CYGWIN_CONFIGURE_ARGS} \\\
+ ${CYGWIN32_CONFIGURE_ARGS}
+
+%cygwin32_make %{cygwin32_env} ; \
+ make \\\
+ prefix=%{cygwin32_prefix} \\\
+ exec_prefix=%{cygwin32_exec_prefix} \\\
+ bindir=%{cygwin32_bindir} \\\
+ sbindir=%{cygwin32_sbindir} \\\
+ sysconfdir=%{cygwin32_sysconfdir} \\\
+ datadir=%{cygwin32_datadir} \\\
+ includedir=%{cygwin32_includedir} \\\
+ libdir=%{cygwin32_libdir} \\\
+ libexecdir=%{cygwin32_libexecdir} \\\
+ localstatedir=%{cygwin32_localstatedir} \\\
+ sharedstatedir=%{cygwin32_sharedstatedir} \\\
+ mandir=%{cygwin32_mandir} \\\
+ infodir=%{cygwin32_infodir}
+
+%cygwin32_cmake %{cygwin32_env} ; \
+ %__cmake \\\
+ -Wno-dev \\\
+ -DCMAKE_VERBOSE_MAKEFILE=ON \\\
+ -DCMAKE_INSTALL_PREFIX:PATH=%{cygwin32_prefix} \\\
+ -DCMAKE_INSTALL_LIBDIR:PATH=%{cygwin32_libdir} \\\
+ -DINCLUDE_INSTALL_DIR:PATH=%{cygwin32_includedir} \\\
+ -DLIB_INSTALL_DIR:PATH=%{cygwin32_libdir} \\\
+ -DSYSCONF_INSTALL_DIR:PATH=%{cygwin32_sysconfdir} \\\
+ -DSHARE_INSTALL_PREFIX:PATH=%{cygwin32_datadir} \\\
+ %{?_cmake_skip_rpath} \\\
+ -DBUILD_SHARED_LIBS:BOOL=ON \\\
+ -DCMAKE_TOOLCHAIN_FILE=/usr/share/cygwin/Toolchain-cygwin32.cmake \\\
+ ${CYGWIN_CMAKE_ARGS} \\\
+ ${CYGWIN32_CMAKE_ARGS}
+
+%cygwin32_description This is the cross-compiled version of this library / tool.\
+You should only install this package if you want to cross-compile programs for \
+Cygwin i686.
+
+# Maintain backwards compatibility with the original Cygwin packaging guidelines
+# These can be dropped as soon as all packages are ported to the new packaging guidelines
+%_cygwin_target %{cygwin32_target}
+%_cygwin_sysroot %{cygwin32_sysroot}
+%_cygwin_prefix %{cygwin32_prefix}
+%_cygwin_exec_prefix %{cygwin32_exec_prefix}
+%_cygwin_bindir %{cygwin32_bindir}
+%_cygwin_sbindir %{cygwin32_sbindir}
+%_cygwin_libexecdir %{cygwin32_libexecdir}
+%_cygwin_libdir %{cygwin32_libdir}
+%_cygwin_datadir %{cygwin32_datadir}
+%_cygwin_docdir %{cygwin32_docdir}
+%_cygwin_infodir %{cygwin32_infodir}
+%_cygwin_mandir %{cygwin32_mandir}
+%_cygwin_sysconfdir %{cygwin32_sysconfdir}
+%_cygwin_sharedstatedir %{cygwin32_sharedstatedir}
+%_cygwin_localstatedir %{cygwin32_localstatedir}
+%_cygwin_includedir %{cygwin32_includedir}
+%_cygwin_host %{cygwin32_host}
+%_cygwin_cflags %{cygwin32_cflags}
+%_cygwin_cppflags %{cygwin32_cppflags}
+%_cygwin_ldflags %{cygwin32_ldflags}
+%_cygwin_findprovides %{cygwin_findprovides}
+%_cygwin_findrequires %{cygwin_findrequires}
+%_cygwin_cc %{cygwin32_cc}
+%_cygwin_cxx %{cygwin32_cxx}
+%_cygwin_cpp %{cygwin32_cpp}
+%_cygwin_addr2line %{cygwin32_addr2line}
+%_cygwin_ar %{cygwin32_ar}
+%_cygwin_as %{cygwin32_as}
+%_cygwin_cxxfilt %{cygwin32_c++filt}
+%_cygwin_dlltool %{cygwin32_dlltool}
+%_cygwin_dllwrap %{cygwin32_dllwrap}
+%_cygwin_gcov %{cygwin32_gcov}
+%_cygwin_gprof %{cygwin32_gprof}
+%_cygwin_ld %{cygwin32_ld}
+%_cygwin_nm %{cygwin32_nm}
+%_cygwin_objcopy %{cygwin32_objcopy}
+%_cygwin_objdump %{cygwin32_objdump}
+%_cygwin_ranlib %{cygwin32_ranlib}
+%_cygwin_readelf %{cygwin32_readelf}
+%_cygwin_size %{cygwin32_size}
+%_cygwin_strings %{cygwin32_strings}
+%_cygwin_strip %{cygwin32_strip}
+%_cygwin_windmc %{cygwin32_windmc}
+%_cygwin_windres %{cygwin32_windres}
+%_cygwin_env %{cygwin32_env}
+%_cygwin_pkg_config %{cygwin32_pkg_config}
+%_cygwin_configure %{cygwin32_configure}
+%_cygwin_make %{cygwin32_make}
+%_cygwin_cmake %{cygwin32_cmake}
+%_cygwin_description %{cygwin32_description}
+%_cygwin_debug_package %{cygwin32_debug_package}
+%_cygwin_debug_install_post %{cygwin_debug_install_post}
+
+
+# This macro has been dropped from the new guidelines, keep
+# it here around for backwards compatibility
+%_cygwin_makeinstall %{cygwin32_env} ; \
+ make \\\
+ prefix=%{?buildroot:%{buildroot}}%{cygwin32_prefix} \\\
+ exec_prefix=%{?buildroot:%{buildroot}}%{cygwin32_exec_prefix} \\\
+ bindir=%{?buildroot:%{buildroot}}%{cygwin32_bindir} \\\
+ sbindir=%{?buildroot:%{buildroot}}%{cygwin32_sbindir} \\\
+ sysconfdir=%{?buildroot:%{buildroot}}%{cygwin32_sysconfdir} \\\
+ datadir=%{?buildroot:%{buildroot}}%{cygwin32_datadir} \\\
+ includedir=%{?buildroot:%{buildroot}}%{cygwin32_includedir} \\\
+ libdir=%{?buildroot:%{buildroot}}%{cygwin32_libdir} \\\
+ libexecdir=%{?buildroot:%{buildroot}}%{cygwin32_libexecdir} \\\
+ localstatedir=%{?buildroot:%{buildroot}}%{cygwin32_localstatedir} \\\
+ sharedstatedir=%{?buildroot:%{buildroot}}%{cygwin32_sharedstatedir} \\\
+ mandir=%{?buildroot:%{buildroot}}%{cygwin32_mandir} \\\
+ infodir=%{?buildroot:%{buildroot}}%{cygwin32_infodir} \\\
+ install
diff --git a/macros.cygwin64 b/macros.cygwin64
new file mode 100644
index 0000000..81f33b9
--- /dev/null
+++ b/macros.cygwin64
@@ -0,0 +1,205 @@
+# RPM macros for Fedora Cygwin.
+
+%cygwin64_pkg_name %(echo %{name} | sed 's/^cygwin-/cygwin64-/')
+%cygwin64_target x86_64-pc-cygwin
+
+# Paths.
+%cygwin64_sysroot %{_prefix}/%{cygwin64_target}/sys-root
+%cygwin64_prefix %{cygwin64_sysroot}/usr
+%cygwin64_exec_prefix %{cygwin64_prefix}
+%cygwin64_bindir %{cygwin64_exec_prefix}/bin
+%cygwin64_sbindir %{cygwin64_exec_prefix}/sbin
+%cygwin64_libexecdir %{cygwin64_exec_prefix}/libexec
+%cygwin64_libdir %{cygwin64_exec_prefix}/lib
+%cygwin64_datadir %{cygwin64_prefix}/share
+%cygwin64_docdir %{cygwin64_prefix}/share/doc
+%cygwin64_infodir %{cygwin64_prefix}/share/info
+%cygwin64_mandir %{cygwin64_prefix}/share/man
+%cygwin64_sysconfdir %{cygwin64_sysroot}/etc
+%cygwin64_sharedstatedir %{cygwin64_sysroot}/srv
+%cygwin64_localstatedir %{cygwin64_sysroot}/var
+%cygwin64_includedir %{cygwin64_prefix}/include
+
+# Build macros.
+%cygwin64_host %{cygwin64_target}
+
+%cygwin64_cflags -O2 -g -pipe -Wall
+
+%cygwin64_cc %{cygwin64_target}-gcc
+%cygwin64_cxx %{cygwin64_target}-g++
+%cygwin64_cpp %{cygwin64_target}-gcc -E
+%cygwin64_addr2line %{cygwin64_target}-addr2line
+%cygwin64_ar %{cygwin64_target}-ar
+%cygwin64_as %{cygwin64_target}-as
+%cygwin64_cxxfilt %{cygwin64_target}-c++filt
+%cygwin64_dlltool %{cygwin64_target}-dlltool
+%cygwin64_dllwrap %{cygwin64_target}-dllwrap
+%cygwin64_gcov %{cygwin64_target}-gcov
+%cygwin64_gprof %{cygwin64_target}-gprof
+%cygwin64_ld %{cygwin64_target}-ld
+%cygwin64_nm %{cygwin64_target}-nm
+%cygwin64_objcopy %{cygwin64_target}-objcopy
+%cygwin64_objdump %{cygwin64_target}-objdump
+%cygwin64_ranlib %{cygwin64_target}-ranlib
+%cygwin64_readelf %{cygwin64_target}-readelf
+%cygwin64_size %{cygwin64_target}-size
+%cygwin64_strings %{cygwin64_target}-strings
+%cygwin64_strip %{cygwin64_target}-strip
+%cygwin64_windmc %{cygwin64_target}-windmc
+%cygwin64_windres %{cygwin64_target}-windres
+
+%cygwin64_qmake %{cygwin64_target}-qmake
+%cygwin64_moc %{cygwin64_target}-moc
+%cygwin64_rcc %{cygwin64_target}-rcc
+%cygwin64_uic %{cygwin64_target}-uic
+%cygwin64_uic3 %{cygwin64_target}-uic3
+%cygwin64_lrelease %{cygwin64_target}-lrelease
+%cygwin64_lupdate %{cygwin64_target}-lupdate
+%cygwin64_qdbuscpp2xml %{cygwin64_target}-qdbuscpp2xml
+%cygwin64_qdbusxml2cpp %{cygwin64_target}-qdbusxml2cpp
+
+%cygwin64_cache cygwin64-config.cache
+
+
+# Template for debug sub-package.
+%cygwin64_debug_package \
+%package -n %{cygwin64_pkg_name}-debuginfo \
+Summary: Debug information for package %{name} \
+Group: Development/Debug \
+%description -n %{cygwin64_pkg_name}-debuginfo \
+This package provides debug information for package %{name}. \
+Debug information is useful when developing applications that use this \
+package or when debugging this package. \
+%files -n %{cygwin64_pkg_name}-debuginfo -f cygwin64-debugfiles.list \
+%defattr(-,root,root,-) \
+%{nil}
+
+
+%cygwin64_env HOST_CC=gcc; export HOST_CC; \
+ PKG_CONFIG_LIBDIR="%{cygwin64_libdir}/pkgconfig:%{cygwin64_datadir}/pkgconfig:%{_datadir}/pkgconfig"; \
+ export PKG_CONFIG_LIBDIR; \
+ PKG_CONFIG_SYSTEM_INCLUDE_PATH="%{cygwin64_includedir}"; \
+ export PKG_CONFIG_SYSTEM_INCLUDE_PATH; \
+ PKG_CONFIG_SYSTEM_LIBRARY_PATH="%{cygwin64_libdir}"; \
+ export PKG_CONFIG_SYSTEM_LIBRARY_PATH; \
+ unset PKG_CONFIG_PATH; \
+ _PREFIX="%{_bindir}/%{cygwin64_target}-"; \
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
+ x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-\." "A-ZX__"`; \
+ declare -x $x="$i" ; export $x; \
+ done; \
+ unset _PREFIX; \
+ CC="${cygwin_CC:-%cygwin64_cc}"; export CC; \
+ CFLAGS="${cygwin_CFLAGS:-%cygwin64_cflags}"; export CFLAGS; \
+ if [ -x "%{_bindir}/%{cygwin64_cxx}" ]; then \
+ CXX="${cygwin_CXX:-%cygwin64_cxx}"; export CXX; \
+ CXXFLAGS="${cygwin_CXXFLAGS:-%cygwin64_cflags}"; export CXXFLAGS; \
+ else \
+ CXX=; export CXX; \
+ ac_cv_prog_CXX=no; export ac_cv_prog_CXX; \
+ CXXFLAGS=; export CXXFLAGS; \
+ fi; \
+ for i in `ls %{_bindir}/*|grep -- "[-_]config\$"` ; do \
+ case $i in *pkg-config) continue ; esac ; \
+ x=`basename $i|tr "a-z+-\." "A-ZX__"`; \
+ declare -x $x="no" ; export $x; \
+ declare -x ac_cv_path_$x="no" ; export ac_cv_path_$x; \
+ done; \
+ for i in `ls %{cygwin64_bindir}/*|grep -- "[-_]config\$"` ; do \
+ x=`basename $i|tr "a-z+-\." "A-ZX__"`; \
+ declare -x $x="$i" ; export $x; \
+ declare -x ac_cv_path_$x="$i" ; export ac_cv_path_$x; \
+ done; \
+ if [ -d %{cygwin64_datadir}/aclocal ]; then \
+ ACLOCAL_FLAGS="-I %{cygwin64_datadir}/aclocal"; export ACLOCAL_FLAGS; \
+ ACLOCAL="%{_bindir}/aclocal $ACLOCAL_FLAGS"; export ACLOCAL; \
+ fi; \
+ if [ -x %{cygwin64_bindir}/autopoint ]; then \
+ eval gettext_`grep '^version=' %{cygwin64_bindir}/autopoint`; \
+ AUTOPOINT="%{cygwin64_bindir}/autopoint -V $gettext_version" ; export AUTOPOINT; \
+ fi; \
+ if [ -x %{cygwin64_bindir}/libtoolize ]; then \
+ LIBTOOLIZE=%{cygwin64_bindir}/libtoolize; export LIBTOOLIZE; \
+ fi; \
+ unset x i
+
+%cygwin64_pkg_config %{cygwin64_target}-pkg-config
+
+%cygwin64_autoreconf %{cygwin64_env} ; \
+ autoreconf -f -i -I %{cygwin64_datadir}/aclocal
+
+%cygwin64_configure %{cygwin64_env} ; \
+ unset PKG_CONFIG_LIBDIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH; \\\
+ _cygwin64_topdir=.; if ! test -x configure; then _cygwin64_topdir=..; fi; \\\
+ $_cygwin64_topdir/configure --cache-file=%{cygwin64_cache} \\\
+ --host=%{cygwin64_host} \\\
+ --build=%_build \\\
+ --target=%{cygwin64_target} \\\
+ --prefix=%{cygwin64_prefix} \\\
+ --exec-prefix=%{cygwin64_exec_prefix} \\\
+ --bindir=%{cygwin64_bindir} \\\
+ --sbindir=%{cygwin64_sbindir} \\\
+ --sysconfdir=%{cygwin64_sysconfdir} \\\
+ --datadir=%{cygwin64_datadir} \\\
+ --includedir=%{cygwin64_includedir} \\\
+ --libdir=%{cygwin64_libdir} \\\
+ --libexecdir=%{cygwin64_libexecdir} \\\
+ --localstatedir=%{cygwin64_localstatedir} \\\
+ --sharedstatedir=%{cygwin64_sharedstatedir} \\\
+ --mandir=%{cygwin64_mandir} \\\
+ --infodir=%{cygwin64_infodir} \\\
+ ${CYGWIN_CONFIGURE_ARGS} \\\
+ ${CYGWIN64_CONFIGURE_ARGS}
+
+%cygwin64_make %{cygwin64_env} ; \
+ make \\\
+ prefix=%{cygwin64_prefix} \\\
+ exec_prefix=%{cygwin64_exec_prefix} \\\
+ bindir=%{cygwin64_bindir} \\\
+ sbindir=%{cygwin64_sbindir} \\\
+ sysconfdir=%{cygwin64_sysconfdir} \\\
+ datadir=%{cygwin64_datadir} \\\
+ includedir=%{cygwin64_includedir} \\\
+ libdir=%{cygwin64_libdir} \\\
+ libexecdir=%{cygwin64_libexecdir} \\\
+ localstatedir=%{cygwin64_localstatedir} \\\
+ sharedstatedir=%{cygwin64_sharedstatedir} \\\
+ mandir=%{cygwin64_mandir} \\\
+ infodir=%{cygwin64_infodir}
+
+%cygwin64_makeinstall %{cygwin64_env} ; \
+ make \\\
+ prefix=%{?buildroot:%{buildroot}}%{cygwin64_prefix} \\\
+ exec_prefix=%{?buildroot:%{buildroot}}%{cygwin64_exec_prefix} \\\
+ bindir=%{?buildroot:%{buildroot}}%{cygwin64_bindir} \\\
+ sbindir=%{?buildroot:%{buildroot}}%{cygwin64_sbindir} \\\
+ sysconfdir=%{?buildroot:%{buildroot}}%{cygwin64_sysconfdir} \\\
+ datadir=%{?buildroot:%{buildroot}}%{cygwin64_datadir} \\\
+ includedir=%{?buildroot:%{buildroot}}%{cygwin64_includedir} \\\
+ libdir=%{?buildroot:%{buildroot}}%{cygwin64_libdir} \\\
+ libexecdir=%{?buildroot:%{buildroot}}%{cygwin64_libexecdir} \\\
+ localstatedir=%{?buildroot:%{buildroot}}%{cygwin64_localstatedir} \\\
+ sharedstatedir=%{?buildroot:%{buildroot}}%{cygwin64_sharedstatedir} \\\
+ mandir=%{?buildroot:%{buildroot}}%{cygwin64_mandir} \\\
+ infodir=%{?buildroot:%{buildroot}}%{cygwin64_infodir} \\\
+ install
+
+%cygwin64_cmake %{cygwin64_env} ; \
+ %__cmake \\\
+ -Wno-dev \\\
+ -DCMAKE_VERBOSE_MAKEFILE=ON \\\
+ -DCMAKE_INSTALL_PREFIX:PATH=%{cygwin64_prefix} \\\
+ -DCMAKE_INSTALL_LIBDIR:PATH=%{cygwin64_libdir} \\\
+ -DINCLUDE_INSTALL_DIR:PATH=%{cygwin64_includedir} \\\
+ -DLIB_INSTALL_DIR:PATH=%{cygwin64_libdir} \\\
+ -DSYSCONF_INSTALL_DIR:PATH=%{cygwin64_sysconfdir} \\\
+ -DSHARE_INSTALL_PREFIX:PATH=%{cygwin64_datadir} \\\
+ %{?_cmake_skip_rpath} \\\
+ -DBUILD_SHARED_LIBS:BOOL=ON \\\
+ -DCMAKE_TOOLCHAIN_FILE=/usr/share/cygwin/Toolchain-cygwin64.cmake \\\
+ ${CYGWIN_CMAKE_ARGS} \\\
+ ${CYGWIN64_CMAKE_ARGS}
+
+%cygwin64_description This is the cross-compiled version of this library / tool.\
+You should only install this package if you want to cross-compile programs for \
+Cygwin x86_64.
diff --git a/standard-dlls-cygwin32 b/standard-dlls-cygwin32
new file mode 100644
index 0000000..1afb626
--- /dev/null
+++ b/standard-dlls-cygwin32
@@ -0,0 +1,302 @@
+aclui.dll
+advapi32.dll
+apcups.dll
+authz.dll
+avicap32.dll
+avifil32.dll
+bcrypt.dll
+bootvid.dll
+bthprops.cpl
+cabinet.dll
+cap.dll
+cfgmgr32.dll
+classpnp.sys
+clfsw32.dll
+clusapi.dll
+cmutil.dll
+comctl32.dll
+comdlg32.dll
+connect.dll
+credui.dll
+crtdll.dll
+crypt32.dll
+cryptnet.dll
+cryptsp.dll
+cryptxml.dll
+cscapi.dll
+ctl3d32.dll
+d2d1.dll
+d3d8.dll
+d3d9.dll
+d3dcompiler.dll
+d3dcompiler_37.dll
+d3dcompiler_38.dll
+d3dcompiler_39.dll
+d3dcompiler_40.dll
+d3dcompiler_41.dll
+d3dcompiler_42.dll
+d3dcompiler_43.dll
+d3dcompiler_46.dll
+d3dcsx_46.dll
+d3dcsxd_43.dll
+d3dim.dll
+d3drm.dll
+d3dx10_33.dll
+d3dx10_34.dll
+d3dx10_35.dll
+d3dx10_36.dll
+d3dx10_37.dll
+d3dx10_38.dll
+d3dx10_39.dll
+d3dx10_40.dll
+d3dx10_41.dll
+d3dx10_42.dll
+d3dx10_43.dll
+d3dx11_42.dll
+d3dx11_43.dll
+d3dx8d.dll
+d3dx9_24.dll
+d3dx9_25.dll
+d3dx9_26.dll
+d3dx9_27.dll
+d3dx9_28.dll
+d3dx9_29.dll
+d3dx9_30.dll
+d3dx9_31.dll
+d3dx9_32.dll
+d3dx9_33.dll
+d3dx9_34.dll
+d3dx9_35.dll
+d3dx9_36.dll
+d3dx9_37.dll
+d3dx9_38.dll
+d3dx9_39.dll
+d3dx9_40.dll
+d3dx9_41.dll
+d3dx9_42.dll
+d3dx9_43.dll
+d3dx9d.dll
+d3dxof.dll
+davclnt.dll
+dbgeng.dll
+dbghelp.dll
+ddraw.dll
+devmgr.dll
+devobj.dll
+devrtl.dll
+dhcpcsvc.dll
+dhcpcsvc6.dll
+dhcpsapi.dll
+dinput.dll
+dinput8.dll
+dlcapi.dll
+dnsapi.dll
+dplayx.dll
+dpnaddr.dll
+dpnet.dll
+dpnlobby.def
+dpvoice.dll
+dsetup.dll
+dsound.dll
+dssec.dll
+dwmapi.dll
+dwrite.dll
+dxapi.sys
+dxgi.dll
+dxva2.dll
+eappcfg.dll
+eapphost.dll
+eappprxy.dll
+esent.dll
+evr.dll
+faultrep.dll
+fwpuclnt.dll
+gdi32.dll
+gdiplus.dll
+genericui.dll
+glaux.dll
+glu32.dll
+glut32.dll
+gpapi.dll
+gpedit.dll
+gpscript.dll
+gptext.dll
+hal.dll
+hid.dll
+hidclass.sys
+hidparse.sys
+httpapi.dll
+icmui.dll
+igmpagnt.dll
+imagehlp.dll
+imm32.dll
+iphlpapi.dll
+iscsidsc.dll
+kernel32.dll
+ks.sys
+ksproxy.ax
+ksuser.dll
+ktmw32.dll
+lz32.dll
+mapi32.dll
+mcd.sys
+mf.dll
+mfcuia32.dll
+mfplat.dll
+mgmtapi.dll
+mpr.dll
+mprapi.dll
+mqrt.dll
+msacm32.dll
+mscms.dll
+msctf.dll
+msdmo.dll
+msdrm.dll
+mshtml.dll
+mshtmled.dll
+msi.dll
+msimg32.dll
+mstask.dll
+msvcp60.dll
+msvcr100.dll
+msvcr110.dll
+msvcr80.dll
+msvcr90.dll
+msvcr90d.dll
+msvcrt.dll
+msvfw32.dll
+mswsock.dll
+ncrypt.dll
+nddeapi.dll
+ndfapi.dll
+ndis.sys
+netapi32.dll
+newdev.dll
+normaliz.dll
+ntdll.dll
+ntdsapi.dll
+ntmsapi.dll
+ntoskrnl.exe
+odbc32.dll
+odbccp32.dll
+ole32.dll
+oleacc.dll
+oleaut32.dll
+olecli32.dll
+oledlg.dll
+olepro32.dll
+olesvr32.dll
+opengl32.dll
+p2p.dll
+p2pcollab.dll
+p2pgraph.dll
+pcwum.dll
+pdh.dll
+pdhui.dll
+penwin32.dll
+pkpd32.dll
+polprocl.dll
+powrprof.dll
+psapi.dll
+quartz.dll
+qutil.dll
+qwave.dll
+rapi.dll
+rasapi32.dll
+rasdlg.dll
+resutils.dll
+rpcdce4.dll
+rpcdiag.dll
+rpchttp.dll
+rpcns4.dll
+rpcrt4.dll
+rstrtmgr.dll
+rtm.dll
+rtutils.dll
+scsiport.sys
+secur32.dll
+setupapi.dll
+shell32.dll
+shfolder.dll
+shlwapi.dll
+slc.dll
+slcext.dll
+slwga.dll
+snmpapi.dll
+spoolss.dll
+sspicli.dll
+svrapi.dll
+sxs.dll
+t2embed.dll
+tapi32.dll
+tbs.dll
+tdh.dll
+tdi.sys
+thirdpartyeapdispatcher.dll
+txfw32.dll
+url.dll
+usbcamd.sys
+usbcamd2.sys
+usbd.sys
+usbport.sys
+user32.dll
+userenv.dll
+usp10.dll
+uxtheme.dll
+vdmdbg.dll
+version.dll
+videoprt.sys
+virtdisk.dll
+vss_ps.dll
+vssapi.dll
+vsstrace.dll
+wdsclient.dll
+wdsclientapi.dll
+wdscore.dll
+wdscsl.dll
+wdsimage.dll
+wdstptc.dll
+wdsupgcompl.dll
+wdsutil.dll
+wecapi.dll
+wer.dll
+wevtapi.dll
+wevtfwd.dll
+win32k.sys
+win32spl.dll
+winhttp.dll
+wininet.dll
+winmm.dll
+winscard.dll
+winspool.drv
+winstrm.dll
+winusb.dll
+wlanapi.dll
+wlanui.dll
+wlanutil.dll
+wldap32.dll
+wow32.dll
+ws2_32.dll
+wsdapi.dll
+wsnmp32.dll
+wsock32.dll
+wst.dll
+wtsapi32.dll
+x3daudio1_2.dll
+x3daudio1_3.dll
+x3daudio1_4.dll
+x3daudio1_5.dll
+x3daudio1_6.dll
+x3daudio1_7.dll
+x3daudiod1_7.dll
+xapofx1_0.dll
+xapofx1_1.dll
+xapofx1_2.dll
+xapofx1_3.dll
+xapofx1_4.dll
+xapofx1_5.dll
+xapofxd1_5.dll
+xaudio2.dll
+xinput1_1.dll
+xinput1_2.dll
+xinput1_3.dll
diff --git a/standard-dlls-cygwin64 b/standard-dlls-cygwin64
new file mode 100644
index 0000000..88cd6dd
--- /dev/null
+++ b/standard-dlls-cygwin64
@@ -0,0 +1,1224 @@
+6to4svc.dll
+aaaamon.dll
+acledit.dll
+aclui.dll
+active.dll
+activeds.dll
+admparse.dll
+admwprox.dll
+adptif.dll
+adrot.dll
+adsiis.dll
+adsiisex.dll
+adsldp.dll
+adsldpc.dll
+adsmsext.dll
+adsnt.dll
+advapi32.dll
+advpack.dll
+aelupsvc.dll
+agentanm.dll
+agentctl.dll
+agentdp2.dll
+agentdpv.dll
+agentmpx.dll
+agentpsh.dll
+agentsr.dll
+agrmco64.dll
+agtintl.dll
+aksclass.dll
+alrsvc.dll
+amstream.dll
+apcups.dll
+apphelp.dll
+appmgmts.dll
+aqadmin.dll
+aqueue.dll
+asp.dll
+aspperf.dll
+asycfilt.dll
+atkctrs.dll
+atl.dll
+atmlib.dll
+atrace.dll
+audiosrv.dll
+authz.dll
+autodial.dll
+autodisc.dll
+avicap32.dll
+avifil32.dll
+azroles.dll
+azroleui.dll
+basesrv.dll
+batmeter.dll
+batt.dll
+bcrypt.dll
+bidispl.dll
+bitsprx2.dll
+bitsprx3.dll
+bnts.dll
+bootvid.dll
+bprovider.dll
+browscap.dll
+browser.dll
+browseui.dll
+brp_sysinfo.dll
+bthpanux.dll
+bthprops.cpl
+bthserv.dll
+c_gb18030.dll
+c_is2022.dll
+c_iscii.dll
+cabinet.dll
+cabview.dll
+camocx.dll
+cards.dll
+catsrv.dll
+catsrvps.dll
+catsrvut.dll
+cdfview.dll
+cdm.dll
+cdosys.dll
+certcli.dll
+certmgr.dll
+certobj.dll
+cfgbkend.dll
+cfgmgr32.dll
+chsbrkr.dll
+chtbrkr.dll
+ciadmin.dll
+cic.dll
+cimwin32.dll
+cintime.dll
+ciodm.dll
+classpnp.sys
+clb.dll
+clbcatq.dll
+clfsw32.dll
+cliconfg.dll
+clusapi.dll
+cmcfg32.dll
+cmdial32.dll
+cmpbk32.dll
+cmprops.dll
+cmsetacl.dll
+cmutil.dll
+cnbjmon.dll
+cnetcfg.dll
+coadmin.dll
+colbact.dll
+colbcat.dll
+comaddin.dll
+comadmin.dll
+comcat.dll
+comctl32.dll
+comdlg32.dll
+compatui.dll
+compstui.dll
+comrepl.dll
+comres.dll
+comsetup.dll
+comsnap.dll
+comsvcs.dll
+comuid.dll
+confmsp.dll
+connect.dll
+console.dll
+controt.dll
+corpol.dll
+credui.dll
+crtdll.dll
+crypt32.dll
+cryptdlg.dll
+cryptdll.dll
+cryptext.dll
+cryptnet.dll
+cryptsp.dll
+cryptsvc.dll
+cryptui.dll
+cryptxml.dll
+cscapi.dll
+cscdll.dll
+cscui.dll
+csrsrv.dll
+cufat.dll
+d2d1.dll
+d3d8thk.dll
+d3d9.dll
+d3dcompiler.dll
+d3dcompiler_37.dll
+d3dcompiler_38.dll
+d3dcompiler_39.dll
+d3dcompiler_40.dll
+d3dcompiler_41.dll
+d3dcompiler_42.dll
+d3dcompiler_43.dll
+d3dcompiler_46.dll
+d3dcsx_46.dll
+d3dcsxd_43.dll
+d3dx10_33.dll
+d3dx10_34.dll
+d3dx10_35.dll
+d3dx10_36.dll
+d3dx10_37.dll
+d3dx10_38.dll
+d3dx10_39.dll
+d3dx10_40.dll
+d3dx10_41.dll
+d3dx10_42.dll
+d3dx10_43.dll
+d3dx11_42.dll
+d3dx11_43.dll
+d3dx9_24.dll
+d3dx9_25.dll
+d3dx9_26.dll
+d3dx9_27.dll
+d3dx9_28.dll
+d3dx9_29.dll
+d3dx9_30.dll
+d3dx9_31.dll
+d3dx9_32.dll
+d3dx9_33.dll
+d3dx9_34.dll
+d3dx9_35.dll
+d3dx9_36.dll
+d3dx9_37.dll
+d3dx9_38.dll
+d3dx9_39.dll
+d3dx9_40.dll
+d3dx9_41.dll
+d3dx9_42.dll
+d3dx9_43.dll
+d3dxof.dll
+danim.dll
+dataclen.dll
+datime.dll
+davclnt.dll
+davcprox.dll
+dbgeng.dll
+dbghelp.dll
+dbnetlib.dll
+dbnmpntw.dll
+dciman32.dll
+ddraw.dll
+ddrawex.dll
+deskadp.dll
+deskmon.dll
+deskperf.dll
+devenum.dll
+devmgr.dll
+devobj.dll
+devrtl.dll
+dfrgifcps.dll
+dfrgsnap.dll
+dfrgui.dll
+dfsshlex.dll
+dgnet.dll
+dhcpcsvc.dll
+dhcpcsvc6.dll
+dhcpmon.dll
+dhcpsapi.dll
+diactfrm.dll
+digest.dll
+dimap.dll
+dimsntfy.dll
+dimsroam.dll
+dinput.dll
+dinput8.dll
+directdb.dll
+diskcopy.dll
+dispex.dll
+dmconfig.dll
+dmdlgs.dll
+dmdskmgr.dll
+dmintf.dll
+dmivcitf.dll
+dmocx.dll
+dmserver.dll
+dmutil.dll
+dnsapi.dll
+dnsrslvr.dll
+docprop.dll
+docprop2.dll
+dpnaddr.dll
+dpnet.dll
+dpnhpast.dll
+dpnhupnp.dll
+dpnlobby.dll
+dpvacm.dll
+dpvoice.dll
+dpvvox.dll
+drprov.dll
+ds32gt.dll
+dsauth.dll
+dsdmo.dll
+dsdmoprp.dll
+dskquota.dll
+dskquoui.dll
+dsound.dll
+dsound3d.dll
+dsprop.dll
+dsprov.dll
+dsquery.dll
+dssec.dll
+dssenh.dll
+dsuiext.dll
+duser.dll
+dwmapi.dll
+dwrite.dll
+dxdiagn.dll
+dxgi.dll
+dxtmsft.dll
+dxtrans.dll
+dxva2.dll
+eappcfg.dll
+eapphost.dll
+eappprxy.dll
+efsadu.dll
+els.dll
+encapi.dll
+ersvc.dll
+es.dll
+esent.dll
+esentprf.dll
+esscli.dll
+eventcls.dll
+eventlog.dll
+evntrprv.dll
+evr.dll
+evtgprov.dll
+exports.dll
+exprfdll.dll
+exstrace.dll
+extmgr.dll
+f3ahvoas.dll
+fastprox.dll
+faultrep.dll
+fcachdll.dll
+fde.dll
+fdeploy.dll
+feclient.dll
+filemgmt.dll
+fldrclnr.dll
+fltlib.dll
+fmifs.dll
+fontext.dll
+fontsub.dll
+framedyn.dll
+fsusd.dll
+ftpctrs2.dll
+ftpmib.dll
+ftpsvc2.dll
+fwcfg.dll
+fwpuclnt.dll
+fx.dll
+fxsapi.dll
+fxscfgwz.dll
+fxscom.dll
+fxscomex.dll
+fxsdrv.dll
+fxsmon.dll
+fxsocm.dll
+fxsperf.dll
+fxsroute.dll
+fxsst.dll
+fxst30.dll
+fxstiff.dll
+fxsui.dll
+fxswzrd.dll
+gcdef.dll
+gdi32.dll
+gdiplus.dll
+genericui.dll
+getuname.dll
+glmf32.dll
+glu32.dll
+gpedit.dll
+gpkcsp.dll
+gptext.dll
+guitrn.dll
+gzip.dll
+h323msp.dll
+hal.dll
+hbaapi.dll
+hgfs.dll
+hhsetup.dll
+hid.dll
+hidclass.sys
+hidparse.sys
+hlink.dll
+hmmapi.dll
+hnetcfg.dll
+hnetmon.dll
+hnetwiz.dll
+hostmib.dll
+hotplug.dll
+hticons.dll
+htrn_jis.dll
+httpapi.dll
+httpext.dll
+httpmib.dll
+httpodbc.dll
+htui.dll
+hypertrm.dll
+iasacct.dll
+iasads.dll
+iashlpr.dll
+iasnap.dll
+iaspolcy.dll
+iasrad.dll
+iassam.dll
+iassdo.dll
+iassvcs.dll
+icaapi.dll
+icfgnt.dll
+icm32.dll
+icmp.dll
+icmui.dll
+icwconn.dll
+icwdl.dll
+icwhelp.dll
+icwphbk.dll
+icwutil.dll
+idq.dll
+ieakeng.dll
+ieaksie.dll
+iedkcs32.dll
+iepeers.dll
+iernonce.dll
+iesetup.dll
+ifmon.dll
+ifsutil.dll
+igmpagnt.dll
+iis.dll
+iisadmin.dll
+iiscfg.dll
+iisclex4.dll
+iisext.dll
+iislog.dll
+iismap.dll
+iisprov.dll
+iisrstap.dll
+iisrtl.dll
+iisui.dll
+iisuiobj.dll
+iisutil.dll
+iisw3adm.dll
+imagehlp.dll
+imedic.dll
+imejpcus.dll
+imekrcic.dll
+imeshare.dll
+imeskdic.dll
+imeskf.dll
+imgutil.dll
+imjp81k.dll
+imjputyc.dll
+imm32.dll
+imsinsnt.dll
+inetcfg.dll
+inetcomm.dll
+inetmgr.dll
+inetmib1.dll
+inetpp.dll
+inetppui.dll
+infoadmn.dll
+infocomm.dll
+infoctrs.dll
+infosoft.dll
+initpki.dll
+input.dll
+inseng.dll
+iphlpapi.dll
+ipmontr.dll
+ipnathlp.dll
+ippromon.dll
+iprip.dll
+iprop.dll
+iprtprio.dll
+iprtrmgr.dll
+ipsecsnp.dll
+ipsecspd.dll
+ipsmsnap.dll
+ipv6mon.dll
+ipxsap.dll
+irclass.dll
+isapips.dll
+isapitst.dll
+isatq.dll
+iscomlog.dll
+iscsidsc.dll
+isignup2.dll
+itlocal.dll
+itss.dll
+ixsso.dll
+iyuv_32.dll
+jet500.dll
+jscript.dll
+jsproxy.dll
+kbd101.dll
+kbd101a.dll
+kbd101b.dll
+kbd101c.dll
+kbd103.dll
+kbd106.dll
+kbd106n.dll
+kbda1.dll
+kbda2.dll
+kbda3.dll
+kbdal.dll
+kbdarme.dll
+kbdarmw.dll
+kbdax2.dll
+kbdaze.dll
+kbdazel.dll
+kbdbe.dll
+kbdbene.dll
+kbdblr.dll
+kbdbr.dll
+kbdbu.dll
+kbdca.dll
+kbdcan.dll
+kbdcr.dll
+kbdcz.dll
+kbdcz1.dll
+kbdcz2.dll
+kbdda.dll
+kbddiv1.dll
+kbddiv2.dll
+kbddv.dll
+kbdes.dll
+kbdest.dll
+kbdfa.dll
+kbdfc.dll
+kbdfi.dll
+kbdfo.dll
+kbdfr.dll
+kbdgae.dll
+kbdgeo.dll
+kbdgkl.dll
+kbdgr.dll
+kbdgr1.dll
+kbdhe.dll
+kbdhe220.dll
+kbdhe319.dll
+kbdheb.dll
+kbdhela2.dll
+kbdhela3.dll
+kbdhept.dll
+kbdhu.dll
+kbdhu1.dll
+kbdibm02.dll
+kbdic.dll
+kbdindev.dll
+kbdinguj.dll
+kbdinhin.dll
+kbdinkan.dll
+kbdinmar.dll
+kbdinpun.dll
+kbdintam.dll
+kbdintel.dll
+kbdir.dll
+kbdit.dll
+kbdit142.dll
+kbdkaz.dll
+kbdkor.dll
+kbdkyr.dll
+kbdla.dll
+kbdlayout.dll
+kbdlk41a.dll
+kbdlk41j.dll
+kbdlt.dll
+kbdlt1.dll
+kbdlv.dll
+kbdlv1.dll
+kbdmac.dll
+kbdmon.dll
+kbdne.dll
+kbdnec.dll
+kbdnec95.dll
+kbdnecat.dll
+kbdnecnt.dll
+kbdno.dll
+kbdpl.dll
+kbdpl1.dll
+kbdpo.dll
+kbdro.dll
+kbdru.dll
+kbdru1.dll
+kbdsf.dll
+kbdsg.dll
+kbdsl.dll
+kbdsl1.dll
+kbdsp.dll
+kbdsw.dll
+kbdsyr1.dll
+kbdsyr2.dll
+kbdtat.dll
+kbdth0.dll
+kbdth1.dll
+kbdth2.dll
+kbdth3.dll
+kbdtuf.dll
+kbdtuq.dll
+kbduk.dll
+kbdur.dll
+kbdurdu.dll
+kbdus.dll
+kbdusa.dll
+kbdusl.dll
+kbdusr.dll
+kbdusx.dll
+kbduzb.dll
+kbdvntc.dll
+kbdycc.dll
+kbdycl.dll
+kd1394.dll
+kdcom.dll
+kerberos.dll
+kernel32.dll
+keymgr.dll
+korwbrkr.dll
+krnlprov.dll
+ks.sys
+ksuser.dll
+ktmw32.dll
+langwrbk.dll
+licdll.dll
+licmgr.dll
+licwmi.dll
+linkinfo.dll
+lmhsvc.exe
+lmmib2.dll
+lmrt.dll
+loadperf.dll
+localsec.dll
+localspl.dll
+localui.dll
+log.dll
+loghours.dll
+logscript.dll
+lonsint.dll
+lpdsvc.dll
+lpk.dll
+lprhelp.dll
+lprmon.dll
+lprui.dll
+lsasrv.dll
+lz32.dll
+mag_hook.dll
+mailmsg.dll
+mapi32.dll
+marscore.dll
+mcastmib.dll
+mcd32.dll
+mcdsrv32.dll
+mchgrcoi.dll
+mciavi32.dll
+mcicda.dll
+mciole32.dll
+mciqtz32.dll
+mciseq.dll
+mciwave.dll
+mdhcp.dll
+mdminst.dll
+metadata.dll
+mf.dll
+mf3216.dll
+mfc42.dll
+mfc42u.dll
+mfcsubs.dll
+mfplat.dll
+mgmtapi.dll
+midimap.dll
+migism.dll
+miglibnt.dll
+mimefilt.dll
+mlang.dll
+mll_hp.dll
+mll_mtf.dll
+mll_qic.dll
+mmcbase.dll
+mmcndmgr.dll
+mmcshext.dll
+mmfutil.dll
+mmutilse.dll
+mobsync.dll
+modemui.dll
+mofd.dll
+mpr.dll
+mprapi.dll
+mprddm.dll
+mprdim.dll
+mprui.dll
+mqad.dll
+mqcertui.dll
+mqdscli.dll
+mqgentr.dll
+mqise.dll
+mqoa.dll
+mqperf.dll
+mqqm.dll
+mqrt.dll
+mqrtdep.dll
+mqsec.dll
+mqsnap.dll
+mqupgrd.dll
+mqutil.dll
+msaatext.dll
+msacm32.dll
+msadcs.dll
+msadds.dll
+msado15.dll
+msadomd.dll
+msador15.dll
+msadox.dll
+msadrh15.dll
+msafd.dll
+msasn1.dll
+mscandui.dll
+mscat32.dll
+mscms.dll
+msctf.dll
+msctfp.dll
+msdadiag.dll
+msdaosp.dll
+msdaps.dll
+msdart.dll
+msdatl3.dll
+msdfmap.dll
+msdmo.dll
+msdrm.dll
+msdtclog.dll
+msdtcprx.dll
+msdtctm.dll
+msdtcuiu.dll
+msftedit.dll
+msgina.dll
+msgr3en.dll
+msgsvc.dll
+mshtml.dll
+mshtmled.dll
+msi.dll
+msident.dll
+msieftp.dll
+msihnd.dll
+msimg32.dll
+msimtf.dll
+msinfo32.dll
+msiprov.dll
+msir3jp.dll
+msisip.dll
+msjtes40.dll
+mslbui.dll
+msls31.dll
+mslwvtts.dll
+msmqocm.dll
+msobcomm.dll
+msobdl.dll
+msobmain.dll
+msobshel.dll
+msobweb.dll
+msoe.dll
+msoeacct.dll
+msoert2.dll
+mspatcha.dll
+mspmspsn.dll
+msports.dll
+msrating.dll
+msremote.dll
+msrle32.dll
+mssign32.dll
+mssip32.dll
+mstask.dll
+mstime.dll
+mstlsapi.dll
+mstscax.dll
+msutb.dll
+msv1_0.dll
+msvcirt.dll
+msvcp60.dll
+msvcr100.dll
+msvcr110.dll
+msvcr80.dll
+msvcr90.dll
+msvcr90d.dll
+msvcrt.dll
+msvfw32.dll
+msvidc32.dll
+msvidctl.dll
+msw3prt.dll
+mswsock.dll
+msxactps.dll
+msxml3.dll
+msyuv.dll
+mtxclu.dll
+mtxdm.dll
+mtxex.dll
+mtxoci.dll
+mycomput.dll
+mydocs.dll
+narrhook.dll
+navdgf.dll
+ncobjapi.dll
+ncprov.dll
+ncrypt.dll
+ncxp.dll
+nddeapi.dll
+nddenb32.dll
+ndfapi.dll
+ndis.sys
+ndisnpp.dll
+netapi32.dll
+netcfgx.dll
+netid.dll
+netlogon.dll
+netman.dll
+netobjs.dll
+netoc.dll
+netplwiz.dll
+netrap.dll
+netshell.dll
+netui0.dll
+netui1.dll
+netui2.dll
+newdev.dll
+nextlink.dll
+nlhtml.dll
+nntpadm.dll
+nntpapi.dll
+nntpsnap.dll
+normaliz.dll
+npptools.dll
+nshipsec.dll
+ntdll.dll
+ntdsapi.dll
+ntdsbcli.dll
+ntdtcsetup.dll
+ntevt.dll
+ntfsdrv.dll
+ntlanman.dll
+ntlanui.dll
+ntlsapi.dll
+ntmarta.dll
+ntmsapi.dll
+ntmsdba.dll
+ntmsevt.dll
+ntmsmgr.dll
+ntmssvc.dll
+ntoc.dll
+ntoskrnl.exe
+ntprint.dll
+ntshrui.dll
+ntvdm64.dll
+nwprovau.dll
+oakley.dll
+objsel.dll
+occache.dll
+ocmanage.dll
+ocmsn.dll
+ocsbs.dll
+odbc32.dll
+odbc32gt.dll
+odbcbcp.dll
+odbcconf.dll
+odbccp32.dll
+odbccr32.dll
+odbctrac.dll
+oeimport.dll
+oemiglib.dll
+offfilt.dll
+ole32.dll
+oleacc.dll
+oleaut32.dll
+olecli32.dll
+olecnv32.dll
+oledb32.dll
+oledb32r.dll
+oledlg.dll
+oleprn.dll
+olesvr32.dll
+opengl32.dll
+osuninst.dll
+ovprintmondll.dll
+p2p.dll
+p2pcollab.dll
+p2pgraph.dll
+panmap.dll
+pautoenr.dll
+pchsvc.dll
+pcwum.dll
+pdh.dll
+perfctrs.dll
+perfdisk.dll
+perfnet.dll
+perfos.dll
+perfproc.dll
+perfts.dll
+persist.dll
+photowiz.dll
+pid.dll
+pidgen.dll
+pjlmon.dll
+pngfilter.dll
+policman.dll
+polstore.dll
+powrprof.dll
+printui.dll
+profmap.dll
+proppage.dll
+provthrd.dll
+ps.dll
+ps5ui.dll
+psapi.dll
+psbase.dll
+pschdprf.dll
+pscript5.dll
+psnppagn.dll
+pstorec.dll
+pstorsvc.dll
+qasf.dll
+qcap.dll
+qdv.dll
+qdvd.dll
+qedit.dll
+qmgr.dll
+qmgrprxy.dll
+qosname.dll
+quartz.dll
+query.dll
+qutil.dll
+qwave.dll
+rasadhlp.dll
+rasapi32.dll
+rasauto.dll
+raschap.dll
+rasctrs.dll
+rasdlg.dll
+rasman.dll
+rasmans.dll
+rasmontr.dll
+rasmxs.dll
+rasppp.dll
+rasrad.dll
+rassapi.dll
+rasser.dll
+rassistance.dll
+rastapi.dll
+rastls.dll
+rcbdyctl.dll
+rdchost.dll
+rdpcfgex.dll
+rdpsnd.dll
+rdpwsx.dll
+regapi.dll
+regsvc.dll
+regwizctrl.dll
+remotepage.dll
+rend.dll
+resutils.dll
+riched20.dll
+rnr20.dll
+routemsg.dll
+routetab.dll
+rpcdiag.dll
+rpchttp.dll
+rpcns4.dll
+rpcnsh.dll
+rpcref.dll
+rpcrt4.dll
+rpcss.dll
+rsaenh.dll
+rshx32.dll
+rsmps.dll
+rstrtmgr.dll
+rtm.dll
+rtutils.dll
+rwnh.dll
+safrcfiledlg.dll
+safrdm.dll
+safrslv.dll
+samlib.dll
+samsrv.dll
+sapi.dll
+scarddlg.dll
+sccbase.dll
+sccsccp.dll
+scecli.dll
+scesrv.dll
+schannel.dll
+schedsvc.dll
+sclgntfy.dll
+scredir.dll
+script.dll
+scripto.dll
+scriptpw.dll
+scrobj.dll
+scrptutl.dll
+scrrun.dll
+sdhcinst.dll
+sdpblb.dll
+seclogon.dll
+secur32.dll
+security.dll
+sendcmsg.dll
+sendmail.dll
+sens.dll
+sensapi.dll
+senscfg.dll
+seo.dll
+seos.dll
+serialui.dll
+servdeps.dll
+serwvdrv.dll
+setupapi.dll
+setupqry.dll
+sfc.dll
+sfc_os.dll
+sfcfiles.dll
+sfilter2.dll
+sfmapi.dll
+shdocvw.dll
+shell32.dll
+shfolder.dll
+shgina.dll
+shimeng.dll
+shimgvw.dll
+shlwapi.dll
+shmedia.dll
+shscrap.dll
+shsvcs.dll
+sigtab.dll
+simptcp.exe
+simx.dll
+sisbkup.dll
+skdll.dll
+slayerxp.dll
+slbcsp.dll
+slbiop.dll
+slc.dll
+slcext.dll
+slwga.dll
+smlogcfg.dll
+smtpadm.dll
+smtpapi.dll
+smtpcons.dll
+smtpctrs.dll
+smtpsnap.dll
+smtpsvc.dll
+snapin.dll
+sniffpol.dll
+snmpapi.dll
+snmpcl.dll
+snmpelea.dll
+snmpincl.dll
+snmpmib.exe
+snmpsmir.dll
+snmpsnap.dll
+snmpstup.dll
+snmpthrd.dll
+softpub.dll
+spcommon.dll
+spoolss.dll
+sptip.dll
+spttseng.dll
+sqlsrv32.dll
+sqlxmlx.dll
+srchctls.dll
+srchui.dll
+srclient.dll
+srrstr.dll
+srsvc.dll
+srvsvc.dll
+ssdpapi.dll
+ssdpsrv.dll
+ssinc.dll
+sspicli.dll
+sstub.dll
+staxmem.dll
+stclient.dll
+stdprov.dll
+sti.dll
+sti_ci.dll
+stobject.dll
+streamci.dll
+strmfilt.dll
+subauth.dll
+svcext.dll
+svcpack.dll
+sweeprx.dll
+swprv.dll
+sxs.dll
+synceng.dll
+syncui.dll
+sysinv.dll
+sysmod.dll
+syssetup.dll
+t2embed.dll
+tapi3.dll
+tapi32.dll
+tapiperf.dll
+tapisrv.dll
+tbs.dll
+tcpmib.dll
+tcpmon.dll
+tcpmonui.dll
+tdh.dll
+termmgr.dll
+termsrv.dll
+thawbrkr.dll
+themeui.dll
+tlntsvrps.dll
+traffic.dll
+trialoc.dll
+trigobjs.dll
+trkwks.dll
+tsappcmp.dll
+tsbyuv.dll
+tscfgwmi.dll
+tsd32.dll
+tshoot.dll
+tsoc.dll
+twext.dll
+txflogdll.dll
+txfw32.dll
+ufat.dll
+uihelper.dll
+ulib.dll
+umandlg.dll
+umdmxfrm.dll
+umpnpmgr.dll
+unidrv.dll
+unidrvui.dll
+uniime.dll
+unimdmat.dll
+uniplat.dll
+untfs.dll
+upnp.dll
+upnphost.dll
+upnpui.dll
+ureg.dll
+url.dll
+urlauth.dll
+urlmon.dll
+usbcamd2.sys
+usbd.sys
+usbmon.dll
+usbport.sys
+user32.dll
+userenv.dll
+usp10.dll
+utildll.dll
+uxtheme.dll
+vbscript.dll
+vds_ps.dll
+vdsdyndr.dll
+vdsutil.dll
+vdswmi.dll
+verifier.dll
+version.dll
+vgx.dll
+viewprov.dll
+vmx_mode.dll
+vss_ps.dll
+vssapi.dll
+vsstrace.dll
+vsswmi.dll
+w32time.dll
+w32topl.dll
+w3cache.dll
+w3comlog.dll
+w3core.dll
+w3ctrlps.dll
+w3ctrs.dll
+w3dt.dll
+w3ext.dll
+w3isapi.dll
+w3ssl.dll
+w3tp.dll
+wab32.dll
+wabimp.dll
+wamreg.dll
+wamregps.dll
+wbemcore.dll
+wbemupgd.dll
+wdigest.dll
+wdmaud.drv
+wdsclient.dll
+wdsclientapi.dll
+wdscore.dll
+wdscsl.dll
+wdsimage.dll
+wdstptc.dll
+wdsupgcompl.dll
+wdsutil.dll
+webcheck.dll
+webclnt.dll
+webhits.dll
+wecapi.dll
+wer.dll
+wevtapi.dll
+wevtfwd.dll
+wiadss.dll
+wiarpc.dll
+wiaservc.dll
+wiashext.dll
+win32spl.dll
+winfax.dll
+winhttp.dll
+wininet.dll
+winipsec.dll
+winmm.dll
+winrnr.dll
+winscard.dll
+winspool.drv
+winsrv.dll
+winsta.dll
+wintrust.dll
+winusb.dll
+wkssvc.dll
+wlanapi.dll
+wlanui.dll
+wlanutil.dll
+wldap32.dll
+wlnotify.dll
+wlstore.dll
+wmi.dll
+wmi2xml.dll
+wmiaprpl.dll
+wmiprop.dll
+wmisvc.dll
+wow64.dll
+wow64cpu.dll
+wow64mib.dll
+wow64win.dll
+wpd_ci.dll
+ws2_32.dll
+ws2help.dll
+wscsvc.dll
+wsdapi.dll
+wshatm.dll
+wshbth.dll
+wshcon.dll
+wsock32.dll
+wtsapi32.dll
+x3daudio1_2.dll
+x3daudio1_3.dll
+x3daudio1_4.dll
+x3daudio1_5.dll
+x3daudio1_6.dll
+x3daudio1_7.dll
+x3daudiod1_7.dll
+xapofx1_0.dll
+xapofx1_1.dll
+xapofx1_2.dll
+xapofx1_3.dll
+xapofx1_4.dll
+xapofx1_5.dll
+xapofxd1_5.dll
+xaudio2.dll
+xfiles.dll
+xinput1_1.dll
+xinput1_2.dll
+xinput1_3.dll
+zoneoc.dll