summaryrefslogtreecommitdiff
path: root/openssl/UnpackedTarball_openssl.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-12-28 11:19:06 -0500
committerPeter Foley <pefoley2@verizon.net>2012-12-31 20:13:20 +0000
commit9ddba6644024254a348c3569835df6ffae8c985a (patch)
tree7e48f8fdce73cf7a7766623b59e386ea684973b5 /openssl/UnpackedTarball_openssl.mk
parentb4b6c459830ba6a070a813a533530feff3964ab0 (diff)
convert openssl to gbuild and add to tail_build
Change-Id: I52c62a91e317f072237cf25ed54f3cc6456d82b3 Reviewed-on: https://gerrit.libreoffice.org/1495 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
Diffstat (limited to 'openssl/UnpackedTarball_openssl.mk')
-rw-r--r--openssl/UnpackedTarball_openssl.mk78
1 files changed, 78 insertions, 0 deletions
diff --git a/openssl/UnpackedTarball_openssl.mk b/openssl/UnpackedTarball_openssl.mk
new file mode 100644
index 000000000000..86ba3e41593a
--- /dev/null
+++ b/openssl/UnpackedTarball_openssl.mk
@@ -0,0 +1,78 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_UnpackedTarball_UnpackedTarball,openssl))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,openssl,$(OPENSSL_TARBALL)))
+
+# hack to fix symlinks with MSVC
+$(eval $(call gb_UnpackedTarball_fix_end_of_line,openssl,\
+ include/openssl/asn1.h \
+ include/openssl/bio.h \
+ include/openssl/bn.h \
+ include/openssl/buffer.h \
+ include/openssl/comp.h \
+ include/openssl/conf.h \
+ include/openssl/crypto.h \
+ include/openssl/des.h \
+ include/openssl/des_old.h \
+ include/openssl/dh.h \
+ include/openssl/dsa.h \
+ include/openssl/dtls1.h \
+ include/openssl/e_os2.h \
+ include/openssl/ec.h \
+ include/openssl/ecdh.h \
+ include/openssl/ecdsa.h \
+ include/openssl/err.h \
+ include/openssl/evp.h \
+ include/openssl/hmac.h \
+ include/openssl/kssl.h \
+ include/openssl/lhash.h \
+ include/openssl/md4.h \
+ include/openssl/md5.h \
+ include/openssl/obj_mac.h \
+ include/openssl/objects.h \
+ include/openssl/opensslconf.h \
+ include/openssl/opensslv.h \
+ include/openssl/ossl_typ.h \
+ include/openssl/pem.h \
+ include/openssl/pem2.h \
+ include/openssl/pkcs12.h \
+ include/openssl/pkcs7.h \
+ include/openssl/pq_compat.h \
+ include/openssl/pqueue.h \
+ include/openssl/rand.h \
+ include/openssl/ripemd.h \
+ include/openssl/rsa.h \
+ include/openssl/safestack.h \
+ include/openssl/sha.h \
+ include/openssl/ssl.h \
+ include/openssl/ssl2.h \
+ include/openssl/ssl23.h \
+ include/openssl/ssl3.h \
+ include/openssl/stack.h \
+ include/openssl/symhacks.h \
+ include/openssl/tls1.h \
+ include/openssl/ui.h \
+ include/openssl/ui_compat.h \
+ include/openssl/x509.h \
+ include/openssl/x509_vfy.h \
+ include/openssl/x509v3.h \
+))
+
+$(eval $(call gb_UnpackedTarball_add_patches,openssl,\
+ openssl/openssl-asm-fix.patch \
+ $(if $(filter LINUX FREEBSD ANDROID,$(OS)),openssl/openssllnx.patch) \
+ $(if $(filter WNTGCC,$(OS)$(COM)),openssl/opensslmingw.patch) \
+ $(if $(filter MSC,$(COM)),openssl/opensslwnt.patch) \
+ $(if $(filter SOLARIS,$(OS)),openssl/opensslsol.patch) \
+ $(if $(filter IOS,$(OS)),openssl/opensslios.patch) \
+))
+
+# vim: set noet sw=4 ts=4: