248 # You can run $(JDK_OUTPUTDIR)/bin/java
249 # Though the layout of the contents of $(JDK_OUTPUTDIR) is not
250 # yet the same as a default installation.
251 #
252 # When you run "make install" it will create the standardized
253 # layout for the jdk and the jre inside the IMAGES_OUTPUTDIR subdir.
254 # Then it will copy the contents of the jdk into the installation
255 # directory.
256
257 BUILD_OUTPUT:=@BUILD_OUTPUT@
258 # Colon left out to be able to override IMAGES_OUTPUTDIR for bootcycle-images
259 SUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/support
260 BUILDTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/buildtools
261
262 HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot
263 JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk
264 IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
265 BUNDLES_OUTPUTDIR=$(BUILD_OUTPUT)/bundles
266 TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
267 MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
268 # This does not get overridden in a bootcycle build
269 CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
270 BUILDJDK_OUTPUTDIR=$(BUILD_OUTPUT)/buildjdk
271
272 HOTSPOT_DIST=@HOTSPOT_DIST@
273
274 BUILD_HOTSPOT=@BUILD_HOTSPOT@
275
276 BUILD_FAILURE_HANDLER := @BUILD_FAILURE_HANDLER@
277
278 ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
279
280 # The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
281 # it in sync.
282 BOOT_JDK:=@BOOT_JDK@
283
284 BUILD_JDK:=@BUILD_JDK@
285 CREATE_BUILDJDK:=@CREATE_BUILDJDK@
286 EXTERNAL_BUILDJDK:=@EXTERNAL_BUILDJDK@
287
771 JDK_IMAGE_SUBDIR:=jdk
772 JRE_IMAGE_SUBDIR:=jre
773
774 # Colon left out to be able to override output dir for bootcycle-images
775 JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
776 JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
777
778 # Test image, as above
779 TEST_IMAGE_SUBDIR:=test
780 TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
781
782 # Symbols image
783 SYMBOLS_IMAGE_SUBDIR:=symbols
784 SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
785
786 # Interim image
787 INTERIM_IMAGE_DIR := $(SUPPORT_OUTPUTDIR)/interim-image
788
789 # Docs image
790 DOCS_IMAGE_SUBDIR := docs
791 DOCS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(DOCS_IMAGE_SUBDIR)
792
793 # Macosx bundles directory definitions
794 JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
795 JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle
796 JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
797 JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
798 JDK_MACOSX_CONTENTS_SUBDIR=jdk-$(VERSION_NUMBER).jdk/Contents
799 JRE_MACOSX_CONTENTS_SUBDIR=jre-$(VERSION_NUMBER).jre/Contents
800 JDK_MACOSX_CONTENTS_DIR=$(JDK_MACOSX_BUNDLE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)
801 JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR)
802
803 # Bundle names
804 BASE_NAME := $(VERSION_SHORT)+$(VERSION_BUILD)_$(OPENJDK_TARGET_BUNDLE_PLATFORM)
805 ifeq ($(DEBUG_LEVEL), fastdebug)
806 DEBUG_PART := -debug
807 else ifneq ($(DEBUG_LEVEL), release)
808 DEBUG_PART := -$(DEBUG_LEVEL)
809 endif
810 JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
811 JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
|
248 # You can run $(JDK_OUTPUTDIR)/bin/java
249 # Though the layout of the contents of $(JDK_OUTPUTDIR) is not
250 # yet the same as a default installation.
251 #
252 # When you run "make install" it will create the standardized
253 # layout for the jdk and the jre inside the IMAGES_OUTPUTDIR subdir.
254 # Then it will copy the contents of the jdk into the installation
255 # directory.
256
257 BUILD_OUTPUT:=@BUILD_OUTPUT@
258 # Colon left out to be able to override IMAGES_OUTPUTDIR for bootcycle-images
259 SUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/support
260 BUILDTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/buildtools
261
262 HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot
263 JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk
264 IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
265 BUNDLES_OUTPUTDIR=$(BUILD_OUTPUT)/bundles
266 TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
267 MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
268
269 # By default, output javadoc directly into image
270 JAVADOC_OUTPUTDIR = $(DOCS_IMAGE_DIR)
271
272 # This does not get overridden in a bootcycle build
273 CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
274 BUILDJDK_OUTPUTDIR=$(BUILD_OUTPUT)/buildjdk
275
276 HOTSPOT_DIST=@HOTSPOT_DIST@
277
278 BUILD_HOTSPOT=@BUILD_HOTSPOT@
279
280 BUILD_FAILURE_HANDLER := @BUILD_FAILURE_HANDLER@
281
282 ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
283
284 # The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
285 # it in sync.
286 BOOT_JDK:=@BOOT_JDK@
287
288 BUILD_JDK:=@BUILD_JDK@
289 CREATE_BUILDJDK:=@CREATE_BUILDJDK@
290 EXTERNAL_BUILDJDK:=@EXTERNAL_BUILDJDK@
291
775 JDK_IMAGE_SUBDIR:=jdk
776 JRE_IMAGE_SUBDIR:=jre
777
778 # Colon left out to be able to override output dir for bootcycle-images
779 JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
780 JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
781
782 # Test image, as above
783 TEST_IMAGE_SUBDIR:=test
784 TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
785
786 # Symbols image
787 SYMBOLS_IMAGE_SUBDIR:=symbols
788 SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
789
790 # Interim image
791 INTERIM_IMAGE_DIR := $(SUPPORT_OUTPUTDIR)/interim-image
792
793 # Docs image
794 DOCS_IMAGE_SUBDIR := docs
795 DOCS_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_IMAGE_SUBDIR)
796
797 # Macosx bundles directory definitions
798 JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
799 JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle
800 JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
801 JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
802 JDK_MACOSX_CONTENTS_SUBDIR=jdk-$(VERSION_NUMBER).jdk/Contents
803 JRE_MACOSX_CONTENTS_SUBDIR=jre-$(VERSION_NUMBER).jre/Contents
804 JDK_MACOSX_CONTENTS_DIR=$(JDK_MACOSX_BUNDLE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)
805 JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR)
806
807 # Bundle names
808 BASE_NAME := $(VERSION_SHORT)+$(VERSION_BUILD)_$(OPENJDK_TARGET_BUNDLE_PLATFORM)
809 ifeq ($(DEBUG_LEVEL), fastdebug)
810 DEBUG_PART := -debug
811 else ifneq ($(DEBUG_LEVEL), release)
812 DEBUG_PART := -$(DEBUG_LEVEL)
813 endif
814 JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
815 JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).tar.gz
|