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 CustomTarget_sal_allheaders \
34 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)), \
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 ifneq (,$(filter DESKTOP
,$(BUILD_TYPE
)))
50 $(eval
$(call gb_Module_add_targets
,sal
,\
51 Executable_osl_process_child \
54 $(eval
$(call gb_Module_add_check_targets
,sal
,\
55 CppunitTest_sal_osl_process \
58 $(eval
$(call gb_Module_add_check_targets
,sal
,\
59 $(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),,CppunitTest_Module_DLL
) \
60 CppunitTest_sal_bytesequence \
61 CppunitTest_sal_checkapi \
62 CppunitTest_sal_osl_condition \
63 $(if
$(filter $(OS
),WNT
),, \
64 CppunitTest_sal_osl_file
) \
65 $(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),,CppunitTest_sal_osl_module
) \
66 CppunitTest_sal_osl_old_test_file \
67 CppunitTest_sal_osl_security \
68 CppunitTest_sal_osl_thread \
69 CppunitTest_sal_rtl_alloc \
70 CppunitTest_sal_rtl_bootstrap \
71 CppunitTest_sal_rtl_cipher \
72 CppunitTest_sal_rtl_crc32 \
73 CppunitTest_sal_rtl_doublelock \
74 CppunitTest_sal_rtl_locale \
75 CppunitTest_sal_rtl_ostringbuffer \
76 CppunitTest_sal_rtl_oustringbuffer \
77 CppunitTest_sal_rtl_textenc \
78 CppunitTest_sal_rtl_strings \
79 CppunitTest_sal_rtl_uri \
80 CppunitTest_sal_rtl_uuid \
81 CppunitTest_sal_tcwf \
82 CppunitTest_sal_types \
85 # these were added when gbuild'izing
86 $(eval
$(call gb_Module_add_check_targets
,sal
,\
87 CppunitTest_sal_osl_mutex \
88 CppunitTest_sal_osl_profile \
89 CppunitTest_sal_osl_setthreadname \
90 CppunitTest_sal_rtl_math \
95 # CppunitTest_sal_osl_pipe has circular dependency on unotest
96 # $(eval $(call gb_Module_add_subsequentcheck_targets,sal,\
97 CppunitTest_sal_osl_pipe \
100 # error when building test-getsystempathfromfileurl.cxx \
101 CppunitTest_sal_osl_getsystempathfromfileurl \
103 # vim: set noet sw=4 ts=4: