50 # 1. sa-jdi.jar - This is built before building libjvm.so
51 # Please refer to ./makefiles/sa.make
52 # 2. libsa.so - Native library for SA - This is built after
53 # libjsig.so (signal interposition library)
54 # Please refer to ./makefiles/vm.make
55 # If $(GAMMADIR)/agent dir is not present, SA components are not built.
56
57 ifeq ($(GAMMADIR),)
58 include ../../make/defs.make
59 else
60 include $(GAMMADIR)/make/defs.make
61 endif
62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
63
64 ifndef CC_INTERP
65 ifndef FORCE_TIERED
66 FORCE_TIERED=1
67 endif
68 endif
69 # C1 is not ported on ppc64, so we cannot build a tiered VM:
70 ifeq ($(ARCH),ppc64)
71 FORCE_TIERED=0
72 endif
73
74 ifdef LP64
75 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
76 _JUNK_ := $(shell echo >&2 \
77 $(OSNAME) $(ARCH) "*** ERROR: this platform does not support 64-bit compilers!")
78 @exit 1
79 endif
80 endif
81
82 # we need to set up LP64 correctly to satisfy sanity checks in adlc
83 ifneq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
84 MFLAGS += " LP64=1 "
85 endif
86
87 # pass USE_SUNCC further, through MFLAGS
88 ifdef USE_SUNCC
89 MFLAGS += " USE_SUNCC=1 "
90 endif
91
|
50 # 1. sa-jdi.jar - This is built before building libjvm.so
51 # Please refer to ./makefiles/sa.make
52 # 2. libsa.so - Native library for SA - This is built after
53 # libjsig.so (signal interposition library)
54 # Please refer to ./makefiles/vm.make
55 # If $(GAMMADIR)/agent dir is not present, SA components are not built.
56
57 ifeq ($(GAMMADIR),)
58 include ../../make/defs.make
59 else
60 include $(GAMMADIR)/make/defs.make
61 endif
62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
63
64 ifndef CC_INTERP
65 ifndef FORCE_TIERED
66 FORCE_TIERED=1
67 endif
68 endif
69 # C1 is not ported on ppc64, so we cannot build a tiered VM:
70 ifeq ($(ARCH),ppc)
71 ifeq ($(ARCH_DATA_MODEL), 64)
72 FORCE_TIERED=0
73 endif
74 endif
75
76 ifdef LP64
77 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
78 _JUNK_ := $(shell echo >&2 \
79 $(OSNAME) $(ARCH) "*** ERROR: this platform does not support 64-bit compilers!")
80 @exit 1
81 endif
82 endif
83
84 # we need to set up LP64 correctly to satisfy sanity checks in adlc
85 ifneq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
86 MFLAGS += " LP64=1 "
87 endif
88
89 # pass USE_SUNCC further, through MFLAGS
90 ifdef USE_SUNCC
91 MFLAGS += " USE_SUNCC=1 "
92 endif
93
|