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