2011-12-20 05:08:08 -06:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-04-19 15:10:42 -05:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-12-20 05:08:08 -06:00
|
|
|
#
|
2013-04-19 15:10:42 -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/.
|
2011-12-20 05:08:08 -06:00
|
|
|
#
|
|
|
|
|
2012-04-07 01:40:35 -05:00
|
|
|
$(eval $(call gb_CustomTarget_CustomTarget,accessibility/bridge))
|
2012-03-28 14:37:06 -05:00
|
|
|
|
|
|
|
$(call gb_CustomTarget_get_target,accessibility/bridge) : \
|
2012-05-09 16:15:42 -05:00
|
|
|
$(call gb_CustomTarget_get_workdir,accessibility/bridge)/org/openoffice/java/accessibility/Build.java
|
2011-12-20 05:08:08 -06:00
|
|
|
|
2013-01-03 08:36:20 -06:00
|
|
|
ifeq ($(ENABLE_DBGUTIL),TRUE)
|
2012-05-09 16:15:42 -05:00
|
|
|
accessibility_DEBUG := true
|
|
|
|
accessibility_PRODUCT := false
|
2011-12-20 05:08:08 -06:00
|
|
|
else
|
2012-05-09 16:15:42 -05:00
|
|
|
accessibility_DEBUG := false
|
|
|
|
accessibility_PRODUCT := true
|
2011-12-20 05:08:08 -06:00
|
|
|
endif
|
|
|
|
|
2012-05-09 16:15:42 -05:00
|
|
|
$(call gb_CustomTarget_get_workdir,accessibility/bridge)/org/openoffice/java/accessibility/Build.java :
|
2012-03-28 14:37:06 -05:00
|
|
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
|
2011-12-20 05:08:08 -06:00
|
|
|
mkdir -p $(dir $@) && (\
|
|
|
|
echo package org.openoffice.java.accessibility\; && \
|
|
|
|
echo public class Build \{ && \
|
2012-05-09 16:15:42 -05:00
|
|
|
echo public static final boolean DEBUG = $(accessibility_DEBUG)\; && \
|
|
|
|
echo public static final boolean PRODUCT = $(accessibility_PRODUCT)\; && \
|
2011-12-20 05:08:08 -06:00
|
|
|
echo \} \
|
|
|
|
) > $@
|
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 et:
|