Fix linking on Windows
[LibreOffice.git] / tools / Executable_tools_cppunittester_all.mk
blobd2fd13b3f0ba8317703c0a6332caa61d680d208c
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
13 # License.
15 # The Initial Developer of the Original Code is
16 # Caolán McNamara, Red Hat, Inc. <caolanm@redhat.com>
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_Executable_Executable,tools_cppunittester_all))
33 $(eval $(call gb_Executable_set_include,tools_cppunittester_all,\
34 $$(INCLUDE) \
35 -I$(SRCDIR)/tools/inc \
36 -I$(SRCDIR)/tools/inc/pch \
39 $(eval $(call gb_Executable_add_defs,tools_cppunittester_all,\
40 $(gb_OBJCXXFLAGS) \
43 $(eval $(call gb_Executable_add_linked_libs,tools_cppunittester_all, \
44 cppu \
45 cppunit \
46 sal \
47 sal_textenc \
48 tl \
49 $(gb_STDLIBS) \
50 objc \
53 $(eval $(call gb_Executable_use_externals,tools_cppunittester_all, \
54 uikit \
55 foundation \
58 $(eval $(call gb_Executable_add_exception_objects,tools_cppunittester_all, \
59 tools/qa/cppunit/tools_cppunittester_all \
60 tools/qa/cppunit/test_reversemap \
61 tools/qa/cppunit/test_pathutils \
62 tools/qa/cppunit/test_stream \
65 $(eval $(call gb_Executable_add_api,tools_cppunittester_all, \
66 udkapi \
67 offapi \
70 # vim: set noet sw=4 ts=4: