17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
18 # |
18 # |
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 # or visit www.oracle.com if you need additional information or have any |
20 # or visit www.oracle.com if you need additional information or have any |
21 # questions. |
21 # questions. |
22 # |
22 # |
23 # |
23 # |
24 |
24 |
25 # This makefile creates a build tree and lights off a build. |
25 # This makefile creates a build tree and lights off a build. |
26 # You can go back into the build tree and perform rebuilds or |
26 # You can go back into the build tree and perform rebuilds or |
27 # incremental builds as desired. Be sure to reestablish |
27 # incremental builds as desired. Be sure to reestablish |
43 # box). In order to use such a bootstrap jdk, set the make variable |
43 # box). In order to use such a bootstrap jdk, set the make variable |
44 # REMOTE to the desired remote command mechanism, e.g., |
44 # REMOTE to the desired remote command mechanism, e.g., |
45 # |
45 # |
46 # make REMOTE="rsh -l me myotherlinuxbox" |
46 # make REMOTE="rsh -l me myotherlinuxbox" |
47 |
47 |
48 # Along with VM, Serviceability Agent (SA) is built for SA/JDI binding. |
48 # Along with VM, Serviceability Agent (SA) is built for SA/JDI binding. |
49 # JDI binding on SA produces two binaries: |
49 # JDI binding on SA produces two binaries: |
50 # 1. sa-jdi.jar - This is build before building libjvm[_g].so |
50 # 1. sa-jdi.jar - This is build before building libjvm[_g].so |
51 # Please refer to ./makefiles/sa.make |
51 # Please refer to ./makefiles/sa.make |
52 # 2. libsa[_g].so - Native library for SA - This is built after |
52 # 2. libsa[_g].so - Native library for SA - This is built after |
53 # libjsig[_g].so (signal interposition library) |
53 # libjsig[_g].so (signal interposition library) |
54 # Please refer to ./makefiles/vm.make |
54 # Please refer to ./makefiles/vm.make |
55 # If $(GAMMADIR)/agent dir is not present, SA components are not built. |
55 # If $(GAMMADIR)/agent dir is not present, SA components are not built. |
56 |
56 |
57 ifeq ($(GAMMADIR),) |
57 ifeq ($(GAMMADIR),) |
58 include ../../make/defs.make |
58 include ../../make/defs.make |
59 else |
59 else |
60 include $(GAMMADIR)/make/defs.make |
60 include $(GAMMADIR)/make/defs.make |
61 endif |
61 endif |
62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make |
62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make |
63 |
63 |
64 ifndef LP64 |
|
65 ifndef CC_INTERP |
64 ifndef CC_INTERP |
66 FORCE_TIERED=1 |
65 FORCE_TIERED=1 |
67 endif |
|
68 endif |
66 endif |
69 |
67 |
70 ifdef LP64 |
68 ifdef LP64 |
71 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") |
69 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") |
72 _JUNK_ := $(shell echo >&2 \ |
70 _JUNK_ := $(shell echo >&2 \ |