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 \
16 Library_deploymentgui \
17 Library_deploymentmisc \
20 $(if
$(ENABLE_BREAKPAD
), \
23 $(if
$(or
$(DISABLE_GUI
),$(ENABLE_WASM_STRIP_SPLASH
)),,Library_spl
) \
25 $(if
$(CUSTOM_BRAND_DIR
),Package_branding_custom
) \
29 $(eval
$(call gb_Module_add_l10n_targets
,desktop
,\
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
) \
42 $(if
$(ENABLE_PAGEIN
), \
49 $(if
$(filter-out WNT
,$(OS
)),CustomTarget_soffice
) \
52 ifeq ($(USING_X11
),TRUE
)
53 $(eval
$(call gb_Module_add_targets
,desktop
,\
67 $(eval
$(call gb_Module_add_targets
,desktop
,\
68 StaticLibrary_winloader \
69 StaticLibrary_winlauncher \
70 Executable_quickstart \
76 Executable_soffice_exe \
77 Executable_soffice_com \
78 Executable_soffice_safe \
82 $(call gb_CondExeUnopkg
, \
84 Executable_unopkg_com \
86 WinResTarget_quickstart \
90 WinResTarget_simpress \
91 WinResTarget_soffice \
92 WinResTarget_sofficebin \
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 \
108 ifneq (,$(filter Extension_test-active
,$(MAKECMDGOALS
)))
109 $(eval
$(call gb_Module_add_targets
,desktop
, \
110 Extension_test-active \
112 Library_active_native \
116 ifneq (,$(filter Extension_test-passive
,$(MAKECMDGOALS
)))
117 $(eval
$(call gb_Module_add_targets
,desktop
, \
118 Extension_test-passive \
120 Library_passive_native \
121 Pyuno_passive_python \
122 Rdb_passive_generic \
123 Rdb_passive_platform \
127 ifneq (,$(filter Extension_test-crashextension
,$(MAKECMDGOALS
)))
128 $(eval
$(call gb_Module_add_targets
,desktop
, \
129 Extension_test-crashextension \
130 Library_crashextension \
135 $(eval
$(call gb_Module_add_check_targets
,desktop
, \
136 CppunitTest_desktop_app \
137 CppunitTest_desktop_version \
141 $(eval
$(call gb_Module_add_check_targets
,desktop
, \
142 CppunitTest_desktop_lib \
143 CppunitTest_desktop_lokinit \
148 $(eval
$(call gb_Module_add_screenshot_targets
,desktop
,\
149 CppunitTest_desktop_dialogs_test \
152 # vim: set ts=4 sw=4 et: