summaryrefslogtreecommitdiff
path: root/odk/Module_odk.mk
blob: f93a6c6570f5f035a1ff9202f0ea90326cb0e1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Module_Module,odk))

$(eval $(call gb_Module_add_targets,odk,\
	CustomTarget_odkcommon \
	$(if $(filter WNT,$(OS)),CustomTarget_cli) \
	$(if $(DOXYGEN),CustomTarget_doxygen) \
	CustomTarget_check \
	CustomTarget_bin \
	CustomTarget_lib \
	CustomTarget_settings \
	CustomTarget_autodoc \
	CustomTarget_idl \
	CustomTarget_include \
	Executable_unoapploader \
	Zip_odkexamples \
))

ifneq ($(SOLAR_JAVA),)
$(eval $(call gb_Module_add_targets,odk,\
	CustomTarget_unowinreg \
	CustomTarget_classes \
	CustomTarget_javadoc \
	$(if $(filter WNT,$(OS)),Library_unowinreg) \
	Zip_uno_loader_classes \
))
endif

# This apparently needs to come last, as the various CustomTarget_* add to
# odkcommon_ZIPLIST that is used here:
$(eval $(call gb_Module_add_targets,odk,\
	Zip_odkcommon \
))


# vim: set noet sw=4 ts=4: