2012-05-10 02:10:23 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-04-24 11:14:03 -05:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-05-10 02:10:23 -05:00
|
|
|
#
|
2013-04-24 11:14:03 -05:00
|
|
|
# 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/.
|
2012-05-10 02:10:23 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_CustomTarget_CustomTarget,testtools/bridgetest_javamaker))
|
|
|
|
|
2012-06-05 09:04:20 -05:00
|
|
|
testtools_JAVADIR := $(call gb_CustomTarget_get_workdir,testtools/bridgetest_javamaker)
|
2012-05-10 02:10:23 -05:00
|
|
|
|
2012-06-05 09:04:20 -05:00
|
|
|
$(call gb_CustomTarget_get_target,testtools/bridgetest_javamaker) : $(testtools_JAVADIR)/done
|
2012-05-10 02:10:23 -05:00
|
|
|
|
2012-07-30 01:48:34 -05:00
|
|
|
$(testtools_JAVADIR)/done : \
|
|
|
|
$(call gb_UnoApiTarget_get_target,bridgetest) \
|
2013-04-23 17:33:36 -05:00
|
|
|
$(call gb_UnoApiTarget_get_target,udkapi) \
|
2012-12-30 05:27:04 -06:00
|
|
|
$(call gb_Executable_get_runtime_dependencies,javamaker) \
|
2012-07-30 01:48:34 -05:00
|
|
|
| $(testtools_JAVADIR)/.dir
|
2012-05-10 02:10:23 -05:00
|
|
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JVM,1)
|
2012-05-25 04:49:02 -05:00
|
|
|
$(call gb_Helper_abbreviate_dirs, \
|
2012-11-28 09:26:19 -06:00
|
|
|
rm -r $(testtools_JAVADIR) && \
|
2013-04-23 17:33:36 -05:00
|
|
|
$(call gb_Helper_execute,javamaker -nD -O$(testtools_JAVADIR) -X$(call gb_UnoApiTarget_get_target,udkapi) $<) && touch $@)
|
2012-05-10 02:10:23 -05:00
|
|
|
|
|
|
|
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
|