Mercurial > hg > truffle
annotate make/aix/makefiles/product.make @ 18610:6a6291c31657
Add LocationMarker.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Wed, 03 Dec 2014 20:40:30 +0100 |
parents | b83f7d608548 |
children |
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 # Sets make macros for making optimized version of Gamma VM |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
27 # (This is the "product", not the "release" version.) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
28 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
29 # Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
30 OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
31 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@)) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
32 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
33 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
34 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
35 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
36 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
37 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
38 # Set the environment variable HOTSPARC_GENERIC to "true" |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
39 # to inhibit the effect of the previous line on CFLAGS. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
40 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
41 # Linker mapfile |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
42 MAPFILE = $(GAMMADIR)/make/aix/makefiles/mapfile-vers-product |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
43 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
44 # Remove ipa linkage altogether. Does not seem to benfit performance, but increases code footprint. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
45 LFLAGS_QIPA= |
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 SYSDEFS += -DPRODUCT |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
48 VERSION = optimized |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
49 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
50 # use -g to strip library as -x will discard its symbol table; -x is fine for |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
51 # executables. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
52 # Note: these macros are not used in .debuginfo configs |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
53 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1; |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
54 STRIP_AOUT = $(STRIP) -x $@ || exit 1; |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
55 |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
56 # If we can create .debuginfo files, then the VM is stripped in vm.make |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
57 # and this macro is not used. |
b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff
changeset
|
58 # LINK_LIB.CXX/POST_HOOK += $(STRIP_$(LINK_INTO)) |