ScriptForge - Methods about data arrays
[LibreOffice.git] / xmlsecurity / Library_xmlsecurity.mk
blob8507b4bab2e121aef3351afb9358e8e0ebb744f7
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,services))
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 \
27 $(eval $(call gb_Library_set_precompiled_header,xmlsecurity,xmlsecurity/inc/pch/precompiled_xmlsecurity))
29 $(eval $(call gb_Library_use_sdk_api,xmlsecurity))
31 $(eval $(call gb_Library_use_libraries,xmlsecurity,\
32 comphelper \
33 cppu \
34 cppuhelper \
35 sal \
36 sax \
37 svl \
38 sfx \
39 svt \
40 svxcore \
41 tl \
42 ucbhelper \
43 utl \
44 vcl \
45 xo \
46 i18nlangtag \
47 xsec_xmlsec \
50 $(eval $(call gb_Library_add_exception_objects,xmlsecurity,\
51 xmlsecurity/source/component/certificatecontainer \
52 xmlsecurity/source/dialogs/certificatechooser \
53 xmlsecurity/source/dialogs/certificateviewer \
54 xmlsecurity/source/dialogs/digitalsignaturesdialog \
55 xmlsecurity/source/dialogs/macrosecurity \
56 xmlsecurity/source/framework/buffernode \
57 xmlsecurity/source/framework/elementcollector \
58 xmlsecurity/source/framework/elementmark \
59 xmlsecurity/source/framework/saxeventkeeperimpl \
60 xmlsecurity/source/framework/securityengine \
61 xmlsecurity/source/framework/signaturecreatorimpl \
62 xmlsecurity/source/framework/signatureengine \
63 xmlsecurity/source/framework/signatureverifierimpl \
64 xmlsecurity/source/framework/xmlsignaturetemplateimpl \
65 xmlsecurity/source/helper/documentsignaturehelper \
66 xmlsecurity/source/helper/documentsignaturemanager \
67 xmlsecurity/source/helper/ooxmlsecparser \
68 xmlsecurity/source/helper/ooxmlsecexporter \
69 xmlsecurity/source/helper/pdfsignaturehelper \
70 xmlsecurity/source/helper/UriBindingHelper \
71 xmlsecurity/source/helper/xsecctl \
72 xmlsecurity/source/helper/xsecparser \
73 xmlsecurity/source/helper/xsecsign \
76 ifneq (,$(or $(ENABLE_NSS),$(filter WNT,$(OS))))
77 $(eval $(call gb_Library_add_exception_objects,xmlsecurity,\
78 xmlsecurity/source/component/documentdigitalsignatures \
79 xmlsecurity/source/helper/xmlsignaturehelper \
80 xmlsecurity/source/helper/xsecverify \
83 $(eval $(call gb_Library_add_componentimpl,xmlsecurity,dds))
84 endif
86 $(eval $(call gb_Library_use_externals,xmlsecurity,\
87 libxml2 \
89 ifeq ($(OS),WNT)
90 $(eval $(call gb_Library_add_defs,xmlsecurity,\
91 -DXMLSEC_CRYPTO_MSCRYPTO \
93 $(eval $(call gb_Library_use_system_win32_libs,xmlsecurity,\
94 crypt32 \
95 Ole32 \
96 Shell32 \
98 else
99 ifneq (,$(filter DESKTOP,$(BUILD_TYPE))$(filter ANDROID,$(OS)))
100 ifeq (TRUE,$(ENABLE_NSS))
101 $(eval $(call gb_Library_add_defs,xmlsecurity,\
102 -DXMLSEC_CRYPTO_NSS \
104 $(eval $(call gb_Library_use_externals,xmlsecurity,\
105 nss3 \
106 plc4 \
108 endif
109 endif # BUILD_TYPE=DESKTOP
110 endif
112 # vim: set noet sw=4 ts=4: