Use MsLangId::getConfiguredSystemUILanguage()
[LibreOffice.git] / svx / Module_svx.mk
blob3891829c8108ca107d730068594004197824b975
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Module_Module,svx))
22 $(eval $(call gb_Module_add_targets,svx,\
23 Library_svx \
24 Library_svxcore \
27 ifeq ($(gb_Side),host)
28 $(eval $(call gb_Module_add_targets,svx,\
29 Library_textconversiondlgs \
30 UIConfig_svx \
32 endif
34 $(eval $(call gb_Module_add_l10n_targets,svx,\
35 AllLangMoTarget_svx \
38 $(eval $(call gb_Module_add_check_targets,svx,\
39 CppunitTest_svx_unit \
40 CppunitTest_svx_gallery_test \
41 CppunitTest_svx_removewhichrange \
44 # screenshots
45 $(eval $(call gb_Module_add_screenshot_targets,svx,\
46 CppunitTest_svx_dialogs_test \
49 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
50 $(eval $(call gb_Module_add_targets,svx,\
51 Executable_gengal \
52 $(if $(filter-out MACOSX WNT,$(OS)), \
53 Package_gengal) \
55 else # !DESKTOP
56 ifeq ($(WITH_GALLERY_BUILD),TRUE)
57 $(eval $(call gb_Module_add_targets_for_build,svx,\
58 Executable_gengal \
60 endif
61 endif # !DESKTOP
63 $(eval $(call gb_Module_add_subsequentcheck_targets,svx,\
64 JunitTest_svx_unoapi \
67 $(eval $(call gb_Module_add_uicheck_targets,svx,\
68 UITest_svx_table \
71 #todo: noopt for EnhanceCustomShapesFunctionParser.cxx on Solaris Sparc and MacOSX
72 #todo: -DUNICODE and -D_UNICODE on WNT for source/dialog
73 #todo: component file
74 # vim: set noet sw=4 ts=4: