< prev index next >

make/bsd/makefiles/buildtree.make

Print this page




 108 ifeq            ($(VARIANT),compiler2)
 109 TOPLEVEL_EXCLUDE_DIRS   = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name c1 -o -name agent
 110 else
 111 # compiler1 and core use the same exclude list
 112 TOPLEVEL_EXCLUDE_DIRS   = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name opto -o -name libadt -o -name agent
 113 endif
 114 endif
 115 
 116 ifeq ($(ENABLE_JFR),false)
 117 ALWAYS_EXCLUDE_DIRS += -o -name jfr
 118 endif
 119 
 120 # Get things from the platform file.
 121 COMPILER        = $(shell sed -n 's/^compiler[  ]*=[    ]*//p' $(PLATFORM_FILE))
 122 
 123 # dtracefiles is used on BSD versions that implement Dtrace (like MacOS X)
 124 SIMPLE_DIRS     = \
 125         $(PLATFORM_DIR)/generated/dependencies \
 126         $(PLATFORM_DIR)/generated/adfiles \
 127         $(PLATFORM_DIR)/generated/jvmtifiles \
 128         $(PLATFORM_DIR)/generated/jfrfiles \
 129         $(PLATFORM_DIR)/generated/dtracefiles
 130 





 131 TARGETS      = debug fastdebug optimized product
 132 SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS))
 133 
 134 # For dependencies and recursive makes.
 135 BUILDTREE_MAKE  = $(GAMMADIR)/make/$(OS_FAMILY)/makefiles/buildtree.make
 136 
 137 # dtrace.make is used on BSD versions that implement Dtrace (like MacOS X)
 138 BUILDTREE_TARGETS = Makefile flags.make flags_vm.make vm.make adlc.make jvmti.make jfr.make sa.make dtrace.make



 139 
 140 BUILDTREE_VARS  = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OS_FAMILY) \
 141         SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) VARIANT=$(VARIANT)
 142 
 143 # Define variables to be set in flags.make.
 144 # Default values are set in make/defs.make.
 145 ifeq ($(HOTSPOT_BUILD_VERSION),)
 146   HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)
 147 else
 148   HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
 149 endif
 150 # Set BUILD_USER from system-dependent hints:  $LOGNAME, $(whoami)
 151 ifndef HOTSPOT_BUILD_USER
 152   HOTSPOT_BUILD_USER := $(shell echo $$LOGNAME)
 153 endif
 154 ifndef HOTSPOT_BUILD_USER
 155   HOTSPOT_BUILD_USER := $(shell whoami)
 156 endif
 157 # Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro
 158 # or make/hotspot_distro.




 108 ifeq            ($(VARIANT),compiler2)
 109 TOPLEVEL_EXCLUDE_DIRS   = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name c1 -o -name agent
 110 else
 111 # compiler1 and core use the same exclude list
 112 TOPLEVEL_EXCLUDE_DIRS   = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name opto -o -name libadt -o -name agent
 113 endif
 114 endif
 115 
 116 ifeq ($(ENABLE_JFR),false)
 117 ALWAYS_EXCLUDE_DIRS += -o -name jfr
 118 endif
 119 
 120 # Get things from the platform file.
 121 COMPILER        = $(shell sed -n 's/^compiler[  ]*=[    ]*//p' $(PLATFORM_FILE))
 122 
 123 # dtracefiles is used on BSD versions that implement Dtrace (like MacOS X)
 124 SIMPLE_DIRS     = \
 125         $(PLATFORM_DIR)/generated/dependencies \
 126         $(PLATFORM_DIR)/generated/adfiles \
 127         $(PLATFORM_DIR)/generated/jvmtifiles \

 128         $(PLATFORM_DIR)/generated/dtracefiles
 129 
 130 ifeq ($(ENABLE_JFR), true)
 131 SIMPLE_DIRS     += \
 132         $(PLATFORM_DIR)/generated/jfrfiles
 133 endif
 134 
 135 TARGETS      = debug fastdebug optimized product
 136 SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS))
 137 
 138 # For dependencies and recursive makes.
 139 BUILDTREE_MAKE  = $(GAMMADIR)/make/$(OS_FAMILY)/makefiles/buildtree.make
 140 
 141 # dtrace.make is used on BSD versions that implement Dtrace (like MacOS X)
 142 BUILDTREE_TARGETS = Makefile flags.make flags_vm.make vm.make adlc.make jvmti.make sa.make dtrace.make
 143 ifeq ($(ENABLE_JFR), true)
 144 BUILDTREE_TARGETS += jfr.make
 145 endif
 146 
 147 BUILDTREE_VARS  = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OS_FAMILY) \
 148         SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) VARIANT=$(VARIANT)
 149 
 150 # Define variables to be set in flags.make.
 151 # Default values are set in make/defs.make.
 152 ifeq ($(HOTSPOT_BUILD_VERSION),)
 153   HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)
 154 else
 155   HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
 156 endif
 157 # Set BUILD_USER from system-dependent hints:  $LOGNAME, $(whoami)
 158 ifndef HOTSPOT_BUILD_USER
 159   HOTSPOT_BUILD_USER := $(shell echo $$LOGNAME)
 160 endif
 161 ifndef HOTSPOT_BUILD_USER
 162   HOTSPOT_BUILD_USER := $(shell whoami)
 163 endif
 164 # Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro
 165 # or make/hotspot_distro.


< prev index next >