Drop separate instantiation of objects included in AllSettings
[LibreOffice.git] / svx / Module_svx.mk
blobddf824cdf4bcfb3fc0d42d933b59ed869290b3ee
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_core \
45 # screenshots
46 $(eval $(call gb_Module_add_screenshot_targets,svx,\
47 CppunitTest_svx_dialogs_test \
50 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
51 ifeq (,$(DISABLE_DYNLOADING))
52 $(eval $(call gb_Module_add_targets,svx,\
53 Executable_gengal \
54 $(if $(filter-out MACOSX WNT,$(OS)), \
55 Package_gengal) \
57 endif
58 else # !DESKTOP
59 ifeq ($(WITH_GALLERY_BUILD),TRUE)
60 $(eval $(call gb_Module_add_targets_for_build,svx,\
61 Executable_gengal \
63 endif
64 endif # !DESKTOP
66 $(eval $(call gb_Module_add_subsequentcheck_targets,svx,\
67 JunitTest_svx_unoapi \
70 $(eval $(call gb_Module_add_uicheck_targets,svx,\
71 UITest_svx_table \
74 #todo: noopt for EnhanceCustomShapesFunctionParser.cxx on Solaris Sparc and MacOSX
75 #todo: -DUNICODE and -D_UNICODE on WNT for source/dialog
76 #todo: component file
77 # vim: set noet sw=4 ts=4: