69 # Default directory immediately above the "build" output directory (OUTPUTDIR)
70 BUILD_PARENT_DIRECTORY=$(TOPDIR)
71
72 # Get platform specific settings
73 include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
74
75 SRC_BUNDLEDIR = $(OUTPUTDIR)/source-bundles
76 ABS_SRC_BUNDLEDIR = $(ABS_OUTPUTDIR)/source-bundles
77 BIN_BUNDLEDIR = $(OUTPUTDIR)/bundles
78 ABS_BIN_BUNDLEDIR = $(ABS_OUTPUTDIR)/bundles
79
80 dummy := $(shell $(MKDIR) -p $(BIN_BUNDLEDIR))
81 dummy := $(shell $(MKDIR) -p $(SRC_BUNDLEDIR) )
82
83 TEMP_DIR = $(OUTPUTDIR)/tmp
84 ABS_TEMP_DIR = $(ABS_OUTPUTDIR)/tmp
85
86 dummy := $(shell $(MKDIR) -p $(TEMP_DIR))
87
88 # The language version we want for this jdk build
89 SOURCE_LANGUAGE_VERSION=7
90 # The class version we want for this jdk build
91 TARGET_CLASS_VERSION=7
92
93 # The MESSAGE, WARNING and ERROR files are used to store sanity check and
94 # source check messages, warnings and errors.
95 export ERROR_FILE := $(ABS_OUTPUTDIR)/sanityCheckErrors.txt
96 export WARNING_FILE := $(ABS_OUTPUTDIR)/sanityCheckWarnings.txt
97 export MESSAGE_FILE := $(ABS_OUTPUTDIR)/sanityCheckMessages.txt
98
99 # source bundle generation definitions
100 BUNDLE_DATE := $(shell $(DATE) '+%d_%b_%Y' | $(TR) "[A-Z]" "[a-z]")
101 ifdef ALT_BUNDLE_DATE
102 BUNDLE_DATE := $(ALT_BUNDLE_DATE)
103 endif
104
105 # If the update version contains non-numeric characters, we need
106 # to massage it into a numeric format. Unfortunately, the
107 # Windows VERSIONINFO resource that we stick in jvm.dll cannot
108 # handle non-numeric characters. We have to do this here because
109 # Hotspot (nmake) cannot handle calculations. So we use the
110 # following formula:
111 # COOKED_JDK_UPDATE_VERSION = JDK_UPDATE_VERSION * 10 + EXCEPTION_VERSION
|
69 # Default directory immediately above the "build" output directory (OUTPUTDIR)
70 BUILD_PARENT_DIRECTORY=$(TOPDIR)
71
72 # Get platform specific settings
73 include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
74
75 SRC_BUNDLEDIR = $(OUTPUTDIR)/source-bundles
76 ABS_SRC_BUNDLEDIR = $(ABS_OUTPUTDIR)/source-bundles
77 BIN_BUNDLEDIR = $(OUTPUTDIR)/bundles
78 ABS_BIN_BUNDLEDIR = $(ABS_OUTPUTDIR)/bundles
79
80 dummy := $(shell $(MKDIR) -p $(BIN_BUNDLEDIR))
81 dummy := $(shell $(MKDIR) -p $(SRC_BUNDLEDIR) )
82
83 TEMP_DIR = $(OUTPUTDIR)/tmp
84 ABS_TEMP_DIR = $(ABS_OUTPUTDIR)/tmp
85
86 dummy := $(shell $(MKDIR) -p $(TEMP_DIR))
87
88 # The language version we want for this jdk build
89 SOURCE_LANGUAGE_VERSION=8
90 # The class version we want for this jdk build
91 TARGET_CLASS_VERSION=8
92
93 # The MESSAGE, WARNING and ERROR files are used to store sanity check and
94 # source check messages, warnings and errors.
95 export ERROR_FILE := $(ABS_OUTPUTDIR)/sanityCheckErrors.txt
96 export WARNING_FILE := $(ABS_OUTPUTDIR)/sanityCheckWarnings.txt
97 export MESSAGE_FILE := $(ABS_OUTPUTDIR)/sanityCheckMessages.txt
98
99 # source bundle generation definitions
100 BUNDLE_DATE := $(shell $(DATE) '+%d_%b_%Y' | $(TR) "[A-Z]" "[a-z]")
101 ifdef ALT_BUNDLE_DATE
102 BUNDLE_DATE := $(ALT_BUNDLE_DATE)
103 endif
104
105 # If the update version contains non-numeric characters, we need
106 # to massage it into a numeric format. Unfortunately, the
107 # Windows VERSIONINFO resource that we stick in jvm.dll cannot
108 # handle non-numeric characters. We have to do this here because
109 # Hotspot (nmake) cannot handle calculations. So we use the
110 # following formula:
111 # COOKED_JDK_UPDATE_VERSION = JDK_UPDATE_VERSION * 10 + EXCEPTION_VERSION
|