1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # Major Contributor(s):
15 # Copyright (C) 2010 Red Hat, Inc., David Tardon <dtardon@redhat.com>
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval
$(call gb_CppunitTest_CppunitTest
,sd_uimpress
))
30 $(eval
$(call gb_CppunitTest_set_include
,sd_uimpress
,\
32 -I
$(realpath
$(SRCDIR
)/sd
/inc
) \
36 $(eval
$(call gb_CppunitTest_add_defs
,sd_uimpress
,\
37 -DSD_DLLIMPLEMENTATION \
40 $(eval
$(call gb_CppunitTest_add_api
,sd_uimpress
,\
45 $(eval
$(call gb_CppunitTest_add_library_objects
,sd_uimpress
,sd
))
47 $(eval
$(call gb_CppunitTest_add_linked_libs
,sd_uimpress
,\
77 $(eval
$(call gb_CppunitTest_add_exception_objects
,sd_uimpress
,\
81 $(eval
$(call gb_CppunitTest_uses_ure
,sd_uimpress
))
83 $(eval
$(call gb_CppunitTest_add_type_rdbs
,sd_uimpress
,\
87 $(eval
$(call gb_CppunitTest_add_components
,sd_uimpress
,\
89 i18npool
/util
/i18npool \
92 $(eval
$(call gb_CppunitTest_add_old_components
,sd_uimpress
,\
96 $(eval
$(call gb_CppunitTest_set_args
,sd_uimpress
,\
98 --protector unoexceptionprotector
$(gb_Library_DLLEXT
) unoexceptionprotector \
99 "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
102 # vim: set noet sw=4 ts=4: