office-gobmx/libxmlsec/UnpackedTarball_xmlsec.mk
Caolán McNamara 458530deaa fix xmlsec build under RHEL-5 (again)
last fix was removed with ec6af4194e

Change-Id: Ibb459d5c43356abb782dbd6a88f712bd1e01b54b
2012-12-06 08:53:35 +00:00

51 lines
2.1 KiB
Makefile

# -*- 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,xmlsec))
$(eval $(call gb_UnpackedTarball_set_tarball,xmlsec,$(LIBXMLSEC_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
libxmlsec/xmlsec1-configure.patch \
libxmlsec/xmlsec1-configure-libxml-libxslt.patch \
libxmlsec/xmlsec1-olderlibxml2.patch \
libxmlsec/xmlsec1-oldlibtool.patch \
libxmlsec/xmlsec1-nssdisablecallbacks.patch \
libxmlsec/xmlsec1-nssmangleciphers.patch \
libxmlsec/xmlsec1-noverify.patch \
libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch \
libxmlsec/xmlsec1-vc.patch \
libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch \
libxmlsec/xmlsec1-android.patch \
libxmlsec/xmlsec1-1.2.14-ansi.patch \
libxmlsec/xmlsec1-customkeymanage.patch \
))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/mscrypto/akmngr.h,libxmlsec/include/akmngr_mscrypto.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/mscrypto/akmngr.c,libxmlsec/src/akmngr_mscrypto.c))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/akmngr.h,libxmlsec/include/akmngr_nss.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/ciphers.h,libxmlsec/include/ciphers.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/tokens.h,libxmlsec/include/tokens.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/akmngr.c,libxmlsec/src/akmngr_nss.c))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/keywrapers.c,libxmlsec/src/keywrapers.c))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/tokens.c,libxmlsec/src/tokens.c))
ifeq ($(OS)$(COM),WNTGCC)
$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
libxmlsec/xmlsec1-mingw32.patch \
))
endif
ifeq ($(OS)$(CPU),MACOSXP)
$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
libxmlsec/xmlsec1-1.2.14_old_automake.patch \
))
endif
# vim: set noet sw=4 ts=4: