171 # debugshark shark <os>_<arch>_shark/debug
172 # fastdebugshark shark <os>_<arch>_shark/fastdebug
173 # jvmgshark shark <os>_<arch>_shark/jvmg
174 # optimizedshark shark <os>_<arch>_shark/optimized
175 # profiledshark shark <os>_<arch>_shark/profiled
176 # productshark shark <os>_<arch>_shark/product
177 #
178 # What you get with each target:
179 #
180 # debug* - "thin" libjvm_g - debug info linked into the gamma_g launcher
181 # fastdebug* - optimized compile, but with asserts enabled
182 # jvmg* - "fat" libjvm_g - debug info linked into libjvm_g.so
183 # optimized* - optimized compile, no asserts
184 # profiled* - gprof
185 # product* - the shippable thing: optimized compile, no asserts, -DPRODUCT
186
187 # This target list needs to be coordinated with the usage message
188 # in the build.sh script:
189 TARGETS = debug jvmg fastdebug optimized profiled product
190
191 ifeq ($(ZERO_BUILD), true)
192 SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs
193 else
194 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs
195 endif
196 SUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
197 SUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
198 SUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
199 SUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
200 SUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
201 SUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS))
202
203 TARGETS_C2 = $(TARGETS)
204 TARGETS_C1 = $(addsuffix 1,$(TARGETS))
205 TARGETS_TIERED = $(addsuffix tiered,$(TARGETS))
206 TARGETS_CORE = $(addsuffix core,$(TARGETS))
207 TARGETS_ZERO = $(addsuffix zero,$(TARGETS))
208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS))
209
210 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
211 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH)
|
171 # debugshark shark <os>_<arch>_shark/debug
172 # fastdebugshark shark <os>_<arch>_shark/fastdebug
173 # jvmgshark shark <os>_<arch>_shark/jvmg
174 # optimizedshark shark <os>_<arch>_shark/optimized
175 # profiledshark shark <os>_<arch>_shark/profiled
176 # productshark shark <os>_<arch>_shark/product
177 #
178 # What you get with each target:
179 #
180 # debug* - "thin" libjvm_g - debug info linked into the gamma_g launcher
181 # fastdebug* - optimized compile, but with asserts enabled
182 # jvmg* - "fat" libjvm_g - debug info linked into libjvm_g.so
183 # optimized* - optimized compile, no asserts
184 # profiled* - gprof
185 # product* - the shippable thing: optimized compile, no asserts, -DPRODUCT
186
187 # This target list needs to be coordinated with the usage message
188 # in the build.sh script:
189 TARGETS = debug jvmg fastdebug optimized profiled product
190
191 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
192 SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs
193 else
194 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs
195 endif
196 SUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
197 SUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
198 SUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
199 SUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
200 SUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
201 SUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS))
202
203 TARGETS_C2 = $(TARGETS)
204 TARGETS_C1 = $(addsuffix 1,$(TARGETS))
205 TARGETS_TIERED = $(addsuffix tiered,$(TARGETS))
206 TARGETS_CORE = $(addsuffix core,$(TARGETS))
207 TARGETS_ZERO = $(addsuffix zero,$(TARGETS))
208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS))
209
210 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
211 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH)
|