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
,\
16 -I
$(SRCDIR
)/xmlsecurity
/inc \
19 $(eval
$(call gb_Library_add_defs
,xmlsecurity
,\
20 -DXMLSECURITY_DLLIMPLEMENTATION \
23 $(eval
$(call gb_Library_use_externals
,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
,\
48 $(eval
$(call gb_Library_add_exception_objects
,xmlsecurity
,\
49 xmlsecurity
/source
/component
/certificatecontainer \
50 xmlsecurity
/source
/component
/documentdigitalsignatures \
51 xmlsecurity
/source
/component
/registerservices \
52 xmlsecurity
/source
/dialogs
/certificatechooser \
53 xmlsecurity
/source
/dialogs
/certificateviewer \
54 xmlsecurity
/source
/dialogs
/digitalsignaturesdialog \
55 xmlsecurity
/source
/dialogs
/macrosecurity \
56 xmlsecurity
/source
/dialogs
/resourcemanager \
57 xmlsecurity
/source
/helper
/documentsignaturehelper \
58 xmlsecurity
/source
/helper
/documentsignaturemanager \
59 xmlsecurity
/source
/helper
/ooxmlsecparser \
60 xmlsecurity
/source
/helper
/ooxmlsecexporter \
61 xmlsecurity
/source
/helper
/pdfsignaturehelper \
62 xmlsecurity
/source
/helper
/xmlsignaturehelper2 \
63 xmlsecurity
/source
/helper
/xmlsignaturehelper \
64 xmlsecurity
/source
/helper
/xsecctl \
65 xmlsecurity
/source
/helper
/xsecparser \
66 xmlsecurity
/source
/helper
/xsecsign \
67 xmlsecurity
/source
/helper
/xsecverify \
68 xmlsecurity
/source
/pdfio
/pdfdocument \
71 $(eval
$(call gb_Library_use_externals
,xmlsecurity
,\
75 $(eval
$(call gb_Library_add_defs
,xmlsecurity
,\
76 -DXMLSEC_CRYPTO_MSCRYPTO \
78 $(eval
$(call gb_Library_use_system_win32_libs
,xmlsecurity
,\
82 ifneq (,$(filter DESKTOP
,$(BUILD_TYPE
)))
83 $(eval
$(call gb_Library_add_defs
,xmlsecurity
,\
86 $(eval
$(call gb_Library_use_externals
,xmlsecurity
,\
90 endif # BUILD_TYPE=DESKTOP
93 # vim: set noet sw=4 ts=4: