5023N/A#
5023N/A# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
5023N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5023N/A#
5023N/A# This code is free software; you can redistribute it and/or modify it
5023N/A# under the terms of the GNU General Public License version 2 only, as
5023N/A# published by the Free Software Foundation. Oracle designates this
5023N/A# particular file as subject to the "Classpath" exception as provided
5023N/A# by Oracle in the LICENSE file that accompanied this code.
5023N/A#
5023N/A# This code is distributed in the hope that it will be useful, but WITHOUT
5023N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5023N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
5023N/A# version 2 for more details (a copy is included in the LICENSE file that
5023N/A# accompanied this code).
5023N/A#
5023N/A# You should have received a copy of the GNU General Public License version
5023N/A# 2 along with this work; if not, write to the Free Software Foundation,
5023N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5023N/A#
5023N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
5023N/A# or visit www.oracle.com if you need additional information or have any
5023N/A# questions.
5023N/A#
5023N/A
5023N/A#
5023N/A# Makefile for building AccessBridge
5023N/A#
5023N/ABUILDDIR = ../..
5023N/APRODUCT = java
5023N/APACKAGE = com.sun.java.accessibility
5023N/A
5023N/Ainclude $(BUILDDIR)/common/Defs.gmk
5023N/AJARFILE = $(EXTDIR)/access-bridge$(ABSUFFIX).jar
5023N/A
5023N/Aifeq ($(ARCH_DATA_MODEL), 64)
5023N/A ABPLATFORM = 64bit
5023N/A ABSUFFIX = -64
5023N/Aelse
5023N/Aifeq ($(ARCH_DATA_MODEL), 32)
5023N/Aifdef ABLEGACY
5023N/A ABSUFFIX =
5023N/A ABPLATFORM = legacy
5023N/Aelse
5023N/A ABPLATFORM = 32bit
5023N/A ABSUFFIX = -32
5023N/Aendif
5023N/Aendif
5023N/Aendif
5023N/A
5023N/A#
5023N/A# Java files to compile.
5023N/A#
5023N/AFILES_java = com/sun/java/accessibility/AccessBridge.java
5023N/A
5023N/A#
5023N/A# Location for the newly built classfiles.
5023N/A#
5023N/ACLASSDESTDIR = $(TEMPDIR)/classes
5023N/A
5023N/A#
5023N/A# Rules
5023N/A#
5023N/ACLASSDESTDIR = $(TEMPDIR)/classes
5023N/A
5023N/AFILES_class = $(FILES_java:%.java=$(CLASSDESTDIR)/%.class)
5023N/A
5023N/Abuild: prebuild
5023N/A
5023N/Aprebuild:
5023N/A $(CP) $(CLOSED_PLATFORM_SRC)/classes/com/sun/java/accessibility/$(ABPLATFORM)/AccessBridge.java \
5023N/A $(CLOSED_PLATFORM_SRC)/classes/com/sun/java/accessibility
5023N/A
5023N/Aall : build $(JARFILE)
5023N/A
5023N/A#
5023N/A# JAR file
5023N/A#
5023N/A$(JARFILE): \
5023N/A $(FILES_class)
5023N/A $(BOOT_JAR_CMD) -cf $(JARFILE) \
5023N/A -C $(CLASSDESTDIR) com \
5023N/A $(BOOT_JAR_JFLAGS)
5023N/A @$(java-vm-cleanup)
5023N/A
5023N/A#
5023N/A# Rules
5023N/A#
5023N/Ainclude $(BUILDDIR)/common/Classes.gmk
5023N/A
5023N/Aclean clobber::
5023N/A $(RM) -r $(CLASSDESTDIR) \
5023N/A $(EXTDIR)/$(JARFILE)