1 # -*- Mode: makefile; 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 # The Initial Developer of the Original Code is
15 # Bjoern Michaelsen, Canonical Ltd. <bjoern.michaelsen@canonical.com>
16 # Portions created by the Initial Developer are Copyright (C) 2010 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval
$(call gb_Module_Module
,sal
))
31 $(eval
$(call gb_Module_add_targets
,sal
,\
32 CustomTarget_generated \
33 $(if
$(filter $(OS
),IOS
),, \
34 Executable_osl_process_child
) \
35 Executable_cppunittester \
36 $(if
$(filter $(OS
),ANDROID
), \
37 Library_lo-bootstrap
) \
39 $(if
$(filter $(OS
),ANDROID
),, \
40 Library_sal_textenc
) \
41 $(if
$(filter $(OS
),WNT
), \
45 StaticLibrary_salcpprt \
48 $(eval
$(call gb_Module_add_check_targets
,sal
,\
49 CppunitTest_Module_DLL \
50 CppunitTest_sal_bytesequence \
51 CppunitTest_sal_osl_condition \
52 $(if
$(filter $(OS
),WNT
),, \
53 CppunitTest_sal_osl_file
) \
54 CppunitTest_sal_osl_module \
55 CppunitTest_sal_osl_old_test_file \
56 CppunitTest_sal_osl_security \
57 CppunitTest_sal_osl_thread \
58 $(if
$(filter $(OS
),IOS
),, \
59 CppunitTest_sal_osl_process
) \
60 CppunitTest_sal_rtl_alloc \
61 CppunitTest_sal_rtl_cipher \
62 CppunitTest_sal_rtl_crc32 \
63 CppunitTest_sal_rtl_doublelock \
64 CppunitTest_sal_rtl_locale \
65 CppunitTest_sal_rtl_ostringbuffer \
66 CppunitTest_sal_rtl_oustringbuffer \
67 CppunitTest_sal_rtl_strings \
68 CppunitTest_sal_tcwf \
69 CppunitTest_sal_types \
72 # these were added when gbuild'izing
73 $(eval
$(call gb_Module_add_check_targets
,sal
,\
74 CppunitTest_sal_osl_mutex \
75 CppunitTest_sal_osl_profile \
76 CppunitTest_sal_osl_setthreadname \
77 CppunitTest_sal_rtl_math \
80 # CppunitTest_sal_osl_pipe has circular dependency on unotest
81 # $(eval $(call gb_Module_add_subsequentcheck_targets,sal,\
82 CppunitTest_sal_osl_pipe \
85 # error when building test-getsystempathfromfileurl.cxx \
86 CppunitTest_sal_osl_getsystempathfromfileurl \
88 # vim: set noet sw=4 ts=4: