jdk/make/bridge/Jaccess/Makefile
author raginip
Fri, 18 Jan 2013 11:33:31 -0800
changeset 15324 74584166bb07
permissions -rw-r--r--
8000839: Integrate the Java Access Bridge with Java Runtime Reviewed-by: ptbrunet, erikj
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15324
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     1
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     2
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     4
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    10
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    15
# accompanied this code).
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    16
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    20
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    23
# questions.
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    24
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    25
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    26
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    27
# Makefile for building jaccess
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    28
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    29
BUILDDIR = ../..
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    30
PRODUCT = java
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    31
PACKAGE = com.sun.java.accessibility.jaccess
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    32
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    33
include $(BUILDDIR)/common/Defs.gmk
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    34
JARFILE = $(EXTDIR)/jaccess.jar
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    35
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    36
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    37
# Java files to compile.
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    38
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    39
#AUTO_FILES_JAVA_DIRS = $(CLOSED_PLATFORM_SRC)/bridge
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    40
FILES_java = \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    41
	com/sun/java/accessibility/util/AccessibilityEventMonitor.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    42
	com/sun/java/accessibility/util/AccessibilityListenerList.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    43
	com/sun/java/accessibility/util/AWTEventMonitor.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    44
	com/sun/java/accessibility/util/EventID.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    45
	com/sun/java/accessibility/util/EventQueueMonitor.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    46
	com/sun/java/accessibility/util/GUIInitializedListener.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    47
	com/sun/java/accessibility/util/GUIInitializedMulticaster.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    48
	com/sun/java/accessibility/util/SwingEventMonitor.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    49
	com/sun/java/accessibility/util/TopLevelWindowListener.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    50
	com/sun/java/accessibility/util/TopLevelWindowMulticaster.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    51
	com/sun/java/accessibility/util/Translator.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    52
	com/sun/java/accessibility/util/java/awt/ButtonTranslator.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    53
	com/sun/java/accessibility/util/java/awt/CheckboxTranslator.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    54
	com/sun/java/accessibility/util/java/awt/LabelTranslator.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    55
	com/sun/java/accessibility/util/java/awt/ListTranslator.java \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    56
	com/sun/java/accessibility/util/java/awt/TextComponentTranslator.java
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    57
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    58
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    59
# Rules
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    60
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    61
CLASSDESTDIR = $(TEMPDIR)/classes
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    62
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    63
FILES_class = $(FILES_java:%.java=$(CLASSDESTDIR)/%.class)
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    64
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    65
all : build $(JARFILE)
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    66
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    67
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    68
# JAR file
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    69
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    70
$(JARFILE): \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    71
	$(FILES_class)
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    72
	$(BOOT_JAR_CMD) -cf $(JARFILE) \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    73
	     -C $(CLASSDESTDIR) com \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    74
	     $(BOOT_JAR_JFLAGS)
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    75
	@$(java-vm-cleanup)
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    76
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    77
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    78
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    79
# Rules
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    80
#
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    81
include $(BUILDDIR)/common/Classes.gmk
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    82
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    83
clean clobber::
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    84
	$(RM) -r $(CLASSDESTDIR) \
74584166bb07 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
diff changeset
    85
		 $(EXTDIR)/$(JARFILE)