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 # Miklos Vajna <vmiklos@frugalware.org>
17 # Portions created by the Initial Developer are Copyright (C) 2011 the
18 # Initial Developer. All Rights Reserved.
20 # Major Contributor(s):
22 # For minor contributions see the git repository.
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
26 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
27 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
28 # instead of those above.
29 #*************************************************************************
31 $(eval
$(call gb_CppunitTest_CppunitTest
,writerfilter_rtftok
))
33 $(eval
$(call gb_CppunitTest_add_exception_objects
,writerfilter_rtftok
, \
34 writerfilter
/qa
/cppunittests
/rtftok
/testrtftok \
37 $(eval
$(call gb_CppunitTest_add_linked_libs
,writerfilter_rtftok
, \
50 $(eval
$(call gb_CppunitTest_add_api
,writerfilter_rtftok
,\
55 $(eval
$(call gb_CppunitTest_uses_ure
,writerfilter_rtftok
))
57 $(eval
$(call gb_CppunitTest_add_type_rdbs
,writerfilter_rtftok
,\
61 $(eval
$(call gb_CppunitTest_add_components
,writerfilter_rtftok
,\
62 writerfilter
/util
/writerfilter \
65 $(eval
$(call gb_CppunitTest_add_old_components
,writerfilter_rtftok
,\
71 $(eval
$(call gb_CppunitTest_set_args
,writerfilter_rtftok
,\
72 --protector unoexceptionprotector
$(gb_Library_DLLEXT
) unoexceptionprotector \
73 "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
76 # we need to explicitly depend on library rtftok and writerfilter because it is not implied
78 $(call gb_CppunitTest_get_target
,writerfilter_rtftok
) : $(call gb_Library_get_target
,rtftok
) $(call gb_Library_get_target
,writerfilter
)
80 # vim: set noet sw=4 ts=4: