diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 11:47:43 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 11:47:43 +0000 |
commit | 130545c28f950a752101b23a49493fa5aed40594 (patch) | |
tree | 920e3f4cb81829c3dbda08b8bf0df1f8a8b74f81 /openssl/makefile.mk | |
parent | 1addee99991a24eb8f3e47dde027e8f05241eef3 (diff) |
INTEGRATION: CWS openssl01 (1.19.2); FILE MERGED
2007/11/22 11:47:52 hjs 1.19.2.6: #i83647# tweak patch usage/creation - solaris too
2007/11/22 11:22:13 hjs 1.19.2.5: #i83647# tweak patch usage/creation
2007/11/22 09:56:36 tkr 1.19.2.4: #i83647# remove -j make option - build breaks
2007/11/22 09:37:59 tkr 1.19.2.3: #i83647# solaris make without -j option
2007/11/21 13:07:07 tkr 1.19.2.2: #i83647# linux cc
2007/11/21 10:18:39 tkr 1.19.2.1: #i83687# cygwin issue
Diffstat (limited to 'openssl/makefile.mk')
-rw-r--r-- | openssl/makefile.mk | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk index faf31e529b9b..285ef4e563ed 100644 --- a/openssl/makefile.mk +++ b/openssl/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.19 $ +# $Revision: 1.20 $ # -# last change: $Author: rt $ $Date: 2007-11-14 08:23:39 $ +# last change: $Author: ihi $ $Date: 2007-11-26 12:47:43 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -63,44 +63,51 @@ CONFIGURE_ACTION=config CONFIGURE_FLAGS=-I$(SYSBASE)$/usr$/include -L$(SYSBASE)$/usr$/lib shared BUILD_DIR=. -BUILD_ACTION=make +BUILD_ACTION=make CC='$(CC)' OUT2LIB = libssl.* OUT2LIB += libcrypto.* OUT2INC += include/openssl/* .IF "$(OS)" == "LINUX" + PATCH_FILE_NAME=openssllnx.patch +ADDITIONAL_FILES:= \ + libcrypto_OOo_0_9_8e.map \ + libssl_OOo_0_9_8e.map # if you build openssl as shared library you have to patch the Makefile.Shared "LD_LIBRARY_PATH=$$LD_LIBRARY_PATH \" #BUILD_ACTION=make 'SHARED_LDFLAGS=-Wl,--version-script=./lib$$(SHLIBDIRS)_OOo_0_9_8e.map' .ENDIF .IF "$(OS)" == "SOLARIS" PATCH_FILE_NAME=opensslsol.patch +ADDITIONAL_FILES:= \ + libcrypto_OOo_0_9_8e.map \ + libssl_OOo_0_9_8e.map #BUILD_ACTION=make 'SHARED_LDFLAGS=-G -dy -z text -M./lib$$$$$$$$(SHLIBDIRS)_OOo_0_9_8e.map' .ENDIF .IF "$(OS)" == "WNT" +.IF "$(COM)" != "gcc" -#CYGWIN -OUT2BIN = cygcrypto-0.9.8.dll -OUT2BIN += cygssl-0.9.8.dll -# 4NT -.IF "$(USE_SHELL)"== "4nt" +.IF "$(MAKETARGETS)" == "" PATCH_FILE_NAME=openssl.patch +# The env. var PERL is used by nmake, and nmake insists on '\'s +PERL!:=$(subst,/,\ $(normpath,1 $(PERL))) +.EXPORT : PERL +.ENDIF + CONFIGURE_DIR=. -CONFIGURE_ACTION=$(PERL) configure +CONFIGURE_ACTION=$(PERL:s!\!/!) configure CONFIGURE_FLAGS=VC-WIN32 BUILD_DIR=. -BUILD_ACTION=cmd /c "ms\do_ms $(PERL)" && nmake -f ms/ntdll.mak - -OUT2LIB = out32dll\ssleay32.lib -OUT2LIB += out32dll\libeay32.lib -OUT2LIB += out32dll\ssleay32.lib -OUT2LIB += out32dll\libeay32.lib -OUT2BIN = out32dll\ssleay32.dll -OUT2BIN += out32dll\libeay32.dll -OUT2INC = inc32\openssl\* +BUILD_ACTION=cmd /c "ms$(EMQ)\do_ms.bat $(PERL:s!\!/!) && set CC=test" && nmake -f ms/ntdll.mak + +OUT2LIB = out32dll$/ssleay32.lib +OUT2LIB += out32dll$/libeay32.lib +OUT2BIN = out32dll$/ssleay32.dll +OUT2BIN += out32dll$/libeay32.dll +OUT2INC = inc32$/openssl$/* .ENDIF .ENDIF |