tdf#101778: Disable crop and rotate in read-only mode
[LibreOffice.git] / sd / Module_sd.mk
blob59f792a780375e302fdbbce9044a255d26dcf3d4
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,sd))
12 $(eval $(call gb_Module_add_targets,sd,\
13 Library_sd \
14 Library_sdd \
15 Library_sdfilt \
16 $(call gb_Helper_optional,DESKTOP,Library_sdui) \
17 Package_opengl \
18 Package_web \
19 Package_xml \
20 UIConfig_sdraw \
21 UIConfig_simpress \
24 $(eval $(call gb_Module_add_l10n_targets,sd,\
25 AllLangMoTarget_sd \
28 ifeq ($(filter DRAGONFLY FREEBSD,$(OS)),)
29 $(eval $(call gb_Module_add_slowcheck_targets,sd,\
30 $(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
31 CppunitTest_sd_uimpress) \
32 CppunitTest_sd_import_tests \
33 CppunitTest_sd_import_tests_smartart \
34 CppunitTest_sd_export_ooxml1 \
35 CppunitTest_sd_export_ooxml2 \
36 CppunitTest_sd_export_tests \
37 CppunitTest_sd_filters_test \
38 CppunitTest_sd_misc_tests \
39 CppunitTest_sd_html_export_tests \
40 CppunitTest_sd_activex_controls_tests \
42 endif
44 ifneq ($(ENABLE_HEADLESS),TRUE)
45 ifeq ($(OS),LINUX)
46 $(eval $(call gb_Module_add_slowcheck_targets,sd,\
47 CppunitTest_sd_svg_export_tests \
48 CppunitTest_sd_tiledrendering \
50 endif
51 endif
53 # screenshots
54 $(eval $(call gb_Module_add_screenshot_targets,sd, \
55 CppunitTest_sd_dialogs_test \
58 $(eval $(call gb_Module_add_subsequentcheck_targets,sd,\
59 JunitTest_sd_unoapi \
62 # vim: set noet sw=4 ts=4: