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
) \
61 $(eval
$(call gb_CppunitTest_set_include
,sd_import_tests
$(1),\
62 -I
$(SRCDIR
)/sd
/source
/ui
/inc \
67 $(eval
$(call gb_CppunitTest_use_sdk_api
,sd_import_tests
$(1)))
69 $(eval
$(call gb_CppunitTest_use_ure
,sd_import_tests
$(1)))
70 $(eval
$(call gb_CppunitTest_use_vcl
,sd_import_tests
$(1)))
72 $(eval
$(call gb_CppunitTest_use_components
,sd_import_tests
$(1),\
73 animations
/source
/animcore
/animcore \
75 chart2
/source
/chartcore \
76 chart2
/source
/controller
/chartcontroller \
77 comphelper
/util
/comphelp \
78 configmgr
/source
/configmgr \
80 desktop
/source
/deployment
/deployment \
81 drawinglayer
/drawinglayer \
82 embeddedobj
/util
/embobj \
84 filter/source
/config
/cache
/filterconfig1 \
85 filter/source
/odfflatxml
/odfflatxml \
86 filter/source
/svg
/svgfilter \
87 filter/source
/pdf
/pdffilter \
88 filter/source
/xmlfilteradaptor
/xmlfa \
89 filter/source
/xmlfilterdetect
/xmlfd \
90 filter/source
/storagefilterdetect
/storagefd \
93 i18npool
/util
/i18npool \
94 linguistic
/source
/lng \
96 package
/source
/xstor
/xstor \
97 package
/util
/package2 \
98 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: