Deduplicate some char replacement functions
[LibreOffice.git] / svx / Module_svx.mk
blob40e65bd70d0d2016ca6e0d82112f34240404880f
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 \
42 CppunitTest_svx_styles \
43 CppunitTest_svx_core \
46 # screenshots
47 $(eval $(call gb_Module_add_screenshot_targets,svx,\
48 CppunitTest_svx_dialogs_test \
51 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
52 ifeq (,$(DISABLE_DYNLOADING))
53 $(eval $(call gb_Module_add_targets,svx,\
54 Executable_gengal \
55 $(if $(filter-out MACOSX WNT,$(OS)), \
56 Package_gengal) \
58 endif
59 else # !DESKTOP
60 ifeq ($(WITH_GALLERY_BUILD),TRUE)
61 $(eval $(call gb_Module_add_targets_for_build,svx,\
62 Executable_gengal \
64 endif
65 endif # !DESKTOP
67 $(eval $(call gb_Module_add_subsequentcheck_targets,svx,\
68 JunitTest_svx_unoapi \
71 $(eval $(call gb_Module_add_uicheck_targets,svx,\
72 UITest_svx_table \
75 #todo: noopt for EnhanceCustomShapesFunctionParser.cxx on Solaris Sparc and MacOSX
76 #todo: -DUNICODE and -D_UNICODE on WNT for source/dialog
77 #todo: component file
78 # vim: set noet sw=4 ts=4: