annotate makefiles/CompileJavaClasses.gmk @ 9185:3ac08cd5e2e8

8024900: PPC64: Enable new build on AIX (jdk part) Reviewed-by: erikj
author simonis
date Tue, 17 Sep 2013 14:48:14 +0200
parents 243cd682c47b
children d152c5b01ea8
rev   line source
ohair@5221 1 #
ohair@5221 2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
ohair@5221 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@5221 4 #
ohair@5221 5 # This code is free software; you can redistribute it and/or modify it
ohair@5221 6 # under the terms of the GNU General Public License version 2 only, as
ohair@5221 7 # published by the Free Software Foundation. Oracle designates this
ohair@5221 8 # particular file as subject to the "Classpath" exception as provided
ohair@5221 9 # by Oracle in the LICENSE file that accompanied this code.
ohair@5221 10 #
ohair@5221 11 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@5221 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@5221 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@5221 14 # version 2 for more details (a copy is included in the LICENSE file that
ohair@5221 15 # accompanied this code).
ohair@5221 16 #
ohair@5221 17 # You should have received a copy of the GNU General Public License version
ohair@5221 18 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@5221 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@5221 20 #
ohair@5221 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@5221 22 # or visit www.oracle.com if you need additional information or have any
ohair@5221 23 # questions.
ohair@5221 24 #
ohair@5221 25
ohair@5221 26 default: all
ohair@5221 27
ohair@5221 28 include $(SPEC)
ohair@5221 29 include MakeBase.gmk
ohair@5221 30 include JavaCompilation.gmk
ohair@5221 31
ohair@5221 32 # Setup the java compilers for the JDK build.
ohair@5221 33 include Setup.gmk
ohair@5221 34
erikj@5507 35 JARS :=
erikj@5507 36 EXFILES :=
erikj@5507 37 EXCLUDES :=
erikj@5507 38
erikj@5507 39 ##########################################################################################
erikj@5507 40
erikj@5507 41 EXCLUDES += com/sun/pept \
ohair@5221 42 com/sun/tools/example/trace\
ohair@5221 43 com/sun/tools/example/debug/bdi\
ohair@5221 44 com/sun/tools/example/debug/event\
erikj@6356 45 com/sun/tools/example/debug/gui
ohair@5221 46
ohair@5221 47 ifdef OPENJDK
erikj@5507 48 EXCLUDES+= sun/dc \
erikj@5507 49 com/sun/jmx/snmp \
ohair@5221 50 sun/management/snmp \
ohair@5221 51 com/sun/script
ohair@5221 52 endif
ohair@5221 53
erikj@5507 54 ifndef OPENJDK
erikj@5507 55 # There exists two versions of this file...
erikj@5507 56 EXFILES := $(JDK_TOPDIR)/src/share/classes/javax/crypto/JarVerifier.java
ohair@5819 57
ohair@5819 58 ifeq ($(OPENJDK_TARGET_OS),windows)
ohair@5819 59 # This gets built on unix platforms implicitly in the old build even though
ohair@5819 60 # it's excluded in the closed build.
ohair@5819 61 EXCLUDES+=sun/java2d/pisces
raginip@6453 62
raginip@6453 63 # AccessBridge is compiled separately below.
raginip@6453 64 EXFILES += AccessBridge.java \
raginip@6453 65 com/sun/java/accessibility/util/java/awt/ChoiceTranslator.java
raginip@6453 66 # This seems to never be built
raginip@6453 67 EXCLUDES += com/sun/java/accessibility/extensions
ohair@5819 68 endif
ohair@5819 69
erikj@5507 70 endif
erikj@5507 71
erikj@5596 72 ifneq ($(OPENJDK_TARGET_OS),solaris)
ohair@5221 73 # Exclude Solaris nio and two security related files in src/share/classes
erikj@5507 74 EXFILES += SolarisAclFileAttributeView.java \
ohair@5221 75 SolarisFileStore.java \
ohair@5221 76 SolarisFileSystem.java \
ohair@5221 77 SolarisFileSystemProvider.java \
ohair@5221 78 SolarisNativeDispatcher.java \
ohair@5221 79 SolarisUserDefinedFileAttributeView.java \
ohair@5221 80 SolarisWatchService.java \
ohair@5221 81 SolarisAclFileAttributeView.java \
ohair@5221 82 SolarisLoginModule.java \
ohair@5221 83 SolarisSystem.java \
ohair@6025 84 sun/nio/ch/DevPollArrayWrapper.java \
ohair@6025 85 sun/nio/ch/DevPollSelectorImpl.java \
ohair@6025 86 sun/nio/ch/DevPollSelectorProvider.java \
erikj@5596 87 sun/nio/ch/EventPortSelectorImpl.java \
erikj@5596 88 sun/nio/ch/EventPortSelectorProvider.java \
erikj@5596 89 sun/nio/ch/EventPortWrapper.java \
ohair@6025 90 sun/nio/ch/SolarisAsynchronousChannelProvider.java \
ohair@6025 91 sun/nio/ch/SolarisEventPort.java \
ohair@5221 92 sun/tools/attach/SolarisAttachProvider.java \
ohair@5221 93 sun/tools/attach/SolarisVirtualMachine.java
erikj@6356 94
erikj@6356 95 EXCLUDES += com/oracle/security
ohair@5221 96 endif
ohair@5221 97
erikj@5507 98 # In the old build, this isn't excluded on macosx, even though it probably
erikj@5507 99 # should be.
erikj@5596 100 ifneq ($(OPENJDK_TARGET_OS),macosx)
erikj@5507 101 EXFILES+=WrapperGenerator.java
erikj@5507 102 endif
ohair@5221 103
erikj@5596 104 ifneq ($(OPENJDK_TARGET_OS),windows)
ohair@5221 105 # Exclude Window security related files in src/share/classes
ohair@5221 106 EXFILES+=NTLoginModule.java \
ohair@5221 107 NTSystem.java
ohair@5819 108 else
ohair@5819 109 EXFILES+=UnixLoginModule.java \
ohair@5819 110 UnixSystem.java
ohair@5221 111 endif
ohair@5221 112
erikj@5596 113 ifeq ($(OPENJDK_TARGET_OS),windows)
erikj@5507 114 # Don't build GTK L&F on Windows
ohair@5819 115 EXCLUDES+=com/sun/java/swing/plaf/gtk
ohair@5221 116 endif
ohair@5221 117
erikj@5596 118 ifneq ($(OPENJDK_TARGET_OS),linux)
ohair@5221 119 EXFILES+=sun/tools/attach/LinuxAttachProvider.java \
ohair@6025 120 sun/tools/attach/LinuxVirtualMachine.java \
ohair@6025 121 sun/nio/ch/EPoll.java \
ohair@6025 122 sun/nio/ch/EPollArrayWrapper.java \
ohair@6025 123 sun/nio/ch/EPollPort.java \
ohair@6025 124 sun/nio/ch/EPollSelectorImpl.java \
ohair@6025 125 sun/nio/ch/EPollSelectorProvider.java \
ohair@6025 126 sun/nio/ch/LinuxAsynchronousChannelProvider.java \
ohair@6025 127 sun/nio/fs/LinuxDosFileAttributeView.java \
ohair@6025 128 sun/nio/fs/LinuxFileStore.java \
ohair@6025 129 sun/nio/fs/LinuxFileSystem.java \
ohair@6025 130 sun/nio/fs/LinuxFileSystemProvider.java \
dxu@6209 131 sun/nio/fs/MagicFileTypeDetector.java \
ohair@6025 132 sun/nio/fs/LinuxNativeDispatcher.java \
ohair@6025 133 sun/nio/fs/LinuxUserDefinedFileAttributeView.java \
ohair@6025 134 sun/nio/fs/LinuxWatchService.java
ohair@5221 135 endif
ohair@5221 136
erikj@5596 137 ifneq ($(OPENJDK_TARGET_OS),macosx)
ohair@6025 138 EXFILES+=sun/nio/ch/BsdAsynchronousChannelProvider.java \
ohair@6025 139 sun/nio/ch/KQueue.java \
ohair@6025 140 sun/nio/ch/KQueuePort.java \
ohair@6025 141 sun/nio/fs/BsdFileStore.java \
ohair@5221 142 sun/nio/fs/BsdFileSystem.java \
ohair@5221 143 sun/nio/fs/BsdFileSystemProvider.java \
ohair@5221 144 sun/nio/fs/BsdNativeDispatcher.java \
ohair@5819 145 sun/nio/fs/MacOSXFileSystemProvider.java \
ohair@5819 146 sun/nio/fs/MacOSXFileSystem.java \
ohair@5819 147 sun/nio/fs/MacOSXNativeDispatcher.java \
ohair@5221 148 sun/tools/attach/BsdAttachProvider.java \
ohair@5221 149 sun/tools/attach/BsdVirtualMachine.java
ohair@5221 150 endif
ohair@5221 151
simonis@9185 152 ifneq ($(OPENJDK_TARGET_OS),aix)
simonis@9185 153 EXFILES+=sun/nio/ch/AixAsynchronousChannelProvider.java \
simonis@9185 154 sun/nio/ch/AixPollPort.java \
simonis@9185 155 sun/nio/fs/AixFileStore.java \
simonis@9185 156 sun/nio/fs/AixFileSystem.java \
simonis@9185 157 sun/nio/fs/AixFileSystemProvider.java \
simonis@9185 158 sun/nio/fs/AixNativeDispatcher.java
simonis@9185 159 endif
simonis@9185 160
ohair@5221 161 # Exclude BreakIterator classes that are just used in compile process to generate
ohair@5221 162 # data files and shouldn't go in the product
ohair@5221 163 EXFILES+=sun/text/resources/BreakIteratorRules.java \
ohair@5819 164 sun/text/resources/BreakIteratorRules_th.java
ohair@5221 165
ohair@5221 166 # TODO: Add BUILD_HEADLESS_ONLY to configure?
ohair@5221 167 ifdef BUILD_HEADLESS_ONLY
ohair@5221 168 EXCLUDES+=sun/applet
ohair@5221 169 endif
ohair@5221 170
ohair@5221 171 ifdef OPENJDK
ohair@5221 172 EXCLUDES+=sun/java2d/cmm/kcms
ohair@5221 173 endif
ohair@5221 174
erikj@5507 175 # Used on windows and macosx
erikj@5596 176 ifeq (,$(filter $(OPENJDK_TARGET_OS), windows macosx))
ohair@5221 177 EXFILES+=sun/awt/AWTCharset.java
ohair@5221 178 endif
ohair@5221 179
erikj@5596 180 ifneq ($(OPENJDK_TARGET_OS), macosx)
ohair@6025 181 EXFILES+=sun/awt/X11/ScreenFormat.java \
ohair@6025 182 sun/awt/X11/XArc.java \
ohair@6025 183 sun/awt/X11/XChar2b.java \
ohair@6025 184 sun/awt/X11/XCharStruct.java \
ohair@6025 185 sun/awt/X11/XClassHint.java \
ohair@6025 186 sun/awt/X11/XComposeStatus.java \
ohair@6025 187 sun/awt/X11/XExtCodes.java \
ohair@6025 188 sun/awt/X11/XFontProp.java \
ohair@6025 189 sun/awt/X11/XFontSetExtents.java \
ohair@6025 190 sun/awt/X11/XFontStruct.java \
ohair@6025 191 sun/awt/X11/XGCValues.java \
ohair@6025 192 sun/awt/X11/XHostAddress.java \
ohair@6025 193 sun/awt/X11/XIMCallback.java \
ohair@6025 194 sun/awt/X11/XIMHotKeyTrigger.java \
ohair@6025 195 sun/awt/X11/XIMHotKeyTriggers.java \
ohair@6025 196 sun/awt/X11/XIMPreeditCaretCallbackStruct.java \
ohair@6025 197 sun/awt/X11/XIMPreeditDrawCallbackStruct.java \
ohair@6025 198 sun/awt/X11/XIMPreeditStateNotifyCallbackStruct.java \
ohair@6025 199 sun/awt/X11/XIMStatusDrawCallbackStruct.java \
ohair@6025 200 sun/awt/X11/XIMStringConversionCallbackStruct.java \
ohair@6025 201 sun/awt/X11/XIMStringConversionText.java \
ohair@6025 202 sun/awt/X11/XIMStyles.java \
ohair@6025 203 sun/awt/X11/XIMText.java \
ohair@6025 204 sun/awt/X11/XIMValuesList.java \
ohair@6025 205 sun/awt/X11/XImage.java \
ohair@6025 206 sun/awt/X11/XKeyboardControl.java \
ohair@6025 207 sun/awt/X11/XKeyboardState.java \
ohair@6025 208 sun/awt/X11/XOMCharSetList.java \
ohair@6025 209 sun/awt/X11/XOMFontInfo.java \
ohair@6025 210 sun/awt/X11/XOMOrientation.java \
ohair@6025 211 sun/awt/X11/XPoint.java \
ohair@6025 212 sun/awt/X11/XRectangle.java \
ohair@6025 213 sun/awt/X11/XSegment.java \
ohair@6025 214 sun/awt/X11/XStandardColormap.java \
ohair@6025 215 sun/awt/X11/XTextItem.java \
ohair@6025 216 sun/awt/X11/XTextItem16.java \
ohair@6025 217 sun/awt/X11/XTextProperty.java \
ohair@6025 218 sun/awt/X11/XTimeCoord.java \
ohair@6025 219 sun/awt/X11/XWindowChanges.java \
ohair@6025 220 sun/awt/X11/XdbeSwapInfo.java \
ohair@6025 221 sun/awt/X11/XmbTextItem.java \
ohair@6025 222 sun/awt/X11/XwcTextItem.java
erikj@5507 223 endif
ohair@5221 224
ohair@5221 225 # Exclude another implicitly not included file.
ohair@5221 226 EXFILES+=sun/util/locale/AsciiUtil.java
ohair@5221 227
erikj@5596 228 ifeq (,$(filter $(OPENJDK_TARGET_OS), solaris macosx))
erikj@5507 229 #
erikj@5507 230 # only solaris and macosx
erikj@5507 231 #
ohair@5221 232 EXFILES+=sun/nio/fs/PollingWatchService.java
ohair@5221 233 endif
ohair@5221 234
ohair@5221 235 # TODO: Fix when converting NIO
ohair@5221 236 # Exclude *-linux-arm.java and *-linux-ppc.java from closed.
ohair@5221 237 EXFILES+=-linux-arm.java \
ohair@5221 238 -linux-ppc.java
ohair@5221 239
erikj@5596 240 ifeq ($(OPENJDK_TARGET_OS), windows)
erikj@5507 241 EXFILES+=sun/nio/ch/AbstractPollSelectorImpl.java \
erikj@5507 242 sun/nio/ch/PollSelectorProvider.java \
erikj@6213 243 sun/nio/ch/SimpleAsynchronousFileChannelImpl.java
ohair@5221 244 endif
ohair@5221 245
erikj@6358 246 # These files do not appear in the build result of the old build. This
erikj@6358 247 # is because they are generated sources, but the AUTO_JAVA_FILES won't
erikj@6358 248 # pick them up since they aren't generated when the source dirs are
erikj@6358 249 # searched and they aren't referenced by any other classes so they won't
erikj@6358 250 # be picked up by implicit compilation. On a rebuild, they are picked up
erikj@6358 251 # and compiled. Exclude them here to produce the same rt.jar as the old
erikj@6358 252 # build does when building just once.
ohair@6025 253 EXFILES+=javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
erikj@6358 254 javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
erikj@6358 255 javax/swing/plaf/nimbus/ScrollBarPainter.java \
erikj@6358 256 javax/swing/plaf/nimbus/SliderPainter.java \
erikj@6358 257 javax/swing/plaf/nimbus/SpinnerPainter.java \
erikj@6358 258 javax/swing/plaf/nimbus/SplitPanePainter.java \
erikj@6358 259 javax/swing/plaf/nimbus/TabbedPanePainter.java
erikj@5507 260
ohair@5221 261 # Acquire a list of files that should be copied straight over to the classes.
ohair@5221 262 include CopyIntoClasses.gmk
ohair@5221 263 # Now we have COPY_PATTERNS, COPY_FILES and COPY_EXTRA
ohair@5221 264
ohair@5221 265 ifndef OPENJDK
raginip@6453 266 CLOSED_SRC_DIRS:=$(JDK_TOPDIR)/src/closed/share/classes \
raginip@6453 267 $(JDK_TOPDIR)/src/closed/$(OPENJDK_TARGET_OS_API_DIR)/classes
ohair@5221 268 endif
ohair@5221 269
erikj@5507 270 MACOSX_SRC_DIRS :=
erikj@5596 271 ifeq ($(OPENJDK_TARGET_OS),macosx)
erikj@5507 272 MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/classes
erikj@5507 273
erikj@5507 274 # this files are duplicated in MACOSX_SRC_DIRS
erikj@5507 275 EXFILES+= $(JDK_TOPDIR)/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java \
erikj@5507 276 $(JDK_TOPDIR)/src/solaris/classes/sun/java2d/BackBufferCapsProvider.java \
erikj@5507 277 $(JDK_TOPDIR)/src/solaris/classes/java/net/DefaultInterface.java \
naoto@5750 278 $(JDK_TOPDIR)/src/solaris/classes/java/lang/ClassLoaderHelper.java \
ohair@5819 279 $(JDK_TOPDIR)/src/solaris/classes/sun/util/locale/provider/HostLocaleProviderAdapterImpl.java \
ohair@5819 280 $(JDK_TOPDIR)/src/solaris/classes/sun/nio/fs/GnomeFileTypeDetector.java
erikj@5596 281
erikj@5596 282 # JObjC.jar contains 1.5 byte-code...so skip it here :-(
erikj@5596 283 # MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/native/jobjc/src
erikj@5596 284 # EXCLUDES+= tests/java/com/apple/jobjc
erikj@5596 285
erikj@5596 286 EXCLUDES+= com/apple/jobjc
erikj@5507 287 endif
erikj@5507 288
erikj@5507 289 # The exception handling of swing beaninfo
erikj@5507 290 # These resources violates the convention of having code and resources together under
erikj@5507 291 # $(JDK_TOPDIR)/src/.../classes directories
erikj@5507 292 $(JDK_OUTPUTDIR)/classes/javax/swing/beaninfo/images/%.gif: $(JDK_TOPDIR)/make/tools/swing-beans/beaninfo/images/%.gif
erikj@6824 293 $(call install-file)
erikj@5507 294
ohair@5819 295 # The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying
ohair@5819 296 # JDK_FILTER at the make command line, only a subset of the JDK java files will
ohair@5819 297 # be recompiled. If multiple paths are separated by comma, convert that into a
ohair@5819 298 # space separated list.
ohair@5819 299 JDK_USER_DEFINED_FILTER:=$(strip $(subst $(COMMA),$(SPACE),$(JDK_FILTER)))
ohair@5819 300
ohair@5221 301 $(eval $(call SetupJavaCompilation,BUILD_JDK,\
ohair@5221 302 SETUP:=GENERATE_JDKBYTECODE,\
ohair@5221 303 SRC:=$(JDK_TOPDIR)/src/share/classes \
ohair@5819 304 $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes \
erikj@5507 305 $(MACOSX_SRC_DIRS) \
ohair@5221 306 $(JDK_OUTPUTDIR)/gensrc \
ohrstrom@6362 307 $(JDK_OUTPUTDIR)/gensrc_no_srczip \
ohair@5221 308 $(CLOSED_SRC_DIRS),\
ohair@5819 309 INCLUDES:=$(JDK_USER_DEFINED_FILTER),\
ohair@5221 310 EXCLUDES:=$(EXCLUDES),\
ohair@5221 311 EXCLUDE_FILES:=$(EXFILES),\
erikj@5507 312 BIN:=$(JDK_OUTPUTDIR)/classes,\
ohair@5221 313 COPY:=$(COPY_PATTERNS),\
ohair@5221 314 COPY_FILES:=$(COPY_FILES),\
ohair@5221 315 HEADERS:=$(JDK_OUTPUTDIR)/gensrc_headers))
ohair@5221 316
erikj@5507 317 ##########################################################################################
erikj@5507 318
erikj@5507 319 ifndef OPENJDK
erikj@5507 320
erikj@6145 321 $(eval $(call SetupJavaCompilation,BUILD_ALTCLASSES,\
erikj@5507 322 SETUP:=GENERATE_JDKBYTECODE,\
erikj@5507 323 SRC:=$(JDK_TOPDIR)/src/closed/share/altclasses, \
erikj@6145 324 BIN:=$(JDK_OUTPUTDIR)/altclasses_classes))
erikj@5507 325
erikj@6145 326 $(BUILD_ALTCLASSES): $(BUILD_JDK)
erikj@5507 327
erikj@5507 328 endif
erikj@5507 329
erikj@5507 330 ##########################################################################################
erikj@5507 331
erikj@5507 332 $(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin:
erikj@5507 333 $(MKDIR) -p $(@D)
erikj@5507 334 $(TOUCH) $@
erikj@5507 335
erikj@5507 336 ##########################################################################################
erikj@5507 337
erikj@5596 338 ifeq ($(OPENJDK_TARGET_OS),macosx)
erikj@5596 339 #
erikj@5596 340 # JObjC.jar is compiled with BOOT_JAVAC which (may) not support the "-h" flag.
erikj@5596 341 # so we first compile classes with BOOT_JAVAC and then with JDK_JAVAC :-(
erikj@5596 342 #
erikj@5596 343 $(eval $(call SetupJavaCompiler,GENERATE_15BYTECODE,\
erikj@5596 344 JAVAC:=$(JAVAC),\
erikj@5596 345 FLAGS:=-source 1.5 -target 1.5 -g -bootclasspath $(BOOT_RTJAR) -cp $(JDK_OUTPUTDIR)/../langtools/dist/lib/classes.jar $(DISABLE_WARNINGS),\
ohair@5819 346 SERVER_DIR:=$(SJAVAC_SERVER_DIR),\
ohair@5819 347 SERVER_JVM:=$(SJAVAC_SERVER_JAVA)))
erikj@5596 348
erikj@6145 349 $(eval $(call SetupJavaCompilation,BUILD_JOBJC,\
erikj@5596 350 SETUP:=GENERATE_15BYTECODE,\
ohair@5819 351 DISABLE_SJAVAC:=true,\
erikj@5596 352 SRC:=$(JDK_TOPDIR)/src/macosx/native/jobjc/src/core/java \
erikj@5596 353 $(JDK_TOPDIR)/src/macosx/native/jobjc/src/runtime-additions/java \
alanb@7279 354 $(JDK_OUTPUTDIR)/gensrc_jobjc/src, \
erikj@5596 355 INCLUDES := com/apple/jobjc,\
erikj@5596 356 EXCLUDES := tests/java/com/apple/jobjc,\
erikj@5596 357 BIN:=$(JDK_OUTPUTDIR)/jobjc_classes,\
erikj@5596 358 JAR:=$(JDK_OUTPUTDIR)/lib/JObjC.jar, \
erikj@5596 359 JARINDEX := true))
erikj@5596 360
erikj@6145 361 $(BUILD_JOBJC) : $(BUILD_JDK)
erikj@5596 362
erikj@6145 363 $(eval $(call SetupJavaCompilation,BUILD_JOBJC_HEADERS,\
erikj@5596 364 SETUP:=GENERATE_JDKBYTECODE,\
erikj@5596 365 SRC:=$(JDK_TOPDIR)/src/macosx/native/jobjc/src/core/java \
erikj@5596 366 $(JDK_TOPDIR)/src/macosx/native/jobjc/src/runtime-additions/java \
alanb@7279 367 $(JDK_OUTPUTDIR)/gensrc_jobjc/src, \
erikj@5596 368 INCLUDES := com/apple/jobjc,\
erikj@5596 369 EXCLUDES := tests/java/com/apple/jobjc,\
erikj@5596 370 BIN:=$(JDK_OUTPUTDIR)/jobjc_classes_headers,\
erikj@6075 371 HEADERS:=$(JDK_OUTPUTDIR)/gensrc_headers_jobjc))
erikj@5596 372
erikj@6145 373 $(BUILD_JOBJC_HEADERS) : $(BUILD_JDK)
erikj@5596 374
erikj@5596 375 endif
erikj@5596 376
erikj@5596 377 ##########################################################################################
erikj@5596 378
raginip@6453 379 ifndef OPENJDK
raginip@6453 380 ifeq ($(OPENJDK_TARGET_OS), windows)
raginip@6453 381 ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
raginip@6453 382 $(eval $(call SetupJavaCompilation,BUILD_ACCESSBRIDGE_32,\
raginip@6453 383 SETUP:=GENERATE_JDKBYTECODE,\
raginip@6453 384 JAVAC_FLAGS:=-cp $(JDK_OUTPUTDIR)/classes,\
raginip@6453 385 SRC:=$(JDK_OUTPUTDIR)/gensrc_ab/32bit,\
raginip@6453 386 BIN:=$(JDK_OUTPUTDIR)/classes_ab/32bit))
raginip@6453 387
raginip@6453 388 $(BUILD_ACCESSBRIDGE_32): $(BUILD_JDK)
raginip@6453 389
raginip@6453 390 $(eval $(call SetupJavaCompilation,BUILD_ACCESSBRIDGE_LEGACY,\
raginip@6453 391 SETUP:=GENERATE_JDKBYTECODE,\
raginip@6453 392 JAVAC_FLAGS:=-cp $(JDK_OUTPUTDIR)/classes,\
raginip@6453 393 SRC:=$(JDK_OUTPUTDIR)/gensrc_ab/legacy,\
raginip@6453 394 BIN:=$(JDK_OUTPUTDIR)/classes_ab/legacy))
raginip@6453 395
raginip@6453 396 $(BUILD_ACCESSBRIDGE_LEGACY): $(BUILD_JDK)
raginip@6453 397
raginip@6453 398 else
raginip@6453 399
raginip@6453 400 $(eval $(call SetupJavaCompilation,BUILD_ACCESSBRIDGE_64,\
raginip@6453 401 SETUP:=GENERATE_JDKBYTECODE,\
raginip@6453 402 JAVAC_FLAGS:=-cp $(JDK_OUTPUTDIR)/classes,\
raginip@6453 403 SRC:=$(JDK_OUTPUTDIR)/gensrc_ab/64bit,\
raginip@6453 404 BIN:=$(JDK_OUTPUTDIR)/classes_ab/64bit))
raginip@6453 405
raginip@6453 406 $(BUILD_ACCESSBRIDGE_64): $(BUILD_JDK)
raginip@6453 407
raginip@6453 408 endif
raginip@6453 409 endif
raginip@6453 410 endif
raginip@6453 411
raginip@6453 412 ##########################################################################################
raginip@6453 413
erikj@6145 414 all: $(BUILD_JDK) $(BUILD_ALTCLASSES) $(BUILD_JOBJC) $(BUILD_JOBJC_HEADERS) $(COPY_EXTRA) \
erikj@6463 415 $(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin \
raginip@6453 416 $(BUILD_ACCESSBRIDGE_32) $(BUILD_ACCESSBRIDGE_64) \
raginip@6453 417 $(BUILD_ACCESSBRIDGE_LEGACY)
ohair@5221 418
ohair@5221 419 .PHONY: all