2014-04-28 23:33:04 +09:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-08-02 02:50:36 +02:00
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-08-02 02:50:36 +02:00
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# 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/.
|
2011-08-02 02:50:36 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,xmlsecurity))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_set_componentfile,xmlsecurity,xmlsecurity/util/xmlsecurity))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_set_include,xmlsecurity,\
|
|
|
|
$$(INCLUDE) \
|
2012-03-05 19:02:10 +01:00
|
|
|
-I$(SRCDIR)/xmlsecurity/inc \
|
2011-08-02 02:50:36 +02:00
|
|
|
))
|
|
|
|
|
2016-01-11 15:02:02 +01:00
|
|
|
$(eval $(call gb_Library_add_defs,xmlsecurity,\
|
|
|
|
-DXMLSECURITY_DLLIMPLEMENTATION \
|
|
|
|
))
|
|
|
|
|
2017-02-02 17:33:30 +01:00
|
|
|
$(eval $(call gb_Library_use_externals,xmlsecurity,boost_headers))
|
2013-01-26 21:19:13 +01:00
|
|
|
|
2019-06-22 12:34:48 +02:00
|
|
|
$(eval $(call gb_Library_set_precompiled_header,xmlsecurity,xmlsecurity/inc/pch/precompiled_xmlsecurity))
|
2014-06-04 09:02:37 +02:00
|
|
|
|
2012-07-02 13:00:50 +01:00
|
|
|
$(eval $(call gb_Library_use_sdk_api,xmlsecurity))
|
2011-08-02 02:50:36 +02:00
|
|
|
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_Library_use_libraries,xmlsecurity,\
|
2011-08-02 02:50:36 +02:00
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
|
|
|
sal \
|
#i108468#: clean up xmluconv code duplication, part 1:
move convertNumber64 from SvXMLUnitConverter to sax::converter.
remove duplicate methods from SvXMLUnitConverter:
convertBool, convertPercent, convertColor, convertNumber, convertDouble,
indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
clearUndefinedChars
2011-10-11 14:19:00 +02:00
|
|
|
sax \
|
2011-08-02 02:50:36 +02:00
|
|
|
svl \
|
|
|
|
svt \
|
|
|
|
svxcore \
|
|
|
|
tl \
|
|
|
|
ucbhelper \
|
|
|
|
utl \
|
|
|
|
vcl \
|
|
|
|
xo \
|
2013-04-05 18:40:39 +02:00
|
|
|
i18nlangtag \
|
2016-12-15 09:09:35 +01:00
|
|
|
xsec_xmlsec \
|
2011-08-02 02:50:36 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,xmlsecurity,\
|
|
|
|
xmlsecurity/source/component/certificatecontainer \
|
|
|
|
xmlsecurity/source/component/documentdigitalsignatures \
|
|
|
|
xmlsecurity/source/dialogs/certificatechooser \
|
|
|
|
xmlsecurity/source/dialogs/certificateviewer \
|
|
|
|
xmlsecurity/source/dialogs/digitalsignaturesdialog \
|
|
|
|
xmlsecurity/source/dialogs/macrosecurity \
|
2018-02-07 21:31:58 +01:00
|
|
|
xmlsecurity/source/framework/buffernode \
|
|
|
|
xmlsecurity/source/framework/elementcollector \
|
|
|
|
xmlsecurity/source/framework/elementmark \
|
|
|
|
xmlsecurity/source/framework/saxeventkeeperimpl \
|
|
|
|
xmlsecurity/source/framework/securityengine \
|
|
|
|
xmlsecurity/source/framework/signaturecreatorimpl \
|
|
|
|
xmlsecurity/source/framework/signatureengine \
|
|
|
|
xmlsecurity/source/framework/signatureverifierimpl \
|
|
|
|
xmlsecurity/source/framework/xmlsignaturetemplateimpl \
|
2011-08-02 02:50:36 +02:00
|
|
|
xmlsecurity/source/helper/documentsignaturehelper \
|
2016-02-15 11:38:23 +01:00
|
|
|
xmlsecurity/source/helper/documentsignaturemanager \
|
2016-01-12 18:54:29 +01:00
|
|
|
xmlsecurity/source/helper/ooxmlsecparser \
|
2016-03-11 17:09:02 +01:00
|
|
|
xmlsecurity/source/helper/ooxmlsecexporter \
|
2016-10-13 10:37:02 +02:00
|
|
|
xmlsecurity/source/helper/pdfsignaturehelper \
|
2011-08-02 02:50:36 +02:00
|
|
|
xmlsecurity/source/helper/xmlsignaturehelper2 \
|
|
|
|
xmlsecurity/source/helper/xmlsignaturehelper \
|
|
|
|
xmlsecurity/source/helper/xsecctl \
|
|
|
|
xmlsecurity/source/helper/xsecparser \
|
|
|
|
xmlsecurity/source/helper/xsecsign \
|
|
|
|
xmlsecurity/source/helper/xsecverify \
|
2016-10-13 10:37:02 +02:00
|
|
|
xmlsecurity/source/pdfio/pdfdocument \
|
2011-08-02 02:50:36 +02:00
|
|
|
))
|
|
|
|
|
2016-12-15 09:09:35 +01:00
|
|
|
$(eval $(call gb_Library_use_externals,xmlsecurity,\
|
|
|
|
libxml2 \
|
|
|
|
))
|
Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW. Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux. That attempt can be considered abandoned, and
the relevant code rotting.
Due to this heritage, there are now three kinds of MinGW-specific code in LO:
* Code from the original OOo native Windows effort that is no longer relevant
for the LO cross-compilation effort, but has never been removed properly.
* Code from the original OOo native Windows effort that is re-purposed for the
LO cross-compilation effort.
* Code that has been added specifially for the LO cross-compilation effort.
All three kinds of code are removed.
(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)
Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 14:05:21 +01:00
|
|
|
ifeq ($(OS),WNT)
|
2016-10-13 10:37:02 +02:00
|
|
|
$(eval $(call gb_Library_add_defs,xmlsecurity,\
|
|
|
|
-DXMLSEC_CRYPTO_MSCRYPTO \
|
|
|
|
))
|
2016-11-02 17:57:25 +01:00
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,xmlsecurity,\
|
|
|
|
crypt32 \
|
2019-08-14 12:58:49 +03:00
|
|
|
Ole32 \
|
|
|
|
Shell32 \
|
2016-11-02 17:57:25 +01:00
|
|
|
))
|
2016-10-13 10:37:02 +02:00
|
|
|
else
|
2017-08-18 23:17:15 +05:30
|
|
|
ifneq (,$(filter DESKTOP,$(BUILD_TYPE))$(filter ANDROID,$(OS)))
|
2016-10-13 10:37:02 +02:00
|
|
|
$(eval $(call gb_Library_add_defs,xmlsecurity,\
|
|
|
|
-DXMLSEC_CRYPTO_NSS \
|
|
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_externals,xmlsecurity,\
|
|
|
|
nss3 \
|
2016-11-30 17:00:58 +01:00
|
|
|
plc4 \
|
2016-10-13 10:37:02 +02:00
|
|
|
))
|
2016-10-13 21:07:55 +02:00
|
|
|
endif # BUILD_TYPE=DESKTOP
|
2016-10-13 10:37:02 +02:00
|
|
|
endif
|
|
|
|
|
2011-08-02 02:50:36 +02:00
|
|
|
# vim: set noet sw=4 ts=4:
|