Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / testtools / Module_testtools.mk
blob2ae6fed2b11223f0c64ea15fd5d7e038477dd4e4
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
12 # License.
14 # Major Contributor(s):
15 # Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
17 # All Rights Reserved.
19 # For minor contributions see the git repository.
21 # Alternatively, the contents of this file may be used under the terms of
22 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
23 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
24 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
25 # instead of those above.
27 $(eval $(call gb_Module_Module,testtools))
29 ifneq ($(CROSS_COMPILING),YES)
31 $(eval $(call gb_Module_add_targets,testtools,\
32 CustomTarget_bridgetest \
33 InternalUnoApi_bridgetest \
34 StaticLibrary_bridgetest \
35 Library_cppobj \
36 Library_bridgetest \
37 Library_constructors \
38 Rdb_uno_services \
41 ifneq ($(SOLAR_JAVA),)
42 $(eval $(call gb_Module_add_targets,testtools,\
43 Jar_testComponent \
44 CustomTarget_bridgetest_javamaker \
46 endif
48 # FIXME: currently failing to build with
49 # Attempted to read or write protected memory. This is often an
50 # indication that other memory is corrupt.
51 # at ?A0x393b8821.sal_main()
52 #ifeq ($(COM),MSC)
53 #$(eval $(call gb_Module_add_targets,testtools,\
54 # CustomTarget_bridgetest_climaker \
55 #))
56 #endif
58 # FIXME: Mac OSX PPC GCC fails this test!, likely broken UNO bridge.
59 # (is it still relevant?)
60 ifneq ($(COM)$(OS)$(CPU),GCCMACOSXP)
61 $(eval $(call gb_Module_add_check_targets,testtools,\
62 CustomTarget_uno_test \
64 endif
66 endif
68 # vim:set shiftwidth=4 softtabstop=4 expandtab: