274 # MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/native/jobjc/src
275 # EXCLUDES+= tests/java/com/apple/jobjc
276
277 EXCLUDES+= com/apple/jobjc
278 endif
279
280 # The exception handling of swing beaninfo
281 # These resources violates the convention of having code and resources together under
282 # $(JDK_TOPDIR)/src/.../classes directories
283 $(JDK_OUTPUTDIR)/classes/javax/swing/beaninfo/images/%.gif: $(JDK_TOPDIR)/make/tools/swing-beans/beaninfo/images/%.gif
284 $(call install-file)
285
286 # The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying
287 # JDK_FILTER at the make command line, only a subset of the JDK java files will
288 # be recompiled. If multiple paths are separated by comma, convert that into a
289 # space separated list.
290 JDK_USER_DEFINED_FILTER:=$(strip $(subst $(COMMA),$(SPACE),$(JDK_FILTER)))
291
292 $(eval $(call SetupJavaCompilation,BUILD_JDK,\
293 SETUP:=GENERATE_JDKBYTECODE,\
294 SRC:=$(JDK_TOPDIR)/src/share/classes \
295 $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes \
296 $(MACOSX_SRC_DIRS) \
297 $(JDK_OUTPUTDIR)/gensrc \
298 $(JDK_OUTPUTDIR)/gensrc_no_srczip \
299 $(CLOSED_SRC_DIRS),\
300 INCLUDES:=$(JDK_USER_DEFINED_FILTER),\
301 EXCLUDES:=$(EXCLUDES),\
302 EXCLUDE_FILES:=$(EXFILES),\
303 BIN:=$(JDK_OUTPUTDIR)/classes,\
304 COPY:=$(COPY_PATTERNS),\
305 COPY_FILES:=$(COPY_FILES),\
306 HEADERS:=$(JDK_OUTPUTDIR)/gensrc_headers))
307
308 ##########################################################################################
309
310 ifndef OPENJDK
311
312 $(eval $(call SetupJavaCompilation,BUILD_ALTCLASSES,\
313 SETUP:=GENERATE_JDKBYTECODE,\
|
274 # MACOSX_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/native/jobjc/src
275 # EXCLUDES+= tests/java/com/apple/jobjc
276
277 EXCLUDES+= com/apple/jobjc
278 endif
279
280 # The exception handling of swing beaninfo
281 # These resources violates the convention of having code and resources together under
282 # $(JDK_TOPDIR)/src/.../classes directories
283 $(JDK_OUTPUTDIR)/classes/javax/swing/beaninfo/images/%.gif: $(JDK_TOPDIR)/make/tools/swing-beans/beaninfo/images/%.gif
284 $(call install-file)
285
286 # The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying
287 # JDK_FILTER at the make command line, only a subset of the JDK java files will
288 # be recompiled. If multiple paths are separated by comma, convert that into a
289 # space separated list.
290 JDK_USER_DEFINED_FILTER:=$(strip $(subst $(COMMA),$(SPACE),$(JDK_FILTER)))
291
292 $(eval $(call SetupJavaCompilation,BUILD_JDK,\
293 SETUP:=GENERATE_JDKBYTECODE,\
294 FLAGS:=-Xlint:-unchecked(COMMA)-deprecation(COMMA)auxiliaryclass(COMMA)classfile(COMMA)divzero(COMMA)empty(COMMA)fallthrough(COMMA)finally(COMMA)try(COMMA)varargs -Werror,\
295 SRC:=$(JDK_TOPDIR)/src/share/classes \
296 $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes \
297 $(MACOSX_SRC_DIRS) \
298 $(JDK_OUTPUTDIR)/gensrc \
299 $(JDK_OUTPUTDIR)/gensrc_no_srczip \
300 $(CLOSED_SRC_DIRS),\
301 INCLUDES:=$(JDK_USER_DEFINED_FILTER),\
302 EXCLUDES:=$(EXCLUDES),\
303 EXCLUDE_FILES:=$(EXFILES),\
304 BIN:=$(JDK_OUTPUTDIR)/classes,\
305 COPY:=$(COPY_PATTERNS),\
306 COPY_FILES:=$(COPY_FILES),\
307 HEADERS:=$(JDK_OUTPUTDIR)/gensrc_headers))
308
309 ##########################################################################################
310
311 ifndef OPENJDK
312
313 $(eval $(call SetupJavaCompilation,BUILD_ALTCLASSES,\
314 SETUP:=GENERATE_JDKBYTECODE,\
|