Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / xmlsecurity / CppunitTest_xmlsecurity_signing.mk
blob84e7a76c043be077e7d7afb3bf528f6c76eba1de
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #*************************************************************************
12 $(eval $(call gb_CppunitTest_CppunitTest,xmlsecurity_signing))
14 $(eval $(call gb_CppunitTest_add_exception_objects,xmlsecurity_signing, \
15 xmlsecurity/qa/unit/signing/signing \
18 $(eval $(call gb_CppunitTest_use_libraries,xmlsecurity_signing, \
19 comphelper \
20 cppuhelper \
21 cppu \
22 sal \
23 sax \
24 sfx \
25 test \
26 tl \
27 unotest \
28 utl \
29 xmlsecurity \
32 $(eval $(call gb_CppunitTest_use_externals,xmlsecurity_signing,\
33 boost_headers \
34 libxml2 \
37 $(eval $(call gb_CppunitTest_set_include,xmlsecurity_signing,\
38 -I$(SRCDIR)/xmlsecurity/inc \
39 $$(INCLUDE) \
42 $(eval $(call gb_CppunitTest_use_sdk_api,xmlsecurity_signing))
44 $(eval $(call gb_CppunitTest_use_ure,xmlsecurity_signing))
45 $(eval $(call gb_CppunitTest_use_vcl,xmlsecurity_signing))
47 $(eval $(call gb_CppunitTest_use_rdb,xmlsecurity_signing,services))
49 $(eval $(call gb_CppunitTest_use_configuration,xmlsecurity_signing))
51 ifeq ($(ENABLE_POPPLER),TRUE)
52 $(eval $(call gb_CppunitTest_use_executable,xmlsecurity_signing,xpdfimport))
53 endif
55 # various hacks to make unit test work on Linux more often
56 ifeq ($(OS),LINUX)
57 # reset the LD_LIBRARY_PATH for spawned GPG processes
58 $(call gb_CppunitTest_get_target,xmlsecurity_signing): \
59 EXTRA_ENV_VARS := \
60 LIBO_LD_PATH=$$LD_LIBRARY_PATH
61 endif
63 $(eval $(call gb_CppunitTest_use_custom_headers,xmlsecurity_signing,\
64 officecfg/registry \
67 # vim: set noet sw=4 ts=4: