52 # env.[ck]sh - environment settings
53 # test_gamma - script to run the Queens program
54 #
55 # The makefiles are split this way so that "make foo" will run faster by not
56 # having to read the dependency files for the vm.
57
58 # needs to be set here since this Makefile doesn't include defs.make
59 OS_VENDOR:=$(shell uname -s)
60
61 -include $(SPEC)
62 include $(GAMMADIR)/make/scm.make
63 include $(GAMMADIR)/make/altsrc.make
64
65
66 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details.
67 QUIETLY$(MAKE_VERBOSE) = @
68
69 # For now, until the compiler is less wobbly:
70 TESTFLAGS = -Xbatch -showversion
71
72 ifeq ($(ZERO_BUILD), true)
73 PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero
74 else
75 ifdef USE_SUNCC
76 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
77 else
78 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH)
79 endif
80 endif
81
82 # Allow overriding of the arch part of the directory but default
83 # to BUILDARCH if nothing is specified
84 ifeq ($(VARIANTARCH),)
85 VARIANTARCH=$(BUILDARCH)
86 endif
87
88 ifdef FORCE_TIERED
89 ifeq ($(VARIANT),tiered)
90 PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_compiler2
91 else
92 PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_$(VARIANT)
|
52 # env.[ck]sh - environment settings
53 # test_gamma - script to run the Queens program
54 #
55 # The makefiles are split this way so that "make foo" will run faster by not
56 # having to read the dependency files for the vm.
57
58 # needs to be set here since this Makefile doesn't include defs.make
59 OS_VENDOR:=$(shell uname -s)
60
61 -include $(SPEC)
62 include $(GAMMADIR)/make/scm.make
63 include $(GAMMADIR)/make/altsrc.make
64
65
66 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details.
67 QUIETLY$(MAKE_VERBOSE) = @
68
69 # For now, until the compiler is less wobbly:
70 TESTFLAGS = -Xbatch -showversion
71
72 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
73 PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero
74 else
75 ifdef USE_SUNCC
76 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
77 else
78 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH)
79 endif
80 endif
81
82 # Allow overriding of the arch part of the directory but default
83 # to BUILDARCH if nothing is specified
84 ifeq ($(VARIANTARCH),)
85 VARIANTARCH=$(BUILDARCH)
86 endif
87
88 ifdef FORCE_TIERED
89 ifeq ($(VARIANT),tiered)
90 PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_compiler2
91 else
92 PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_$(VARIANT)
|