Version 6.1.0.2, tag libreoffice-6.1.0.2
[LibreOffice.git] / odk / Module_odk.mk
blob410f8cf8ef1e95ec684a2b02e44b1c440815f6e3
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 include $(SRCDIR)/odk/build-examples_common.mk
12 $(eval $(call gb_Module_Module,odk))
14 $(eval $(call gb_Module_add_targets,odk,\
15 $(if $(filter WNT,$(OS)),Package_cli) \
16 $(if $(DOXYGEN),\
17 CustomTarget_doxygen \
18 GeneratedPackage_odk_doxygen \
19 ) \
20 CustomTarget_html \
21 CustomTarget_settings \
22 Executable_unoapploader \
23 Package_config \
24 Package_docs \
25 Package_html \
26 Package_examples \
27 Package_odk_headers \
28 Package_odk_headers_generated \
29 Package_settings \
30 Package_settings_generated \
31 Package_share_readme \
32 Package_share_readme_generated \
35 ifeq ($(OS),WNT)
36 $(eval $(call gb_Module_add_targets,odk,\
37 CustomTarget_config_win \
38 Package_config_win \
40 endif
42 ifneq ($(ENABLE_JAVA),)
43 $(eval $(call gb_Module_add_targets,odk,\
44 $(if $(and $(BUILD_UNOWINREG),$(filter GCC,$(COM))),CustomTarget_unowinreg)\
45 CustomTarget_classes \
46 CustomTarget_javadoc \
47 GeneratedPackage_odk_javadoc \
48 GeneratedPackage_uno_loader_classes \
49 $(if $(filter WNT,$(OS)),Library_unowinreg) \
50 Package_unowinreg \
52 endif
54 $(eval $(call gb_Module_add_check_targets,odk,\
55 CppunitTest_odk_checkapi \
56 CustomTarget_allheaders \
57 CustomTarget_check \
60 ifneq ($(filter $(OS),LINUX MACOSX),)
61 $(eval $(call gb_Module_add_subsequentcheck_targets,odk, \
62 CustomTarget_build-examples \
63 $(if $(ENABLE_JAVA),\
64 CustomTarget_build-examples_java \
65 ) \
67 endif
69 # vim: set noet sw=4 ts=4: