comparison make/solaris/Makefile @ 1783:d5d065957597

6953144: Tiered compilation Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation. Reviewed-by: kvn, never, phh, twisti
author iveresov
date Fri, 03 Sep 2010 17:51:07 -0700
parents c18cbe5936b8
children 34bd82eba3bb
comparison
equal deleted inserted replaced
1782:f353275af40e 1783:d5d065957597
1 # 1 #
2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
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
34 # /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited) 34 # /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited)
35 # default BOOTDIR path value. Note that one of ALT_BOOTDIR 35 # default BOOTDIR path value. Note that one of ALT_BOOTDIR
36 # or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc. 36 # or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc.
37 # from the PATH. 37 # from the PATH.
38 38
39 # Along with VM, Serviceability Agent (SA) is built for SA/JDI binding. 39 # Along with VM, Serviceability Agent (SA) is built for SA/JDI binding.
40 # JDI binding on SA produces two binaries: 40 # JDI binding on SA produces two binaries:
41 # 1. sa-jdi.jar - This is build before building libjvm[_g].so 41 # 1. sa-jdi.jar - This is build before building libjvm[_g].so
42 # Please refer to ./makefiles/sa.make 42 # Please refer to ./makefiles/sa.make
43 # 2. libsaproc[_g].so - Native library for SA - This is built after 43 # 2. libsaproc[_g].so - Native library for SA - This is built after
44 # libjsig[_g].so (signal interposition library) 44 # libjsig[_g].so (signal interposition library)
45 # Please refer to ./makefiles/vm.make 45 # Please refer to ./makefiles/vm.make
46 # If $(GAMMADIR)/agent dir is not present, SA components are not built. 46 # If $(GAMMADIR)/agent dir is not present, SA components are not built.
47 47
48 ifeq ($(GAMMADIR),) 48 ifeq ($(GAMMADIR),)
49 include ../../make/defs.make 49 include ../../make/defs.make
50 else 50 else
51 include $(GAMMADIR)/make/defs.make 51 include $(GAMMADIR)/make/defs.make
52 endif 52 endif
53 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make 53 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
54 54
55 ifndef LP64
56 ifndef CC_INTERP 55 ifndef CC_INTERP
57 FORCE_TIERED=1 56 FORCE_TIERED=1
58 endif
59 endif 57 endif
60 58
61 ifdef LP64 59 ifdef LP64
62 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") 60 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
63 _JUNK_ := $(shell echo >&2 \ 61 _JUNK_ := $(shell echo >&2 \