external/mingw-dlls/makefile.mk |  115 ++++++++++++++++++++++++++++++++++++++++
 external/prj/build.lst          |    1 
 2 files changed, 116 insertions(+)

New commits:
commit b5f066e64a49aa007e04dc57dc0bbd0857ca0e2f
Author: David Tardon <dtar...@redhat.com>
Date:   Mon May 28 06:19:23 2012 +0200

    Revert "remove redundant test for presence of dlls"
    
    Bah, ignore that... I forgot it also copies the dlls locally and
    delivers them.
    
    This reverts commit 5faaada54cc40713980d7f74e3534279e8395ead.

diff --git a/external/mingw-dlls/makefile.mk b/external/mingw-dlls/makefile.mk
new file mode 100644
index 0000000..50aa73b
--- /dev/null
+++ b/external/mingw-dlls/makefile.mk
@@ -0,0 +1,115 @@
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# Major Contributor(s):
+# Tor Lillqvist <t...@iki.fi> (initial developer)
+# Jan Holesovsky <ke...@suse.cz>
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+#
+
+PRJ=..
+PRJNAME=external
+TARGET=mingw-dlls
+
+.INCLUDE: settings.mk
+
+# ------------------------------------------------------------------
+
+.IF "$(GUI)$(COM)" != "WNTGCC"
+
+dummy:
+    @echo "Nothing to do."
+
+.ELSE
+
+MINGW_DLLS:= \
+    $(MINGW_CAIRO_DLL) \
+    $(MINGW_CRYPTO_DLL) \
+    $(MINGW_CURL_DLL) \
+    $(MINGW_DB_DLL) \
+    $(MINGW_EXPAT_DLL) \
+    $(MINGW_FONTCONFIG_DLL) \
+    $(MINGW_FREETYPE_DLL) \
+    $(MINGW_GCRYPT_DLL) \
+    $(MINGW_GNUTLS_DLL) \
+    $(MINGW_GPG_ERROR_DLL) \
+    $(MINGW_GRAPHITE2_DLL) \
+    $(MINGW_HUNSPELL_DLL) \
+    $(MINGW_HYPHEN_DLL) \
+    $(MINGW_ICONV_DLL) \
+    $(MINGW_ICUDATA_DLL) \
+    $(MINGW_ICUI18N_DLL) \
+    $(MINGW_ICUUC_DLL) \
+    $(MINGW_IDN_DLL) \
+    $(MINGW_INTL_DLL) \
+    $(MINGW_JPEG_DLL) \
+    $(MINGW_LCMS2_DLL) \
+    $(MINGW_LIBXML_DLL) \
+    $(MINGW_LIBXSLT_DLL) \
+    $(MINGW_LPSOLVE_DLL) \
+    $(MINGW_MINIZIP_DLL) \
+    $(MINGW_MYTHES_DLL) \
+    $(MINGW_NEON_DLL) \
+    $(MINGW_NSPR4_DLL) \
+    $(MINGW_NSS3_DLL) \
+    $(MINGW_NSSUTIL3_DLL) \
+    $(MINGW_PIXMAN_DLL) \
+    $(MINGW_PLC4_DLL) \
+    $(MINGW_PLDS4_DLL) \
+    $(MINGW_PNG15_DLL) \
+    $(MINGW_RAPTOR_DLL) \
+    $(MINGW_RASQAL_DLL) \
+    $(MINGW_REDLAND_DLL) \
+    $(MINGW_SQLITE3_DLL) \
+    $(MINGW_SSH2_DLL) \
+    $(MINGW_SSL3_DLL) \
+    $(MINGW_SSL_DLL) \
+    $(MINGW_TASN1_DLL) \
+    $(MINGW_ZLIB_DLL)
+
+.IF "$(MINGW_SHARED_GCCLIB)" == "YES"
+MINGW_DLLS+=$(MINGW_GCCDLL)
+.ENDIF
+
+.IF "$(MINGW_SHARED_GXXLIB)" == "YES"
+MINGW_DLLS+=$(MINGW_GXXDLL)
+.ENDIF
+
+# Guesstimate where the DLLs can be
+
+POTENTIAL_MINGW_RUNTIME_BINDIRS = \
+       $(COMPATH)/$(HOST_PLATFORM)/sys-root/mingw/bin \
+       /usr/$(HOST_PLATFORM)/sys-root/mingw/bin \
+
+all:
+       @for DLL in $(MINGW_DLLS) ; do \
+           for D in $(POTENTIAL_MINGW_RUNTIME_BINDIRS); do \
+              test -f $$D/$$DLL && $(COPY) -p $$D/$$DLL $(BIN)$/ && break; \
+           done ; \
+           test -f $(BIN)$/$$DLL || { echo Could not find $$DLL in none of 
$(POTENTIAL_MINGW_RUNTIME_BINDIRS) ; exit 1 ; } ; \
+       done
+
+.ENDIF
+
+# ------------------------------------------------------------------
+
+.INCLUDE: target.mk
diff --git a/external/prj/build.lst b/external/prj/build.lst
index 7847f24..65665db 100644
--- a/external/prj/build.lst
+++ b/external/prj/build.lst
@@ -3,5 +3,6 @@ el      external                                        usr1 - 
all el_mkout NULL
 el     external\glibc          nmake   -       all     el_glibc NULL
 el     external\gcc3_specific  nmake   -       all     el_gcc3 NULL
 el     external\mingwheaders           nmake   -       w       el_mingwheaders 
NULL
+el     external\mingw-dlls             nmake   -       w       el_mingwdlls 
NULL
 el     external\jawt           nmake   -       w       el_jawt NULL
 el     external\wine           nmake   -       w       el_wine NULL
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to