Branch libreoffice-5-0-4
[LibreOffice.git] / odk / Module_odk.mk
blob1dea6578c88fb3f2386adf5d71d0b8a6d1878695
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,odk))
12 $(eval $(call gb_Module_add_targets,odk,\
13 $(if $(filter WNT,$(OS)),Package_cli) \
14 $(if $(DOXYGEN),\
15 CustomTarget_doxygen \
16 GeneratedPackage_odk_doxygen \
17 ) \
18 CustomTarget_html \
19 CustomTarget_settings \
20 Executable_unoapploader \
21 Package_config \
22 Package_docs \
23 Package_html \
24 Package_examples \
25 Package_lib \
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 \
32 PackageSet_odk_headers \
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 # vim: set noet sw=4 ts=4: