Update git submodules
[LibreOffice.git] / odk / Module_odk.mk
blob8b8ee8ccaac02b843170eea589a14ec3a88a16ea
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 $(DOXYGEN),\
16 CustomTarget_doxygen \
17 GeneratedPackage_odk_doxygen \
18 ) \
19 CustomTarget_html \
20 CustomTarget_settings \
21 Executable_unoapploader \
22 Package_config \
23 Package_docs \
24 Package_html \
25 Package_examples \
26 Package_odk_headers \
27 Package_odk_headers_generated \
28 Package_settings \
29 Package_settings_generated \
30 Package_share_readme \
31 Package_share_readme_generated \
34 ifeq ($(OS),WNT)
35 $(eval $(call gb_Module_add_targets,odk,\
36 $(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),Package_cli) \
37 CustomTarget_config_win \
38 Package_config_win \
40 endif
42 ifneq ($(ENABLE_JAVA),)
43 $(eval $(call gb_Module_add_targets,odk,\
44 CustomTarget_classes \
45 CustomTarget_javadoc \
46 GeneratedPackage_odk_javadoc \
47 GeneratedPackage_uno_loader_classes \
49 endif
51 $(eval $(call gb_Module_add_check_targets,odk,\
52 CppunitTest_odk_checkapi \
53 CustomTarget_allheaders \
54 CustomTarget_check \
57 ifneq ($(filter $(OS),LINUX MACOSX),)
58 $(eval $(call gb_Module_add_subsequentcheck_targets,odk, \
59 CustomTarget_build-examples \
60 $(if $(ENABLE_JAVA),\
61 CustomTarget_build-examples_java \
62 ) \
64 endif
66 # vim: set noet sw=4 ts=4: