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_CppunitTest_CppunitTest
,odk_checkapi
))
12 $(eval
$(call gb_CppunitTest_add_exception_objects
,odk_checkapi
,\
13 odk
/qa
/checkapi
/checkapi \
16 $(eval
$(call gb_CppunitTest_add_cxxflags
,odk_checkapi
,\
20 $(eval
$(call gb_CppunitTest_set_external_code
,odk_checkapi
))
22 # The remaining lines must be in the given order, to set up a set of include paths that only
23 # contains the instdir SDK include directory, plus SOLARINC as needed for platform-specific
24 # includes, plus the workdir sub-directory containing the generated allheaders.hxx and the workdir
25 # sub-directory containing the generated UNOIDL include files (which are not bundled in the SDK but
26 # would rather get created on demand by the SDK's makefiles), plus whatever is needed for CppUnit:
28 $(eval
$(call gb_CppunitTest_set_include
,odk_checkapi
, \
29 -I
$(INSTDIR
)/$(SDKDIRNAME
)/include $(SOLARINC
)))
31 $(eval
$(call gb_CppunitTest_use_custom_headers
,odk_checkapi
,\
35 $(eval
$(call gb_CppunitTest_use_internal_comprehensive_api
,odk_checkapi
,\
39 $(eval
$(call gb_CppunitTest_use_external
,odk_checkapi
,cppunit
))
41 # vim: set noet sw=4 ts=4: