Mercurial > hg > truffle
annotate make/aix/Makefile @ 18711:88c280297bd2
put GeneratedSourcesSha1 into com.oracle.graal.hotspot.sourcegen package
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 18 Dec 2014 13:10:23 +1000 |
parents | 58cf34613a72 |
children | 92aa6797d639 |
rev | line source |
---|---|
14414
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
1 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
3 # Copyright 2012, 2013 SAP AG. All rights reserved. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
5 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
6 # This code is free software; you can redistribute it and/or modify it |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
7 # under the terms of the GNU General Public License version 2 only, as |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
8 # published by the Free Software Foundation. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
9 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
10 # This code is distributed in the hope that it will be useful, but WITHOUT |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
13 # version 2 for more details (a copy is included in the LICENSE file that |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
14 # accompanied this code). |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
15 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
16 # You should have received a copy of the GNU General Public License version |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
17 # 2 along with this work; if not, write to the Free Software Foundation, |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
19 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
21 # or visit www.oracle.com if you need additional information or have any |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
22 # questions. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
23 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
24 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
25 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
26 # This makefile creates a build tree and lights off a build. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
27 # You can go back into the build tree and perform rebuilds or |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
28 # incremental builds as desired. Be sure to reestablish |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
29 # environment variable settings for LD_LIBRARY_PATH and JAVA_HOME. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
30 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
31 # The make process now relies on java and javac. These can be |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
32 # specified either implicitly on the PATH, by setting the |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
33 # (JDK-inherited) ALT_BOOTDIR environment variable to full path to a |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
34 # JDK in which bin/java and bin/javac are present and working (e.g., |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
35 # /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
36 # default BOOTDIR path value. Note that one of ALT_BOOTDIR |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
37 # or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
38 # from the PATH. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
39 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
40 # One can set ALT_BOOTDIR or BOOTDIR to point to a jdk that runs on |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
41 # an architecture that differs from the target architecture, as long |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
42 # as the bootstrap jdk runs under the same flavor of OS as the target |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
43 # (i.e., if the target is linux, point to a jdk that runs on a linux |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
44 # box). In order to use such a bootstrap jdk, set the make variable |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
45 # REMOTE to the desired remote command mechanism, e.g., |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
46 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
47 # make REMOTE="rsh -l me myotherlinuxbox" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
48 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
49 # Along with VM, Serviceability Agent (SA) is built for SA/JDI binding. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
50 # JDI binding on SA produces two binaries: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
51 # 1. sa-jdi.jar - This is built before building libjvm.so |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
52 # Please refer to ./makefiles/sa.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
53 # 2. libsa.so - Native library for SA - This is built after |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
54 # libjsig.so (signal interposition library) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
55 # Please refer to ./makefiles/vm.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
56 # If $(GAMMADIR)/agent dir is not present, SA components are not built. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
57 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
58 # No tests on Aix. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
59 TEST_IN_BUILD=false |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
60 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
61 ifeq ($(GAMMADIR),) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
62 include ../../make/defs.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
63 else |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
64 include $(GAMMADIR)/make/defs.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
65 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
66 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
67 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
68 ifndef CC_INTERP |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
69 ifndef FORCE_TIERED |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
70 FORCE_TIERED=1 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
71 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
72 endif |
14694 | 73 # C1 is not ported on ppc64(le), so we cannot build a tiered VM: |
74 ifneq (,$(filter $(ARCH),ppc64 pp64le)) | |
75 FORCE_TIERED=0 | |
76 endif | |
14414
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
77 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
78 ifdef LP64 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
79 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
80 _JUNK_ := $(shell echo >&2 \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
81 $(OSNAME) $(ARCH) "*** ERROR: this platform does not support 64-bit compilers!") |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
82 @exit 1 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
83 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
84 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
85 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
86 # we need to set up LP64 correctly to satisfy sanity checks in adlc |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
87 ifneq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
88 MFLAGS += " LP64=1 " |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
89 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
90 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
91 # pass USE_SUNCC further, through MFLAGS |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
92 ifdef USE_SUNCC |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
93 MFLAGS += " USE_SUNCC=1 " |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
94 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
95 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
96 # The following renders pathnames in generated Makefiles valid on |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
97 # machines other than the machine containing the build tree. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
98 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
99 # For example, let's say my build tree lives on /files12 on |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
100 # exact.east.sun.com. This logic will cause GAMMADIR to begin with |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
101 # /net/exact/files12/... |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
102 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
103 # We only do this on SunOS variants, for a couple of reasons: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
104 # * It is extremely rare that source trees exist on other systems |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
105 # * It has been claimed that the Linux automounter is flakey, so |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
106 # changing GAMMADIR in a way that exercises the automounter could |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
107 # prove to be a source of unreliability in the build process. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
108 # Obviously, this Makefile is only relevant on SunOS boxes to begin |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
109 # with, but the SunOS conditionalization will make it easier to |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
110 # combine Makefiles in the future (assuming we ever do that). |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
111 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
112 ifeq ($(OSNAME),solaris) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
113 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
114 # prepend current directory to relative pathnames. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
115 NEW_GAMMADIR := \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
116 $(shell echo $(GAMMADIR) | \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
117 sed -e "s=^\([^/].*\)=$(shell pwd)/\1=" \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
118 ) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
119 unexport NEW_GAMMADIR |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
120 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
121 # If NEW_GAMMADIR doesn't already start with "/net/": |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
122 ifeq ($(strip $(filter /net/%,$(NEW_GAMMADIR))),) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
123 # prepend /net/$(HOST) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
124 # remove /net/$(HOST) if name already began with /home/ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
125 # remove /net/$(HOST) if name already began with /java/ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
126 # remove /net/$(HOST) if name already began with /lab/ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
127 NEW_GAMMADIR := \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
128 $(shell echo $(NEW_GAMMADIR) | \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
129 sed -e "s=^\(.*\)=/net/$(HOST)\1=" \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
130 -e "s=^/net/$(HOST)/home/=/home/=" \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
131 -e "s=^/net/$(HOST)/java/=/java/=" \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
132 -e "s=^/net/$(HOST)/lab/=/lab/=" \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
133 ) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
134 # Don't use the new value for GAMMADIR unless a file with the new |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
135 # name actually exists. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
136 ifneq ($(wildcard $(NEW_GAMMADIR)),) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
137 GAMMADIR := $(NEW_GAMMADIR) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
138 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
139 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
140 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
141 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
142 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
143 # BUILDARCH is set to "zero" for Zero builds. VARIANTARCH |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
144 # is used to give the build directories meaningful names. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
145 VARIANTARCH = $(subst i386,i486,$(ZERO_LIBARCH)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
146 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
147 # There is a (semi-) regular correspondence between make targets and actions: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
148 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
149 # Target Tree Type Build Dir |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
150 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
151 # debug compiler2 <os>_<arch>_compiler2/debug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
152 # fastdebug compiler2 <os>_<arch>_compiler2/fastdebug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
153 # optimized compiler2 <os>_<arch>_compiler2/optimized |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
154 # product compiler2 <os>_<arch>_compiler2/product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
155 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
156 # debug1 compiler1 <os>_<arch>_compiler1/debug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
157 # fastdebug1 compiler1 <os>_<arch>_compiler1/fastdebug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
158 # optimized1 compiler1 <os>_<arch>_compiler1/optimized |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
159 # product1 compiler1 <os>_<arch>_compiler1/product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
160 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
161 # debugcore core <os>_<arch>_core/debug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
162 # fastdebugcore core <os>_<arch>_core/fastdebug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
163 # optimizedcore core <os>_<arch>_core/optimized |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
164 # productcore core <os>_<arch>_core/product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
165 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
166 # debugzero zero <os>_<arch>_zero/debug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
167 # fastdebugzero zero <os>_<arch>_zero/fastdebug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
168 # optimizedzero zero <os>_<arch>_zero/optimized |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
169 # productzero zero <os>_<arch>_zero/product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
170 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
171 # debugshark shark <os>_<arch>_shark/debug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
172 # fastdebugshark shark <os>_<arch>_shark/fastdebug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
173 # optimizedshark shark <os>_<arch>_shark/optimized |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
174 # productshark shark <os>_<arch>_shark/product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
175 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
176 # fastdebugminimal1 minimal1 <os>_<arch>_minimal1/fastdebug |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
177 # productminimal1 minimal1 <os>_<arch>_minimal1/product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
178 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
179 # What you get with each target: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
180 # |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
181 # debug* - debug compile with asserts enabled |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
182 # fastdebug* - optimized compile, but with asserts enabled |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
183 # optimized* - optimized compile, no asserts |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
184 # product* - the shippable thing: optimized compile, no asserts, -DPRODUCT |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
185 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
186 # This target list needs to be coordinated with the usage message |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
187 # in the build.sh script: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
188 TARGETS = debug fastdebug optimized product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
189 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
190 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
191 SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
192 else |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
193 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
194 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
195 SUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
196 SUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
197 SUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
198 SUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
199 SUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
200 SUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
201 SUBDIRS_MINIMAL1 = $(addprefix $(OSNAME)_$(BUILDARCH)_minimal1/,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
202 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
203 TARGETS_C2 = $(TARGETS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
204 TARGETS_C1 = $(addsuffix 1,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
205 TARGETS_TIERED = $(addsuffix tiered,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
206 TARGETS_CORE = $(addsuffix core,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
207 TARGETS_ZERO = $(addsuffix zero,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
209 TARGETS_MINIMAL1 = $(addsuffix minimal1,$(TARGETS)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
210 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
211 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
212 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
213 BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
214 BUILDTREE_VARS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS) OBJCOPY=$(OBJCOPY) STRIP_POLICY=$(STRIP_POLICY) ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES) ZIPEXE=$(ZIPEXE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
215 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
216 BUILDTREE = $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_VARS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
217 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
218 #------------------------------------------------------------------------------- |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
219 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
220 # Could make everything by default, but that would take a while. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
221 all: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
222 @echo "Try '$(MAKE) <target> ...' where <target> is one or more of" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
223 @echo " $(TARGETS_C2)" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
224 @echo " $(TARGETS_C1)" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
225 @echo " $(TARGETS_CORE)" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
226 @echo " $(TARGETS_ZERO)" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
227 @echo " $(TARGETS_SHARK)" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
228 @echo " $(TARGETS_MINIMAL1)" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
229 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
230 checks: check_os_version check_j2se_version |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
231 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
232 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x, |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
233 # Solaris 2.5.1, 2.6). |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
234 # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
235 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
236 SUPPORTED_OS_VERSION = AIX |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
237 OS_VERSION := $(shell uname -a) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
238 EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
239 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
240 check_os_version: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
241 ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
242 $(QUIETLY) >&2 echo "*** This OS is not supported:" `uname -a`; exit 1; |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
243 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
244 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
245 # jvmti.make requires XSLT (J2SE 1.4.x or newer): |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
246 XSLT_CHECK = $(REMOTE) $(RUN.JAVAP) javax.xml.transform.TransformerFactory |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
247 # If not found then fail fast. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
248 check_j2se_version: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
249 $(QUIETLY) $(XSLT_CHECK) > /dev/null 2>&1; \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
250 if [ $$? -ne 0 ]; then \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
251 $(REMOTE) $(RUN.JAVA) -version; \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
252 echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
253 "to bootstrap this build" 1>&2; \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
254 exit 1; \ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
255 fi |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
256 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
257 $(SUBDIRS_TIERED): $(BUILDTREE_MAKE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
258 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
259 $(BUILDTREE) VARIANT=tiered |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
260 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
261 $(SUBDIRS_C2): $(BUILDTREE_MAKE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
262 ifeq ($(FORCE_TIERED),1) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
263 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
264 $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
265 else |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
266 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
267 $(BUILDTREE) VARIANT=compiler2 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
268 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
269 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
270 $(SUBDIRS_C1): $(BUILDTREE_MAKE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
271 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
272 $(BUILDTREE) VARIANT=compiler1 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
273 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
274 $(SUBDIRS_CORE): $(BUILDTREE_MAKE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
275 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
276 $(BUILDTREE) VARIANT=core |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
277 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
278 $(SUBDIRS_ZERO): $(BUILDTREE_MAKE) platform_zero |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
279 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
280 $(BUILDTREE) VARIANT=zero VARIANTARCH=$(VARIANTARCH) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
281 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
282 $(SUBDIRS_SHARK): $(BUILDTREE_MAKE) platform_zero |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
283 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
284 $(BUILDTREE) VARIANT=shark VARIANTARCH=$(VARIANTARCH) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
285 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
286 $(SUBDIRS_MINIMAL1): $(BUILDTREE_MAKE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
287 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
288 $(BUILDTREE) VARIANT=minimal1 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
289 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
290 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
291 platform_zero: $(GAMMADIR)/make/$(OSNAME)/platform_zero.in |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
292 $(SED) 's/@ZERO_ARCHDEF@/$(ZERO_ARCHDEF)/g;s/@ZERO_LIBARCH@/$(ZERO_LIBARCH)/g;' < $< > $@ |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
293 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
294 # Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
295 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
296 $(TARGETS_C2): $(SUBDIRS_C2) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
297 cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
298 ifdef INSTALL |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
299 cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) install |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
300 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
301 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
302 $(TARGETS_TIERED): $(SUBDIRS_TIERED) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
303 cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
304 ifdef INSTALL |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
305 cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) install |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
306 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
307 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
308 $(TARGETS_C1): $(SUBDIRS_C1) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
309 cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
310 ifdef INSTALL |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
311 cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) install |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
312 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
313 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
314 $(TARGETS_CORE): $(SUBDIRS_CORE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
315 cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
316 ifdef INSTALL |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
317 cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) install |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
318 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
319 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
320 $(TARGETS_ZERO): $(SUBDIRS_ZERO) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
321 cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
322 ifdef INSTALL |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
323 cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) install |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
324 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
325 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
326 $(TARGETS_SHARK): $(SUBDIRS_SHARK) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
327 cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
328 ifdef INSTALL |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
329 cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) install |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
330 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
331 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
332 $(TARGETS_MINIMAL1): $(SUBDIRS_MINIMAL1) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
333 cd $(OSNAME)_$(BUILDARCH)_minimal1/$(patsubst %minimal1,%,$@) && $(MAKE) $(MFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
334 ifdef INSTALL |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
335 cd $(OSNAME)_$(BUILDARCH)_minimal1/$(patsubst %minimal1,%,$@) && $(MAKE) $(MFLAGS) install |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
336 endif |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
337 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
338 # Just build the tree, and nothing else: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
339 tree: $(SUBDIRS_C2) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
340 tree1: $(SUBDIRS_C1) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
341 treecore: $(SUBDIRS_CORE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
342 treezero: $(SUBDIRS_ZERO) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
343 treeshark: $(SUBDIRS_SHARK) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
344 treeminimal1: $(SUBDIRS_MINIMAL1) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
345 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
346 # Doc target. This is the same for all build options. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
347 # Hence create a docs directory beside ...$(ARCH)_[...] |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
348 # We specify 'BUILD_FLAVOR=product' so that the proper |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
349 # ENABLE_FULL_DEBUG_SYMBOLS value is used. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
350 docs: checks |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
351 $(QUIETLY) mkdir -p $(SUBDIR_DOCS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
352 $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) BUILD_FLAVOR=product jvmtidocs |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
353 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
354 # Synonyms for win32-like targets. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
355 compiler2: debug product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
356 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
357 compiler1: debug1 product1 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
358 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
359 core: debugcore productcore |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
360 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
361 zero: debugzero productzero |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
362 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
363 shark: debugshark productshark |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
364 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
365 clean_docs: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
366 rm -rf $(SUBDIR_DOCS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
367 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
368 clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark clean_minimal1: |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
369 rm -rf $(OSNAME)_$(BUILDARCH)_$(subst clean_,,$@) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
370 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
371 clean: clean_compiler2 clean_compiler1 clean_core clean_zero clean_shark clean_minimal1 clean_docs |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
372 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
373 include $(GAMMADIR)/make/cscope.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
374 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
375 #------------------------------------------------------------------------------- |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
376 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
377 .PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO) $(TARGETS_SHARK) $(TARGETS_MINIMAL1) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
378 .PHONY: tree tree1 treecore treezero treeshark |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
379 .PHONY: all compiler1 compiler2 core zero shark |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
380 .PHONY: clean clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark docs clean_docs |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
381 .PHONY: checks check_os_version check_j2se_version |