related tdf#150197: sd should SetListFormat
[LibreOffice.git] / desktop / Module_desktop.mk
blobfff879c83b0c4d36dfa3675cf6dc924cd68de4cb
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/.
10 $(eval $(call gb_Module_Module,desktop))
12 $(eval $(call gb_Module_add_targets,desktop,\
13 CustomTarget_desktop_unopackages_install \
14 GeneratedPackage_desktop_unopackages_install \
15 Library_deployment \
16 Library_deploymentgui \
17 Library_deploymentmisc \
18 Library_offacc \
19 Library_sofficeapp \
20 $(if $(ENABLE_BREAKPAD), \
21 Library_crashreport \
22 ) \
23 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,Library_spl) \
24 Package_branding \
25 $(if $(CUSTOM_BRAND_DIR),Package_branding_custom) \
26 UIConfig_deployment \
29 $(eval $(call gb_Module_add_l10n_targets,desktop,\
30 AllLangMoTarget_dkt \
33 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
34 $(eval $(call gb_Module_add_targets,desktop,\
35 Executable_soffice_bin \
36 $(call gb_CondExeUnopkg,Executable_unopkg_bin) \
37 $(if $(ENABLE_BREAKPAD),Executable_minidump_upload) \
38 Library_migrationoo2 \
39 Library_migrationoo3 \
40 $(call gb_CondExeUnopkg,Library_unopkgapp) \
41 Package_scripts \
42 $(if $(ENABLE_PAGEIN), \
43 Pagein_calc \
44 Pagein_common \
45 Pagein_draw \
46 Pagein_impress \
47 Pagein_writer \
48 ) \
49 $(if $(filter-out MACOSX WNT,$(OS)),CustomTarget_soffice) \
52 ifeq ($(USING_X11),TRUE)
53 $(eval $(call gb_Module_add_targets,desktop,\
54 Package_sbase_sh \
55 Package_scalc_sh \
56 Package_sdraw_sh \
57 Package_simpress_sh \
58 Package_smath_sh \
59 Package_swriter_sh \
60 Package_soffice_sh \
62 endif
63 endif # DESKTOP
65 ifeq ($(OS),WNT)
67 $(eval $(call gb_Module_add_targets,desktop,\
68 StaticLibrary_winloader \
69 StaticLibrary_winlauncher \
70 Executable_quickstart \
71 Executable_sbase \
72 Executable_scalc \
73 Executable_sdraw \
74 Executable_simpress \
75 Executable_smath \
76 Executable_soffice_exe \
77 Executable_soffice_com \
78 Executable_soffice_safe \
79 Executable_sweb \
80 Executable_swriter \
81 Executable_unoinfo \
82 $(call gb_CondExeUnopkg, \
83 Executable_unopkg \
84 Executable_unopkg_com \
85 ) \
86 WinResTarget_quickstart \
87 WinResTarget_sbase \
88 WinResTarget_scalc \
89 WinResTarget_sdraw \
90 WinResTarget_simpress \
91 WinResTarget_soffice \
92 WinResTarget_sofficebin \
93 WinResTarget_smath \
94 WinResTarget_sweb \
95 WinResTarget_swriter \
98 else ifeq (,$(filter MACOSX ANDROID iOS HAIKU EMSCRIPTEN,$(OS)))
100 ifeq (,$(filter FUZZERS,$(BUILD_TYPE)))
101 $(eval $(call gb_Module_add_targets,desktop,\
102 Executable_oosplash \
104 endif
106 endif # $(OS)
108 ifneq (,$(filter Extension_test-active,$(MAKECMDGOALS)))
109 $(eval $(call gb_Module_add_targets,desktop, \
110 Extension_test-active \
111 Jar_active_java \
112 Library_active_native \
114 endif
116 ifneq (,$(filter Extension_test-passive,$(MAKECMDGOALS)))
117 $(eval $(call gb_Module_add_targets,desktop, \
118 Extension_test-passive \
119 Jar_passive_java \
120 Library_passive_native \
121 Pyuno_passive_python \
122 Rdb_passive_generic \
123 Rdb_passive_platform \
125 endif
127 ifneq (,$(filter Extension_test-crashextension,$(MAKECMDGOALS)))
128 $(eval $(call gb_Module_add_targets,desktop, \
129 Extension_test-crashextension \
130 Library_crashextension \
131 Rdb_crashextension \
133 endif
135 $(eval $(call gb_Module_add_check_targets,desktop, \
136 CppunitTest_desktop_app \
137 CppunitTest_desktop_version \
140 ifeq ($(OS),LINUX)
141 $(eval $(call gb_Module_add_check_targets,desktop, \
142 CppunitTest_desktop_lib \
143 CppunitTest_desktop_lokinit \
145 endif
147 # screenshots
148 $(eval $(call gb_Module_add_screenshot_targets,desktop,\
149 CppunitTest_desktop_dialogs_test \
152 # vim: set ts=4 sw=4 et: