1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
15 # The Initial Developer of the Original Code is
16 # Bjoern Michaelsen, Canonical Ltd. <bjoern.michaelsen@canonical.com>
17 # Portions created by the Initial Developer are Copyright (C) 2010 the
18 # Initial Developer. All Rights Reserved.
20 # Major Contributor(s):
21 # David Tardon, Red Hat Inc. <dtardon@redhat.com>
23 # For minor contributions see the git repository.
25 # Alternatively, the contents of this file may be used under the terms of
26 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
27 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
28 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
29 # instead of those above.
30 #*************************************************************************
32 $(eval
$(call gb_CppunitTest_CppunitTest
,sc_ucalc
))
34 $(eval
$(call gb_CppunitTest_add_exception_objects
,sc_ucalc
, \
38 $(eval
$(call gb_CppunitTest_use_library_objects
,sc_ucalc
,sc
))
40 $(eval
$(call gb_CppunitTest_use_external
,sc_ucalc
,mdds_headers
))
42 ifeq ($(ENABLE_TELEPATHY
),TRUE
)
43 $(eval
$(call gb_CppunitTest_use_libraries
,sc_ucalc
,tubes
))
46 $(eval
$(call gb_CppunitTest_use_externals
,sc_ucalc
,\
50 $(eval
$(call gb_CppunitTest_use_libraries
,sc_ucalc
, \
82 $(eval
$(call gb_CppunitTest_set_include
,sc_ucalc
,\
83 -I
$(SRCDIR
)/sc
/source
/ui
/inc \
84 -I
$(SRCDIR
)/sc
/source
/core
/inc \
89 $(eval
$(call gb_CppunitTest_use_api
,sc_ucalc
,\
94 $(eval
$(call gb_CppunitTest_use_ure
,sc_ucalc
))
96 $(eval
$(call gb_CppunitTest_use_components
,sc_ucalc
,\
97 configmgr
/source
/configmgr \
99 i18npool
/util
/i18npool \
101 ucb
/source
/core
/ucb1 \
102 ucb
/source
/ucp
/file
/ucpfile1 \
103 unoxml
/source
/service
/unoxml \
107 $(eval
$(call gb_CppunitTest_use_configuration
,sc_ucalc
))
109 # vim: set noet sw=4 ts=4: