229 |
229 |
230 # Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME |
230 # Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME |
231 |
231 |
232 $(TARGETS_C2): $(SUBDIRS_C2) |
232 $(TARGETS_C2): $(SUBDIRS_C2) |
233 cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) |
233 cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) |
234 ifeq ($(TEST_IN_BUILD),true) |
|
235 cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && ./test_gamma |
|
236 endif |
|
237 ifdef INSTALL |
234 ifdef INSTALL |
238 cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) install |
235 cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) install |
239 endif |
236 endif |
240 |
237 |
241 $(TARGETS_TIERED): $(SUBDIRS_TIERED) |
238 $(TARGETS_TIERED): $(SUBDIRS_TIERED) |
242 cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) |
239 cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) |
243 ifeq ($(TEST_IN_BUILD),true) |
|
244 cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && ./test_gamma |
|
245 endif |
|
246 ifdef INSTALL |
240 ifdef INSTALL |
247 cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) install |
241 cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) install |
248 endif |
242 endif |
249 |
243 |
250 $(TARGETS_C1): $(SUBDIRS_C1) |
244 $(TARGETS_C1): $(SUBDIRS_C1) |
251 cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) |
245 cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) |
252 ifeq ($(TEST_IN_BUILD),true) |
|
253 cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && ./test_gamma |
|
254 endif |
|
255 ifdef INSTALL |
246 ifdef INSTALL |
256 cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) install |
247 cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) install |
257 endif |
248 endif |
258 |
249 |
259 $(TARGETS_CORE): $(SUBDIRS_CORE) |
250 $(TARGETS_CORE): $(SUBDIRS_CORE) |
260 cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) |
251 cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) |
261 ifeq ($(TEST_IN_BUILD),true) |
|
262 cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && ./test_gamma |
|
263 endif |
|
264 ifdef INSTALL |
252 ifdef INSTALL |
265 cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) install |
253 cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) install |
266 endif |
254 endif |
267 |
255 |
268 # Just build the tree, and nothing else: |
256 # Just build the tree, and nothing else: |