build fix
[LibreOffice.git] / sfx2 / Module_sfx2.mk
blobd892973ddc5c582deb7e62eed2779c6dd83749d7
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,sfx2))
22 $(eval $(call gb_Module_add_targets,sfx2,\
23 CustomTarget_classification \
24 Library_sfx \
25 Package_classification \
26 Package_emoji \
29 $(eval $(call gb_Module_add_l10n_targets,sfx2,\
30 AllLangResTarget_sfx2 \
31 UIConfig_sfx \
34 $(eval $(call gb_Module_add_check_targets,sfx2,\
35 CppunitTest_sfx2_metadatable \
36 CppunitTest_sfx2_controlleritem \
37 CppunitTest_sfx2_classification \
40 ifneq ($(ENABLE_JAVA),)
41 $(eval $(call gb_Module_add_subsequentcheck_targets,sfx2,\
42 JunitTest_sfx2_complex \
43 JunitTest_sfx2_unoapi \
45 endif
47 ifneq ($(DISABLE_PYTHON),TRUE)
48 $(eval $(call gb_Module_add_subsequentcheck_targets,sfx2,\
49 PythonTest_sfx2_python \
51 endif
53 ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD SOLARIS, $(OS)))
54 ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
55 $(eval $(call gb_Module_add_targets,sfx2,\
56 Library_qstart_gtk \
58 endif
59 endif
61 #todo: clean up quickstarter stuff in both libraries
62 #todo: move standard pool to svl
64 # screenshots
65 $(eval $(call gb_Module_add_screenshot_targets,sfx2,\
66 CppunitTest_sfx2_dialogs_test \
69 # vim: set noet sw=4 ts=4: