build fix: no comphelper/profilezone.hxx in this branch
[LibreOffice.git] / xmlsecurity / Library_xmlsecurity.mk
blobb84c6913c59a21955ad040d0041f110ea0f5c9ec
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_external,xmlsecurity,boost_headers))
25 $(eval $(call gb_Library_set_precompiled_header,xmlsecurity,$(SRCDIR)/xmlsecurity/inc/pch/precompiled_xmlsecurity))
27 $(eval $(call gb_Library_use_sdk_api,xmlsecurity))
29 $(eval $(call gb_Library_use_libraries,xmlsecurity,\
30 comphelper \
31 cppu \
32 cppuhelper \
33 sal \
34 sax \
35 svl \
36 svt \
37 svxcore \
38 tl \
39 ucbhelper \
40 utl \
41 vcl \
42 xo \
43 i18nlangtag \
44 $(gb_UWINAPI) \
47 $(eval $(call gb_Library_add_exception_objects,xmlsecurity,\
48 xmlsecurity/source/component/certificatecontainer \
49 xmlsecurity/source/component/documentdigitalsignatures \
50 xmlsecurity/source/component/registerservices \
51 xmlsecurity/source/dialogs/certificatechooser \
52 xmlsecurity/source/dialogs/certificateviewer \
53 xmlsecurity/source/dialogs/digitalsignaturesdialog \
54 xmlsecurity/source/dialogs/macrosecurity \
55 xmlsecurity/source/dialogs/resourcemanager \
56 xmlsecurity/source/helper/documentsignaturehelper \
57 xmlsecurity/source/helper/documentsignaturemanager \
58 xmlsecurity/source/helper/ooxmlsecparser \
59 xmlsecurity/source/helper/ooxmlsecexporter \
60 xmlsecurity/source/helper/pdfsignaturehelper \
61 xmlsecurity/source/helper/xmlsignaturehelper2 \
62 xmlsecurity/source/helper/xmlsignaturehelper \
63 xmlsecurity/source/helper/xsecctl \
64 xmlsecurity/source/helper/xsecparser \
65 xmlsecurity/source/helper/xsecsign \
66 xmlsecurity/source/helper/xsecverify \
67 xmlsecurity/source/pdfio/pdfdocument \
70 ifeq ($(OS)-$(COM),WNT-MSC)
71 $(eval $(call gb_Library_add_defs,xmlsecurity,\
72 -DXMLSEC_CRYPTO_MSCRYPTO \
74 $(eval $(call gb_Library_use_system_win32_libs,xmlsecurity,\
75 crypt32 \
77 else
78 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
79 $(eval $(call gb_Library_add_defs,xmlsecurity,\
80 -DXMLSEC_CRYPTO_NSS \
82 $(eval $(call gb_Library_use_externals,xmlsecurity,\
83 nss3 \
84 plc4 \
86 endif # BUILD_TYPE=DESKTOP
87 endif
89 # vim: set noet sw=4 ts=4: