# -*- 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 \
	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

$(eval $(call gb_Module_add_targets,odk,\
	Zip_odkcommon \
))


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

# -*- 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 \
	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:

Add comment about dependency gotcha
Add comment about dependency gotcha

Change-Id: Ia3eee9d4c06ef3411ad0a8547edcb08fe901d9dc
