author | raginip |
Fri, 18 Jan 2013 11:33:31 -0800 | |
changeset 15324 | 74584166bb07 |
parent 14708 | e56b4a0c1da8 |
child 15334 | 19ab20cb461f |
permissions | -rw-r--r-- |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
1 |
# |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
2 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
4 |
# |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. Oracle designates this |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
8 |
# particular file as subject to the "Classpath" exception as provided |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
9 |
# by Oracle in the LICENSE file that accompanied this code. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
10 |
# |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
15 |
# accompanied this code). |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
16 |
# |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
17 |
# You should have received a copy of the GNU General Public License version |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
20 |
# |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
22 |
# or visit www.oracle.com if you need additional information or have any |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
23 |
# questions. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
24 |
# |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
25 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
26 |
default: all |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
27 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
28 |
include $(SPEC) |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
29 |
include MakeBase.gmk |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
30 |
include JavaCompilation.gmk |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
31 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
32 |
# Setup the java compilers for the JDK build. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
33 |
include Setup.gmk |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
34 |
|
12892 | 35 |
JARS := |
36 |
EXFILES := |
|
37 |
EXCLUDES := |
|
38 |
||
39 |
########################################################################################## |
|
40 |
||
41 |
EXCLUDES += com/sun/pept \ |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
42 |
com/sun/tools/example/trace\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
43 |
com/sun/tools/example/debug/bdi\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
44 |
com/sun/tools/example/debug/event\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
45 |
com/sun/tools/example/debug/gui \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
46 |
com/oracle/security |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
47 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
48 |
ifdef OPENJDK |
12892 | 49 |
EXCLUDES+= sun/dc \ |
50 |
com/sun/jmx/snmp \ |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
51 |
sun/management/snmp \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
52 |
com/sun/script |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
53 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
54 |
|
12892 | 55 |
ifndef OPENJDK |
56 |
# There exists two versions of this file... |
|
57 |
EXFILES := $(JDK_TOPDIR)/src/share/classes/javax/crypto/JarVerifier.java |
|
13702 | 58 |
|
59 |
ifeq ($(OPENJDK_TARGET_OS),windows) |
|
60 |
# This gets built on unix platforms implicitly in the old build even though |
|
61 |
# it's excluded in the closed build. |
|
62 |
EXCLUDES+=sun/java2d/pisces |
|
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
63 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
64 |
# AccessBridge is compiled separately below. |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
65 |
EXFILES += AccessBridge.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
66 |
com/sun/java/accessibility/util/java/awt/ChoiceTranslator.java |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
67 |
# This seems to never be built |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
68 |
EXCLUDES += com/sun/java/accessibility/extensions |
13702 | 69 |
endif |
70 |
||
12892 | 71 |
endif |
72 |
||
13164 | 73 |
ifneq ($(OPENJDK_TARGET_OS),solaris) |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
74 |
# Exclude Solaris nio and two security related files in src/share/classes |
12892 | 75 |
EXFILES += SolarisAclFileAttributeView.java \ |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
76 |
SolarisFileStore.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
77 |
SolarisFileSystem.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
78 |
SolarisFileSystemProvider.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
79 |
SolarisNativeDispatcher.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
80 |
SolarisUserDefinedFileAttributeView.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
81 |
SolarisWatchService.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
82 |
SolarisAclFileAttributeView.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
83 |
SolarisLoginModule.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
84 |
SolarisSystem.java \ |
14231 | 85 |
sun/nio/ch/DevPollArrayWrapper.java \ |
86 |
sun/nio/ch/DevPollSelectorImpl.java \ |
|
87 |
sun/nio/ch/DevPollSelectorProvider.java \ |
|
13164 | 88 |
sun/nio/ch/EventPortSelectorImpl.java \ |
89 |
sun/nio/ch/EventPortSelectorProvider.java \ |
|
90 |
sun/nio/ch/EventPortWrapper.java \ |
|
14231 | 91 |
sun/nio/ch/SolarisAsynchronousChannelProvider.java \ |
92 |
sun/nio/ch/SolarisEventPort.java \ |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
93 |
sun/tools/attach/SolarisAttachProvider.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
94 |
sun/tools/attach/SolarisVirtualMachine.java |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
95 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
96 |
|
12892 | 97 |
# In the old build, this isn't excluded on macosx, even though it probably |
98 |
# should be. |
|
13164 | 99 |
ifneq ($(OPENJDK_TARGET_OS),macosx) |
12892 | 100 |
EXFILES+=WrapperGenerator.java |
101 |
endif |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
102 |
|
13164 | 103 |
ifneq ($(OPENJDK_TARGET_OS),windows) |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
104 |
# Exclude Window security related files in src/share/classes |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
105 |
EXFILES+=NTLoginModule.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
106 |
NTSystem.java |
13702 | 107 |
else |
108 |
EXFILES+=UnixLoginModule.java \ |
|
109 |
UnixSystem.java |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
110 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
111 |
|
13164 | 112 |
ifeq ($(OPENJDK_TARGET_OS),windows) |
12892 | 113 |
# Don't build GTK L&F on Windows |
13702 | 114 |
EXCLUDES+=com/sun/java/swing/plaf/gtk |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
115 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
116 |
|
13164 | 117 |
ifneq ($(OPENJDK_TARGET_OS),linux) |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
118 |
EXFILES+=sun/tools/attach/LinuxAttachProvider.java \ |
14231 | 119 |
sun/tools/attach/LinuxVirtualMachine.java \ |
120 |
sun/nio/ch/EPoll.java \ |
|
121 |
sun/nio/ch/EPollArrayWrapper.java \ |
|
122 |
sun/nio/ch/EPollPort.java \ |
|
123 |
sun/nio/ch/EPollSelectorImpl.java \ |
|
124 |
sun/nio/ch/EPollSelectorProvider.java \ |
|
125 |
sun/nio/ch/LinuxAsynchronousChannelProvider.java \ |
|
126 |
sun/nio/fs/LinuxDosFileAttributeView.java \ |
|
127 |
sun/nio/fs/LinuxFileStore.java \ |
|
128 |
sun/nio/fs/LinuxFileSystem.java \ |
|
129 |
sun/nio/fs/LinuxFileSystemProvider.java \ |
|
130 |
sun/nio/fs/LinuxNativeDispatcher.java \ |
|
131 |
sun/nio/fs/LinuxUserDefinedFileAttributeView.java \ |
|
132 |
sun/nio/fs/LinuxWatchService.java |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
133 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
134 |
|
13164 | 135 |
ifneq ($(OPENJDK_TARGET_OS),macosx) |
14231 | 136 |
EXFILES+=sun/nio/ch/BsdAsynchronousChannelProvider.java \ |
137 |
sun/nio/ch/KQueue.java \ |
|
138 |
sun/nio/ch/KQueuePort.java \ |
|
139 |
sun/nio/fs/BsdFileStore.java \ |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
140 |
sun/nio/fs/BsdFileSystem.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
141 |
sun/nio/fs/BsdFileSystemProvider.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
142 |
sun/nio/fs/BsdNativeDispatcher.java \ |
13702 | 143 |
sun/nio/fs/MacOSXFileSystemProvider.java \ |
144 |
sun/nio/fs/MacOSXFileSystem.java \ |
|
145 |
sun/nio/fs/MacOSXNativeDispatcher.java \ |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
146 |
sun/tools/attach/BsdAttachProvider.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
147 |
sun/tools/attach/BsdVirtualMachine.java |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
148 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
149 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
150 |
# Exclude BreakIterator classes that are just used in compile process to generate |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
151 |
# data files and shouldn't go in the product |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
152 |
EXFILES+=sun/text/resources/BreakIteratorRules.java \ |
13702 | 153 |
sun/text/resources/BreakIteratorRules_th.java |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
154 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
155 |
# TODO: Add BUILD_HEADLESS_ONLY to configure? |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
156 |
ifdef BUILD_HEADLESS_ONLY |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
157 |
EXCLUDES+=sun/applet |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
158 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
159 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
160 |
ifdef OPENJDK |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
161 |
EXCLUDES+=sun/java2d/cmm/kcms |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
162 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
163 |
|
12892 | 164 |
# Used on windows and macosx |
13164 | 165 |
ifeq (,$(filter $(OPENJDK_TARGET_OS), windows macosx)) |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
166 |
EXFILES+=sun/awt/AWTCharset.java |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
167 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
168 |
|
13164 | 169 |
ifneq ($(OPENJDK_TARGET_OS), macosx) |
14231 | 170 |
EXFILES+=sun/awt/X11/ScreenFormat.java \ |
171 |
sun/awt/X11/XArc.java \ |
|
172 |
sun/awt/X11/XChar2b.java \ |
|
173 |
sun/awt/X11/XCharStruct.java \ |
|
174 |
sun/awt/X11/XClassHint.java \ |
|
175 |
sun/awt/X11/XComposeStatus.java \ |
|
176 |
sun/awt/X11/XExtCodes.java \ |
|
177 |
sun/awt/X11/XFontProp.java \ |
|
178 |
sun/awt/X11/XFontSetExtents.java \ |
|
179 |
sun/awt/X11/XFontStruct.java \ |
|
180 |
sun/awt/X11/XGCValues.java \ |
|
181 |
sun/awt/X11/XHostAddress.java \ |
|
182 |
sun/awt/X11/XIMCallback.java \ |
|
183 |
sun/awt/X11/XIMHotKeyTrigger.java \ |
|
184 |
sun/awt/X11/XIMHotKeyTriggers.java \ |
|
185 |
sun/awt/X11/XIMPreeditCaretCallbackStruct.java \ |
|
186 |
sun/awt/X11/XIMPreeditDrawCallbackStruct.java \ |
|
187 |
sun/awt/X11/XIMPreeditStateNotifyCallbackStruct.java \ |
|
188 |
sun/awt/X11/XIMStatusDrawCallbackStruct.java \ |
|
189 |
sun/awt/X11/XIMStringConversionCallbackStruct.java \ |
|
190 |
sun/awt/X11/XIMStringConversionText.java \ |
|
191 |
sun/awt/X11/XIMStyles.java \ |
|
192 |
sun/awt/X11/XIMText.java \ |
|
193 |
sun/awt/X11/XIMValuesList.java \ |
|
194 |
sun/awt/X11/XImage.java \ |
|
195 |
sun/awt/X11/XKeyboardControl.java \ |
|
196 |
sun/awt/X11/XKeyboardState.java \ |
|
197 |
sun/awt/X11/XOMCharSetList.java \ |
|
198 |
sun/awt/X11/XOMFontInfo.java \ |
|
199 |
sun/awt/X11/XOMOrientation.java \ |
|
200 |
sun/awt/X11/XPoint.java \ |
|
201 |
sun/awt/X11/XRectangle.java \ |
|
202 |
sun/awt/X11/XSegment.java \ |
|
203 |
sun/awt/X11/XStandardColormap.java \ |
|
204 |
sun/awt/X11/XTextItem.java \ |
|
205 |
sun/awt/X11/XTextItem16.java \ |
|
206 |
sun/awt/X11/XTextProperty.java \ |
|
207 |
sun/awt/X11/XTimeCoord.java \ |
|
208 |
sun/awt/X11/XWindowChanges.java \ |
|
209 |
sun/awt/X11/XdbeSwapInfo.java \ |
|
210 |
sun/awt/X11/XmbTextItem.java \ |
|
211 |
sun/awt/X11/XwcTextItem.java |
|
12892 | 212 |
endif |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
213 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
214 |
# Exclude another implicitly not included file. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
215 |
EXFILES+=sun/util/locale/AsciiUtil.java |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
216 |
|
13164 | 217 |
ifeq (,$(filter $(OPENJDK_TARGET_OS), solaris macosx)) |
12892 | 218 |
# |
219 |
# only solaris and macosx |
|
220 |
# |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
221 |
EXFILES+=sun/nio/fs/PollingWatchService.java |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
222 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
223 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
224 |
# TODO: Fix when converting NIO |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
225 |
# Exclude *-linux-arm.java and *-linux-ppc.java from closed. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
226 |
EXFILES+=-linux-arm.java \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
227 |
-linux-ppc.java |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
228 |
|
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
229 |
# TODO: Is this necessary? |
13164 | 230 |
ifeq ($(OPENJDK_TARGET_OS), windows) |
12892 | 231 |
EXFILES+=sun/nio/ch/AbstractPollSelectorImpl.java \ |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
232 |
sun/nio/ch/DevPollArrayWrapper.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
233 |
sun/nio/ch/DevPollSelectorImpl.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
234 |
sun/nio/ch/DevPollSelectorProvider.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
235 |
sun/nio/ch/InheritedChannel.java \ |
12892 | 236 |
sun/nio/ch/PollSelectorProvider.java \ |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
237 |
sun/nio/ch/PollSelectorImpl.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
238 |
sun/nio/ch/Port.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
239 |
sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
240 |
sun/nio/ch/SolarisAsynchronousChannelProvider.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
241 |
sun/nio/ch/SolarisEventPort.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
242 |
sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
243 |
sun/nio/ch/UnixAsynchronousSocketChannelImpl.java |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
244 |
EXFILES+=sun/net/sdp/SdpProvider.java |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
245 |
else |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
246 |
EXFILES+=sun/net/www/protocol/http/ntlm/NTLMAuthSequence.java |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
247 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
248 |
|
14231 | 249 |
# Exclude nimbus files from rt.jar |
250 |
EXFILES+=javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \ |
|
251 |
javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \ |
|
252 |
javax/swing/plaf/nimbus/ScrollBarPainter.java \ |
|
253 |
javax/swing/plaf/nimbus/SliderPainter.java \ |
|
254 |
javax/swing/plaf/nimbus/SpinnerPainter.java \ |
|
255 |
javax/swing/plaf/nimbus/SplitPanePainter.java \ |
|
256 |
javax/swing/plaf/nimbus/TabbedPanePainter.java |
|
12892 | 257 |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
258 |
# Acquire a list of files that should be copied straight over to the classes. |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
259 |
include CopyIntoClasses.gmk |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
260 |
# Now we have COPY_PATTERNS, COPY_FILES and COPY_EXTRA |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
261 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
262 |
ifndef OPENJDK |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
263 |
CLOSED_SRC_DIRS:=$(JDK_TOPDIR)/src/closed/share/classes \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
264 |
$(JDK_TOPDIR)/src/closed/$(OPENJDK_TARGET_OS_API_DIR)/classes |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
265 |
endif |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
266 |
|
12892 | 267 |
MACOSX_SRC_DIRS := |
13164 | 268 |
ifeq ($(OPENJDK_TARGET_OS),macosx) |
12892 | 269 |
MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/classes |
270 |
||
271 |
# this files are duplicated in MACOSX_SRC_DIRS |
|
272 |
EXFILES+= $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java \ |
|
273 |
$(JDK_TOPDIR)/src/solaris/classes/sun/java2d/BackBufferCapsProvider.java \ |
|
274 |
$(JDK_TOPDIR)/src/solaris/classes/java/net/DefaultInterface.java \ |
|
13586
31ba61c73020
7193601: Build breakage with the fix to 6336885 (build-infra build)
naoto
parents:
13164
diff
changeset
|
275 |
$(JDK_TOPDIR)/src/solaris/classes/java/lang/ClassLoaderHelper.java \ |
13702 | 276 |
$(JDK_TOPDIR)/src/solaris/classes/sun/util/locale/provider/HostLocaleProviderAdapterImpl.java \ |
277 |
$(JDK_TOPDIR)/src/solaris/classes/sun/nio/fs/GnomeFileTypeDetector.java |
|
13164 | 278 |
|
279 |
# JObjC.jar contains 1.5 byte-code...so skip it here :-( |
|
280 |
# MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/native/jobjc/src |
|
281 |
# EXCLUDES+= tests/java/com/apple/jobjc |
|
282 |
||
283 |
EXCLUDES+= com/apple/jobjc |
|
12892 | 284 |
endif |
285 |
||
286 |
# The exception handling of swing beaninfo |
|
287 |
# These resources violates the convention of having code and resources together under |
|
288 |
# $(JDK_TOPDIR)/src/.../classes directories |
|
289 |
$(JDK_OUTPUTDIR)/classes/javax/swing/beaninfo/images/%.gif: $(JDK_TOPDIR)/make/tools/swing-beans/beaninfo/images/%.gif |
|
290 |
$(MKDIR) -p $(@D) |
|
291 |
$(CP) $< $@ |
|
292 |
||
13702 | 293 |
# The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying |
294 |
# JDK_FILTER at the make command line, only a subset of the JDK java files will |
|
295 |
# be recompiled. If multiple paths are separated by comma, convert that into a |
|
296 |
# space separated list. |
|
297 |
JDK_USER_DEFINED_FILTER:=$(strip $(subst $(COMMA),$(SPACE),$(JDK_FILTER))) |
|
298 |
||
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
299 |
$(eval $(call SetupJavaCompilation,BUILD_JDK,\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
300 |
SETUP:=GENERATE_JDKBYTECODE,\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
301 |
SRC:=$(JDK_TOPDIR)/src/share/classes \ |
13702 | 302 |
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes \ |
12892 | 303 |
$(MACOSX_SRC_DIRS) \ |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
304 |
$(JDK_OUTPUTDIR)/gensrc \ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
305 |
$(CLOSED_SRC_DIRS),\ |
13702 | 306 |
INCLUDES:=$(JDK_USER_DEFINED_FILTER),\ |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
307 |
EXCLUDES:=$(EXCLUDES),\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
308 |
EXCLUDE_FILES:=$(EXFILES),\ |
12892 | 309 |
BIN:=$(JDK_OUTPUTDIR)/classes,\ |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
310 |
COPY:=$(COPY_PATTERNS),\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
311 |
COPY_FILES:=$(COPY_FILES),\ |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
312 |
HEADERS:=$(JDK_OUTPUTDIR)/gensrc_headers)) |
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
313 |
|
12892 | 314 |
########################################################################################## |
315 |
# Special handling of header file generation for classes in the jigsaw base module which |
|
316 |
# currently can't add the annotaion GenerateNativeHeaders. For these specific classes the |
|
317 |
# java file and the class have the same names which enables shortcutting the dependencies. |
|
318 |
||
319 |
JDK_BASE_HEADER_CLASSES:=java.lang.Integer \ |
|
320 |
java.lang.Long \ |
|
321 |
java.net.SocketOptions \ |
|
14324
3510b4bf90ee
4239752: FileSystem should be a platform-specific class to avoid native code
dxu
parents:
13702
diff
changeset
|
322 |
sun.nio.ch.IOStatus \ |
3510b4bf90ee
4239752: FileSystem should be a platform-specific class to avoid native code
dxu
parents:
13702
diff
changeset
|
323 |
java.io.FileSystem |
12892 | 324 |
|
325 |
JDK_BASE_HEADER_JAVA_FILES:=$(patsubst %,$(JDK_TOPDIR)/src/share/classes/%.java,\ |
|
326 |
$(subst .,/,$(JDK_BASE_HEADER_CLASSES))) |
|
327 |
||
13164 | 328 |
ifeq ($(OPENJDK_TARGET_OS),windows) |
12893
483a74a0b295
7175966: Fix windows build issues for build-infra project
erikj
parents:
12892
diff
changeset
|
329 |
JDK_BASE_HEADER_CLASSES_WINDOWS:=sun.nio.ch.PollArrayWrapper |
12892 | 330 |
JDK_BASE_HEADER_CLASSES+=$(JDK_BASE_HEADER_CLASSES_WINDOWS) |
331 |
JDK_BASE_HEADER_JAVA_FILES+=$(patsubst %,$(JDK_TOPDIR)/src/windows/classes/%.java,\ |
|
332 |
$(subst .,/,$(JDK_BASE_HEADER_CLASSES_WINDOWS))) |
|
333 |
endif |
|
334 |
||
335 |
# Set prereqs to the java files since make doesn't know about the class files. Add BUILD_JDK |
|
336 |
# as an order only dependency to avoid race with the java compilation. |
|
14231 | 337 |
$(JDK_OUTPUTDIR)/gensrc_headers/_the.jdk.base.headers: $(JDK_BASE_HEADER_JAVA_FILES) | $(BUILD_JDK) |
12892 | 338 |
$(ECHO) Generating headers for jdk base classes |
339 |
$(JAVAH) -bootclasspath $(JDK_OUTPUTDIR)/classes -d $(JDK_OUTPUTDIR)/gensrc_headers \ |
|
340 |
$(JDK_BASE_HEADER_CLASSES) |
|
341 |
$(TOUCH) $@ |
|
342 |
||
343 |
########################################################################################## |
|
344 |
||
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
345 |
# |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
346 |
# This is an empty jar (only contains manifest) and fits poorly into framework... |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
347 |
# create simple rule instead |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
348 |
# |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
349 |
MANAGEMENT_AGENT_JAR_DEPS := $(JDK_TOPDIR)/src/share/classes/sun/management/manifest |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
350 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
351 |
$(JDK_OUTPUTDIR)/lib/management-agent.jar : $(JDK_TOPDIR)/src/share/classes/sun/management/manifest |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
352 |
$(JAR) cfm $@ $(JDK_TOPDIR)/src/share/classes/sun/management/manifest |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
353 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
354 |
JARS += $(JDK_OUTPUTDIR)/lib/management-agent.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
355 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
356 |
########################################################################################## |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
357 |
|
12892 | 358 |
ifndef OPENJDK |
359 |
||
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
360 |
$(eval $(call SetupJavaCompilation,BUILD_ALTCLASSES_JAR,\ |
12892 | 361 |
SETUP:=GENERATE_JDKBYTECODE,\ |
362 |
SRC:=$(JDK_TOPDIR)/src/closed/share/altclasses, \ |
|
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
363 |
BIN:=$(JDK_OUTPUTDIR)/altclasses_classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
364 |
JAR:=$(JDK_OUTPUTDIR)/lib/alt-rt.jar)) |
12892 | 365 |
|
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
366 |
$(BUILD_ALTCLASSES_JAR): $(BUILD_JDK) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
367 |
JARS += $(JDK_OUTPUTDIR)/lib/alt-rt.jar |
12892 | 368 |
|
369 |
endif |
|
370 |
||
371 |
########################################################################################## |
|
372 |
||
373 |
$(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin: |
|
374 |
$(MKDIR) -p $(@D) |
|
375 |
$(TOUCH) $@ |
|
376 |
||
377 |
########################################################################################## |
|
378 |
||
13164 | 379 |
ifeq ($(OPENJDK_TARGET_OS),macosx) |
380 |
# |
|
381 |
# JObjC.jar is compiled with BOOT_JAVAC which (may) not support the "-h" flag. |
|
382 |
# so we first compile classes with BOOT_JAVAC and then with JDK_JAVAC :-( |
|
383 |
# |
|
384 |
$(eval $(call SetupJavaCompiler,GENERATE_15BYTECODE,\ |
|
385 |
JAVAC:=$(JAVAC),\ |
|
386 |
FLAGS:=-source 1.5 -target 1.5 -g -bootclasspath $(BOOT_RTJAR) -cp $(JDK_OUTPUTDIR)/../langtools/dist/lib/classes.jar $(DISABLE_WARNINGS),\ |
|
13702 | 387 |
SERVER_DIR:=$(SJAVAC_SERVER_DIR),\ |
388 |
SERVER_JVM:=$(SJAVAC_SERVER_JAVA))) |
|
13164 | 389 |
|
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
390 |
$(eval $(call SetupJavaCompilation,BUILD_JOBJC_JAR,\ |
13164 | 391 |
SETUP:=GENERATE_15BYTECODE,\ |
13702 | 392 |
DISABLE_SJAVAC:=true,\ |
13164 | 393 |
SRC:=$(JDK_TOPDIR)/src/macosx/native/jobjc/src/core/java \ |
394 |
$(JDK_TOPDIR)/src/macosx/native/jobjc/src/runtime-additions/java \ |
|
395 |
$(JDK_OUTPUTDIR)/gensrc, \ |
|
396 |
INCLUDES := com/apple/jobjc,\ |
|
397 |
EXCLUDES := tests/java/com/apple/jobjc,\ |
|
398 |
BIN:=$(JDK_OUTPUTDIR)/jobjc_classes,\ |
|
399 |
JAR:=$(JDK_OUTPUTDIR)/lib/JObjC.jar, \ |
|
400 |
JARINDEX := true)) |
|
401 |
||
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
402 |
$(BUILD_JOBJC_JAR) : $(BUILD_JDK) |
13164 | 403 |
|
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
404 |
JARS += $(JDK_OUTPUTDIR)/lib/JObjC.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
405 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
406 |
$(eval $(call SetupJavaCompilation,BUILD_JOBJC_HEADERS_JAR,\ |
13164 | 407 |
SETUP:=GENERATE_JDKBYTECODE,\ |
408 |
SRC:=$(JDK_TOPDIR)/src/macosx/native/jobjc/src/core/java \ |
|
409 |
$(JDK_TOPDIR)/src/macosx/native/jobjc/src/runtime-additions/java \ |
|
410 |
$(JDK_OUTPUTDIR)/gensrc, \ |
|
411 |
INCLUDES := com/apple/jobjc,\ |
|
412 |
EXCLUDES := tests/java/com/apple/jobjc,\ |
|
413 |
BIN:=$(JDK_OUTPUTDIR)/jobjc_classes_headers,\ |
|
14344
a5537423264b
8002220: build-infra: update for mac, solaris 11 issues
erikj
parents:
14231
diff
changeset
|
414 |
HEADERS:=$(JDK_OUTPUTDIR)/gensrc_headers_jobjc)) |
13164 | 415 |
|
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
416 |
$(BUILD_JOBJC_HEADERS_JAR) : $(BUILD_JDK) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
417 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
418 |
JARS += $(BUILD_JOBJC_HEADERS_JAR) |
13164 | 419 |
|
420 |
endif |
|
421 |
||
422 |
########################################################################################## |
|
423 |
||
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
424 |
ifndef OPENJDK |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
425 |
ifeq ($(OPENJDK_TARGET_OS), windows) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
426 |
ifeq ($(OPENJDK_TARGET_CPU_BITS), 32) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
427 |
$(eval $(call SetupJavaCompilation,BUILD_ACCESSBRIDGE_32,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
428 |
SETUP:=GENERATE_JDKBYTECODE,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
429 |
JAVAC_FLAGS:=-cp $(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
430 |
SRC:=$(JDK_OUTPUTDIR)/gensrc_ab/32bit,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
431 |
BIN:=$(JDK_OUTPUTDIR)/classes_ab/32bit)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
432 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
433 |
$(BUILD_ACCESSBRIDGE_32): $(BUILD_JDK) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
434 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
435 |
$(eval $(call SetupJavaCompilation,BUILD_ACCESSBRIDGE_LEGACY,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
436 |
SETUP:=GENERATE_JDKBYTECODE,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
437 |
JAVAC_FLAGS:=-cp $(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
438 |
SRC:=$(JDK_OUTPUTDIR)/gensrc_ab/legacy,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
439 |
BIN:=$(JDK_OUTPUTDIR)/classes_ab/legacy)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
440 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
441 |
$(BUILD_ACCESSBRIDGE_LEGACY): $(BUILD_JDK) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
442 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
443 |
else |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
444 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
445 |
$(eval $(call SetupJavaCompilation,BUILD_ACCESSBRIDGE_64,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
446 |
SETUP:=GENERATE_JDKBYTECODE,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
447 |
JAVAC_FLAGS:=-cp $(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
448 |
SRC:=$(JDK_OUTPUTDIR)/gensrc_ab/64bit,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
449 |
BIN:=$(JDK_OUTPUTDIR)/classes_ab/64bit)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
450 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
451 |
$(BUILD_ACCESSBRIDGE_64): $(BUILD_JDK) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
452 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
453 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
454 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
455 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
456 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
457 |
########################################################################################## |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
458 |
|
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
459 |
# copy with -a to preserve timestamps so dependencies down the line aren't messed up |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
460 |
all: $(BUILD_JDK) $(JARS) $(COPY_EXTRA) $(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
461 |
$(JDK_OUTPUTDIR)/gensrc_headers/_the.jdk.base.headers \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
462 |
$(BUILD_ACCESSBRIDGE_32) $(BUILD_ACCESSBRIDGE_64) \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14708
diff
changeset
|
463 |
$(BUILD_ACCESSBRIDGE_LEGACY) |
12317
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
464 |
|
9670c1610c53
7074397: Build infrastructure changes (makefile re-write)
ohair
parents:
diff
changeset
|
465 |
.PHONY: all |