summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-04 15:18:15 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-04 15:18:15 +0000
commita151d5d46a8bf7de5d78492add9f94eb61e827b2 (patch)
treeaf85dfc3ecf4ca528e3123b1dfacf214c29172df /openssl
parente650d1fc364c1248109a56fbb5390d22db82a0ec (diff)
INTEGRATION: CWS mingwport09 (1.21.4); FILE MERGED
2007/12/11 12:37:32 vg 1.21.4.1: #i83133# catch-up fixes for MinGW port
Diffstat (limited to 'openssl')
-rw-r--r--openssl/makefile.mk29
1 files changed, 26 insertions, 3 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index 0c609b4e056d..cd559bee57c8 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.22 $
+# $Revision: 1.23 $
#
-# last change: $Author: kz $ $Date: 2007-12-12 15:38:30 $
+# last change: $Author: obo $ $Date: 2008-01-04 16:18:15 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -88,7 +88,30 @@ ADDITIONAL_FILES:= \
.ENDIF
.IF "$(OS)" == "WNT"
-.IF "$(COM)" != "gcc"
+
+.IF "$(COM)"=="GCC"
+PATCH_FILE_NAME=opensslmingw.patch
+.IF "$(USE_MINGW)" == "cygwin"
+CONFIGURE_ACTION=$(PERL) configure
+CONFIGURE_FLAGS=mingw shared
+INSTALL_ACTION=mv libcrypto.a libcrypto_static.a && mv libcrypto.dll.a libcrypto.a && mv libssl.a libssl_static.a && mv libssl.dll.a libssl.a
+OUT2LIB = libcrypto_static.*
+OUT2LIB += libssl_static.*
+OUT2LIB += libcrypto.*
+OUT2LIB += libssl.*
+OUT2BIN = ssleay32.dll
+OUT2BIN += libeay32.dll
+.ELSE
+CONFIGURE_ACTION=
+BUILD_ACTION=cmd /c "ms\mingw32"
+OUT2LIB = out/libcrypto_static.*
+OUT2LIB += out/libssl_static.*
+OUT2LIB += out/libcrypto.*
+OUT2LIB += out/libssl.*
+OUT2BIN = out/ssleay32.dll
+OUT2BIN += out/libeay32.dll
+.ENDIF
+.ELSE
PATCH_FILE_NAME=openssl.patch
.IF "$(MAKETARGETS)" == ""