Cosmetics.
[LibreOffice.git] / desktop / Module_desktop.mk
blob34612712e6a0a89f7997401cc849094c76ef8881
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 $(DISABLE_GUI),,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 Executable_unopkg_bin \
37 $(if $(ENABLE_BREAKPAD),Executable_minidump_upload) \
38 Library_migrationoo2 \
39 Library_migrationoo3 \
40 Library_unopkgapp \
41 Package_scripts \
44 ifneq ($(OS),MACOSX)
45 ifneq ($(OS),WNT)
46 $(eval $(call gb_Module_add_targets,desktop,\
47 Pagein_calc \
48 Pagein_common \
49 Pagein_draw \
50 Pagein_impress \
51 Pagein_writer \
52 CustomTarget_soffice \
55 ifeq ($(USING_X11), TRUE)
56 $(eval $(call gb_Module_add_targets,desktop,\
57 Package_sbase_sh \
58 Package_scalc_sh \
59 Package_sdraw_sh \
60 Package_simpress_sh \
61 Package_smath_sh \
62 Package_swriter_sh \
63 Package_soffice_sh \
65 endif
66 endif
67 endif
68 endif
70 ifeq ($(OS),WNT)
72 $(eval $(call gb_Module_add_targets,desktop,\
73 StaticLibrary_winloader \
74 StaticLibrary_winlauncher \
75 Executable_quickstart \
76 Executable_sbase \
77 Executable_scalc \
78 Executable_sdraw \
79 Executable_simpress \
80 Executable_smath \
81 Executable_soffice_exe \
82 Executable_soffice_com \
83 Executable_sweb \
84 Executable_swriter \
85 Executable_unoinfo \
86 Executable_unopkg \
87 Executable_unopkg_com \
88 WinResTarget_quickstart \
89 WinResTarget_sbase \
90 WinResTarget_scalc \
91 WinResTarget_sdraw \
92 WinResTarget_simpress \
93 WinResTarget_soffice \
94 WinResTarget_sofficebin \
95 WinResTarget_smath \
96 WinResTarget_sweb \
97 WinResTarget_swriter \
100 else ifeq ($(OS),MACOSX)
102 else ifeq ($(OS),ANDROID)
104 else ifeq ($(OS),iOS)
106 else ifeq ($(OS),HAIKU)
108 else
110 $(eval $(call gb_Module_add_targets,desktop,\
111 Executable_oosplash \
114 endif
116 ifneq (,$(filter Extension_test-active,$(MAKECMDGOALS)))
117 $(eval $(call gb_Module_add_targets,desktop, \
118 Extension_test-active \
119 Jar_active_java \
120 Library_active_native \
122 endif
124 ifneq (,$(filter Extension_test-passive,$(MAKECMDGOALS)))
125 $(eval $(call gb_Module_add_targets,desktop, \
126 Extension_test-passive \
127 Jar_passive_java \
128 Library_passive_native \
129 Pyuno_passive_python \
130 Rdb_passive_generic \
131 Rdb_passive_platform \
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: