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 # template for import tests
15 $(eval
$(call gb_CppunitTest_CppunitTest
,sd_import_tests
$(1)))
17 $(eval
$(call gb_CppunitTest_use_externals
,sd_import_tests
$(1),\
22 $(eval
$(call gb_CppunitTest_use_common_precompiled_header
,sd_import_tests
$(1)))
24 $(eval
$(call gb_CppunitTest_add_exception_objects
,sd_import_tests
$(1), \
25 sd
/qa
/unit
/import-tests
$(1) \
28 $(eval
$(call gb_CppunitTest_use_libraries
,sd_import_tests
$(1), \
29 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
62 $(eval
$(call gb_CppunitTest_set_include
,sd_import_tests
$(1),\
63 -I
$(SRCDIR
)/sd
/source
/ui
/inc \
68 $(eval
$(call gb_CppunitTest_use_sdk_api
,sd_import_tests
$(1)))
70 $(eval
$(call gb_CppunitTest_use_ure
,sd_import_tests
$(1)))
71 $(eval
$(call gb_CppunitTest_use_vcl
,sd_import_tests
$(1)))
73 $(eval
$(call gb_CppunitTest_use_components
,sd_import_tests
$(1),\
74 animations
/source
/animcore
/animcore \
76 chart2
/source
/chartcore \
77 chart2
/source
/controller
/chartcontroller \
78 comphelper
/util
/comphelp \
79 configmgr
/source
/configmgr \
81 desktop
/source
/deployment
/deployment \
82 drawinglayer
/drawinglayer \
83 embeddedobj
/util
/embobj \
85 filter/source
/config
/cache
/filterconfig1 \
86 filter/source
/odfflatxml
/odfflatxml \
87 filter/source
/svg
/svgfilter \
88 filter/source
/pdf
/pdffilter \
89 filter/source
/xmlfilteradaptor
/xmlfa \
90 filter/source
/xmlfilterdetect
/xmlfd \
91 filter/source
/storagefilterdetect
/storagefd \
94 i18npool
/util
/i18npool \
95 linguistic
/source
/lng \
97 package
/source
/xstor
/xstor \
98 package
/util
/package2 \
99 sax
/source
/expatwrap
/expwrap \
102 $(if
$(ENABLE_POPPLER
),sdext
/source
/pdfimport
/pdfimport
) \
105 svl
/source
/fsstor
/fsstorage \
110 ucb
/source
/core
/ucb1 \
111 ucb
/source
/ucp
/expand
/ucpexpand1 \
112 ucb
/source
/ucp
/file
/ucpfile1 \
113 ucb
/source
/ucp
/package
/ucppkg1 \
114 ucb
/source
/ucp
/tdoc
/ucptdoc1 \
116 unoxml
/source
/rdf
/unordf \
117 unoxml
/source
/service
/unoxml \
120 xmlscript
/util
/xmlscript \
122 xmlsecurity
/util
/xmlsecurity \
125 $(eval
$(call gb_CppunitTest_use_configuration
,sd_import_tests
$(1)))
127 $(eval
$(call gb_CppunitTest_use_packages
,sd_import_tests
$(1),\
131 ifneq ($(ENABLE_POPPLER
),)
132 $(eval
$(call gb_CppunitTest_use_executable
,sd_import_tests
$(1),xpdfimport
))
135 $(eval
$(call gb_CppunitTest_add_arguments
,sd_import_tests
$(1), \
136 -env
:arg-env
=$(gb_Helper_LIBRARY_PATH_VAR
)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
141 # vim: set noet sw=4 ts=4: