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_add_library_objects
,sc_ucalc
,sc
))
40 $(call gb_CxxObject_get_target
,sc
/qa
/unit
/ucalc
): $(WORKDIR
)/AllLangRes
/sc
41 $(call gb_CxxObject_get_target
,sc
/qa
/unit
/ucalc
): $(WORKDIR
)/AllLangRes
/frm
42 $(call gb_CxxObject_get_target
,sc
/qa
/unit
/ucalc
): $(WORKDIR
)/AllLangRes
/for
43 $(call gb_CxxObject_get_target
,sc
/qa
/unit
/ucalc
): $(WORKDIR
)/AllLangRes
/forui
46 $(eval
$(call gb_CppunitTest_add_linked_libs
,sc_ucalc
, \
76 $(eval
$(call gb_CppunitTest_set_include
,sc_ucalc
,\
77 -I
$(realpath
$(SRCDIR
)/sc
/inc
/pch
) \
78 -I
$(realpath
$(SRCDIR
)/sc
/source
/ui
/inc
) \
79 -I
$(realpath
$(SRCDIR
)/sc
/inc
) \
84 $(eval
$(call gb_CppunitTest_add_api
,sc_ucalc
,\
89 $(eval
$(call gb_CppunitTest_uses_ure
,sc_ucalc
))
91 $(eval
$(call gb_CppunitTest_add_type_rdbs
,sc_ucalc
,\
95 $(eval
$(call gb_CppunitTest_add_service_rdbs
,sc_ucalc
,\
99 $(eval
$(call gb_CppunitTest_set_args
,sc_ucalc
,\
102 --protector unoexceptionprotector
$(gb_Library_DLLEXT
) unoexceptionprotector \
105 $(eval
$(call gb_RdbTarget_RdbTarget
,sc_ucalc
))
107 $(eval
$(call gb_RdbTarget_add_components
,sc_ucalc
,\
109 i18npool
/util
/i18npool \
111 unoxml
/source
/service
/unoxml \
114 $(eval
$(call gb_RdbTarget_add_old_components
,sc_ucalc
,\
119 # vim: set noet sw=4 ts=4: