lok: avoid expensive fetching of a property.
[LibreOffice.git] / jvmfwk / CustomTarget_jreproperties.mk
blobda509dbff5acd6c8683b6cea6bb6a6c50574a106
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_CustomTarget_CustomTarget,jvmfwk/jreproperties))
12 $(call gb_CustomTarget_get_target,jvmfwk/jreproperties) : $(call gb_CustomTarget_get_workdir,jvmfwk/jreproperties)/JREProperties.class
14 $(call gb_CustomTarget_get_workdir,jvmfwk/jreproperties)/JREProperties.class : \
15 $(SRCDIR)/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java \
16 | $(call gb_CustomTarget_get_workdir,jvmfwk/jreproperties)/.dir
17 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JCS,1)
18 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),JCS)
19 $(call gb_Helper_abbreviate_dirs, \
20 cd $(dir $@) && $(call gb_JavaClassSet_JAVACCOMMAND,$(JAVA_TARGET_VER)) $(gb_JavaClassSet_JAVACDEBUG) -d $(dir $@) $^)
21 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),JCS)
23 # vim:set shiftwidth=4 tabstop=4 noexpandtab: