1 # -*- Mode: makefile; 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
,xsec_xmlsec
))
13 $(eval
$(call gb_Library_set_componentfile
,xsec_xmlsec
,xmlsecurity
/util
/xsec_xmlsec.windows
))
15 $(eval
$(call gb_Library_set_componentfile
,xsec_xmlsec
,xmlsecurity
/util
/xsec_xmlsec
))
18 $(eval
$(call gb_Library_set_include
,xsec_xmlsec
,\
20 -I
$(SRCDIR
)/xmlsecurity
/inc \
21 -I
$(SRCDIR
)/xmlsecurity
/source
/xmlsec \
22 -I
$(call gb_UnpackedTarball_get_dir
,xmlsec
/include) \
25 $(eval
$(call gb_Library_use_custom_headers
,xsec_xmlsec
,\
29 $(eval
$(call gb_Library_use_sdk_api
,xsec_xmlsec
))
31 $(eval
$(call gb_Library_add_defs
,xsec_xmlsec
,\
36 $(eval
$(call gb_Library_use_libraries
,xsec_xmlsec
,\
40 $(eval
$(call gb_Library_use_static_libraries
,xsec_xmlsec
,\
46 $(eval
$(call gb_Library_use_libraries
,xsec_xmlsec
,\
57 $(eval
$(call gb_Library_use_packages
,xsec_xmlsec
,\
60 $(eval
$(call gb_Library_use_externals
,xsec_xmlsec
,\
66 $(eval
$(call gb_Library_add_exception_objects
,xsec_xmlsec
,\
67 xmlsecurity
/source
/xmlsec
/biginteger \
68 xmlsecurity
/source
/xmlsec
/certificateextension_xmlsecimpl \
69 xmlsecurity
/source
/xmlsec
/certvalidity \
70 xmlsecurity
/source
/xmlsec
/diagnose \
71 xmlsecurity
/source
/xmlsec
/errorcallback \
72 xmlsecurity
/source
/xmlsec
/saxhelper \
73 xmlsecurity
/source
/xmlsec
/serialnumberadapter \
74 xmlsecurity
/source
/xmlsec
/xmldocumentwrapper_xmlsecimpl \
75 xmlsecurity
/source
/xmlsec
/xmlelementwrapper_xmlsecimpl \
76 xmlsecurity
/source
/xmlsec
/xmlstreamio \
77 xmlsecurity
/source
/xmlsec
/xsec_xmlsec \
78 xmlsecurity
/source
/xmlsec
/nss
/ciphercontext \
79 xmlsecurity
/source
/xmlsec
/nss
/digestcontext \
80 xmlsecurity
/source
/xmlsec
/nss
/nssinitializer \
81 xmlsecurity
/source
/xmlsec
/nss
/xsec_nss \
84 ifeq ($(OS
)$(CROSS_COMPILING
),WNT
)
86 $(eval
$(call gb_Library_add_defs
,xsec_xmlsec
,\
87 -DXMLSEC_CRYPTO_MSCRYPTO \
90 $(eval
$(call gb_Library_use_libraries
,xsec_xmlsec
,\
94 $(eval
$(call gb_Library_use_system_win32_libs
,xsec_xmlsec
,\
99 $(eval
$(call gb_Library_add_exception_objects
,xsec_xmlsec
,\
100 xmlsecurity
/source
/xmlsec
/mscrypt
/sanextension_mscryptimpl \
101 xmlsecurity
/source
/xmlsec
/mscrypt
/securityenvironment_mscryptimpl \
102 xmlsecurity
/source
/xmlsec
/mscrypt
/seinitializer_mscryptimpl \
103 xmlsecurity
/source
/xmlsec
/mscrypt
/x509certificate_mscryptimpl \
104 xmlsecurity
/source
/xmlsec
/mscrypt
/xmlencryption_mscryptimpl \
105 xmlsecurity
/source
/xmlsec
/mscrypt
/xmlsecuritycontext_mscryptimpl \
106 xmlsecurity
/source
/xmlsec
/mscrypt
/xmlsignature_mscryptimpl \
107 xmlsecurity
/source
/xmlsec
/mscrypt
/xsec_mscrypt \
112 $(eval
$(call gb_Library_add_defs
,xsec_xmlsec
,\
113 -DXMLSEC_CRYPTO_NSS \
116 ifeq ($(OS
)$(CROSS_COMPILING
),WNTYES
)
117 $(eval
$(call gb_Library_use_libraries
,xsec_xmlsec
,\
121 $(eval
$(call gb_Library_use_static_libraries
,xsec_xmlsec
,\
126 $(eval
$(call gb_Library_use_externals
,xsec_xmlsec
,\
130 $(eval
$(call gb_Library_add_exception_objects
,xsec_xmlsec
,\
131 xmlsecurity
/source
/xmlsec
/nss
/sanextension_nssimpl \
132 xmlsecurity
/source
/xmlsec
/nss
/secerror \
133 xmlsecurity
/source
/xmlsec
/nss
/securityenvironment_nssimpl \
134 xmlsecurity
/source
/xmlsec
/nss
/seinitializer_nssimpl \
135 xmlsecurity
/source
/xmlsec
/nss
/x509certificate_nssimpl \
136 xmlsecurity
/source
/xmlsec
/nss
/xmlencryption_nssimpl \
137 xmlsecurity
/source
/xmlsec
/nss
/xmlsecuritycontext_nssimpl \
138 xmlsecurity
/source
/xmlsec
/nss
/xmlsignature_nssimpl \
141 endif # ifeq ($(OS)$(CROSS_COMPILING),WNT)
144 $(eval
$(call gb_Library_add_libs
,xsec_xmlsec
,\
149 # vim: set noet sw=4 ts=4: