bump product version to 7.2.5.1
[LibreOffice.git] / xmlsecurity / Library_xmlsecurity.mk
blobbe879e655c9b5e4889727e794c7a54b7fe82a4bc
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,xmlsecurity))
12 $(eval $(call gb_Library_set_componentfile,xmlsecurity,xmlsecurity/util/xmlsecurity))
14 $(eval $(call gb_Library_set_include,xmlsecurity,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/xmlsecurity/inc \
19 $(eval $(call gb_Library_add_defs,xmlsecurity,\
20 -DXMLSECURITY_DLLIMPLEMENTATION \
23 $(eval $(call gb_Library_use_externals,xmlsecurity,\
24 boost_headers \
25 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
28 $(eval $(call gb_Library_set_precompiled_header,xmlsecurity,xmlsecurity/inc/pch/precompiled_xmlsecurity))
30 $(eval $(call gb_Library_use_sdk_api,xmlsecurity))
32 $(eval $(call gb_Library_use_libraries,xmlsecurity,\
33 comphelper \
34 cppu \
35 cppuhelper \
36 sal \
37 sax \
38 svl \
39 sfx \
40 svt \
41 svxcore \
42 tl \
43 ucbhelper \
44 utl \
45 vcl \
46 xo \
47 i18nlangtag \
48 xsec_xmlsec \
51 $(eval $(call gb_Library_add_exception_objects,xmlsecurity,\
52 xmlsecurity/source/component/certificatecontainer \
53 xmlsecurity/source/component/documentdigitalsignatures \
54 xmlsecurity/source/dialogs/certificatechooser \
55 xmlsecurity/source/dialogs/certificateviewer \
56 xmlsecurity/source/dialogs/digitalsignaturesdialog \
57 xmlsecurity/source/dialogs/macrosecurity \
58 xmlsecurity/source/framework/buffernode \
59 xmlsecurity/source/framework/elementcollector \
60 xmlsecurity/source/framework/elementmark \
61 xmlsecurity/source/framework/saxeventkeeperimpl \
62 xmlsecurity/source/framework/securityengine \
63 xmlsecurity/source/framework/signaturecreatorimpl \
64 xmlsecurity/source/framework/signatureengine \
65 xmlsecurity/source/framework/signatureverifierimpl \
66 xmlsecurity/source/framework/xmlsignaturetemplateimpl \
67 xmlsecurity/source/helper/documentsignaturehelper \
68 xmlsecurity/source/helper/documentsignaturemanager \
69 xmlsecurity/source/helper/ooxmlsecparser \
70 xmlsecurity/source/helper/ooxmlsecexporter \
71 xmlsecurity/source/helper/pdfsignaturehelper \
72 xmlsecurity/source/helper/xmlsignaturehelper \
73 xmlsecurity/source/helper/UriBindingHelper \
74 xmlsecurity/source/helper/xsecctl \
75 xmlsecurity/source/helper/xsecparser \
76 xmlsecurity/source/helper/xsecsign \
77 xmlsecurity/source/helper/xsecverify \
80 $(eval $(call gb_Library_use_externals,xmlsecurity,\
81 libxml2 \
83 ifeq ($(OS),WNT)
84 $(eval $(call gb_Library_add_defs,xmlsecurity,\
85 -DXMLSEC_CRYPTO_MSCRYPTO \
87 $(eval $(call gb_Library_use_system_win32_libs,xmlsecurity,\
88 crypt32 \
89 Ole32 \
90 Shell32 \
92 else
93 ifneq (,$(filter DESKTOP,$(BUILD_TYPE))$(filter ANDROID,$(OS)))
94 ifeq (TRUE,$(ENABLE_NSS))
95 $(eval $(call gb_Library_add_defs,xmlsecurity,\
96 -DXMLSEC_CRYPTO_NSS \
98 $(eval $(call gb_Library_use_externals,xmlsecurity,\
99 nss3 \
100 plc4 \
102 endif
103 endif # BUILD_TYPE=DESKTOP
104 endif
106 # vim: set noet sw=4 ts=4: