Mercurial > hg > truffle
comparison make/linux/Makefile @ 9159:43223d3f5dcd
Merge with hsx/hotspot-comp
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 16 Apr 2013 17:39:46 +0200 |
parents | b9a918201d47 f36e073d56a4 |
children | b51e29501f30 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
9158:9d74a0d7b231 | 9159:43223d3f5dcd |
---|---|
1 # | 1 # |
2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 1999, 2013, 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. |
140 # | 140 # |
141 # Target Tree Type Build Dir | 141 # Target Tree Type Build Dir |
142 # | 142 # |
143 # debug compiler2 <os>_<arch>_compiler2/debug | 143 # debug compiler2 <os>_<arch>_compiler2/debug |
144 # fastdebug compiler2 <os>_<arch>_compiler2/fastdebug | 144 # fastdebug compiler2 <os>_<arch>_compiler2/fastdebug |
145 # jvmg compiler2 <os>_<arch>_compiler2/jvmg | |
146 # optimized compiler2 <os>_<arch>_compiler2/optimized | 145 # optimized compiler2 <os>_<arch>_compiler2/optimized |
147 # profiled compiler2 <os>_<arch>_compiler2/profiled | |
148 # product compiler2 <os>_<arch>_compiler2/product | 146 # product compiler2 <os>_<arch>_compiler2/product |
149 # | 147 # |
150 # debug1 compiler1 <os>_<arch>_compiler1/debug | 148 # debug1 compiler1 <os>_<arch>_compiler1/debug |
151 # fastdebug1 compiler1 <os>_<arch>_compiler1/fastdebug | 149 # fastdebug1 compiler1 <os>_<arch>_compiler1/fastdebug |
152 # jvmg1 compiler1 <os>_<arch>_compiler1/jvmg | |
153 # optimized1 compiler1 <os>_<arch>_compiler1/optimized | 150 # optimized1 compiler1 <os>_<arch>_compiler1/optimized |
154 # profiled1 compiler1 <os>_<arch>_compiler1/profiled | |
155 # product1 compiler1 <os>_<arch>_compiler1/product | 151 # product1 compiler1 <os>_<arch>_compiler1/product |
156 # | 152 # |
157 # debugcore core <os>_<arch>_core/debug | 153 # debugcore core <os>_<arch>_core/debug |
158 # fastdebugcore core <os>_<arch>_core/fastdebug | 154 # fastdebugcore core <os>_<arch>_core/fastdebug |
159 # jvmgcore core <os>_<arch>_core/jvmg | |
160 # optimizedcore core <os>_<arch>_core/optimized | 155 # optimizedcore core <os>_<arch>_core/optimized |
161 # profiledcore core <os>_<arch>_core/profiled | |
162 # productcore core <os>_<arch>_core/product | 156 # productcore core <os>_<arch>_core/product |
163 # | 157 # |
164 # debugzero zero <os>_<arch>_zero/debug | 158 # debugzero zero <os>_<arch>_zero/debug |
165 # fastdebugzero zero <os>_<arch>_zero/fastdebug | 159 # fastdebugzero zero <os>_<arch>_zero/fastdebug |
166 # jvmgzero zero <os>_<arch>_zero/jvmg | |
167 # optimizedzero zero <os>_<arch>_zero/optimized | 160 # optimizedzero zero <os>_<arch>_zero/optimized |
168 # profiledzero zero <os>_<arch>_zero/profiled | |
169 # productzero zero <os>_<arch>_zero/product | 161 # productzero zero <os>_<arch>_zero/product |
170 # | 162 # |
171 # debugshark shark <os>_<arch>_shark/debug | 163 # debugshark shark <os>_<arch>_shark/debug |
172 # fastdebugshark shark <os>_<arch>_shark/fastdebug | 164 # fastdebugshark shark <os>_<arch>_shark/fastdebug |
173 # jvmgshark shark <os>_<arch>_shark/jvmg | |
174 # optimizedshark shark <os>_<arch>_shark/optimized | 165 # optimizedshark shark <os>_<arch>_shark/optimized |
175 # profiledshark shark <os>_<arch>_shark/profiled | |
176 # productshark shark <os>_<arch>_shark/product | 166 # productshark shark <os>_<arch>_shark/product |
177 # | 167 # |
178 # fastdebugminimal1 minimal1 <os>_<arch>_minimal1/fastdebug | 168 # fastdebugminimal1 minimal1 <os>_<arch>_minimal1/fastdebug |
179 # jvmgminimal1 minimal1 <os>_<arch>_minimal1/jvmg | |
180 # productminimal1 minimal1 <os>_<arch>_minimal1/product | 169 # productminimal1 minimal1 <os>_<arch>_minimal1/product |
181 # | 170 # |
182 # What you get with each target: | 171 # What you get with each target: |
183 # | 172 # |
184 # debug* - "thin" libjvm - debug info linked into the gamma launcher | 173 # debug* - debug compile with asserts enabled |
185 # fastdebug* - optimized compile, but with asserts enabled | 174 # fastdebug* - optimized compile, but with asserts enabled |
186 # jvmg* - "fat" libjvm - debug info linked into libjvm.so | |
187 # optimized* - optimized compile, no asserts | 175 # optimized* - optimized compile, no asserts |
188 # profiled* - gprof | |
189 # product* - the shippable thing: optimized compile, no asserts, -DPRODUCT | 176 # product* - the shippable thing: optimized compile, no asserts, -DPRODUCT |
190 | 177 |
191 # This target list needs to be coordinated with the usage message | 178 # This target list needs to be coordinated with the usage message |
192 # in the build.sh script: | 179 # in the build.sh script: |
193 TARGETS = debug jvmg fastdebug optimized profiled product | 180 TARGETS = debug fastdebug optimized product |
194 | 181 |
195 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) | 182 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) |
196 SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs | 183 SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs |
197 else | 184 else |
198 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs | 185 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs |
368 docs: checks | 355 docs: checks |
369 $(QUIETLY) mkdir -p $(SUBDIR_DOCS) | 356 $(QUIETLY) mkdir -p $(SUBDIR_DOCS) |
370 $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) BUILD_FLAVOR=product jvmtidocs | 357 $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) BUILD_FLAVOR=product jvmtidocs |
371 | 358 |
372 # Synonyms for win32-like targets. | 359 # Synonyms for win32-like targets. |
373 compiler2: jvmg product | 360 compiler2: debug product |
374 | 361 |
375 compiler1: jvmg1 product1 | 362 compiler1: debug1 product1 |
376 | 363 |
377 core: jvmgcore productcore | 364 core: debugcore productcore |
378 | 365 |
379 zero: jvmgzero productzero | 366 zero: debugzero productzero |
380 | 367 |
381 shark: jvmgshark productshark | 368 shark: debugshark productshark |
369 | |
370 warn_jvmg_deprecated: | |
371 echo "Warning: The jvmg target has been replaced with debug" | |
372 echo "Warning: Please update your usage" | |
373 | |
374 jvmg: warn_jvmg_deprecated debug | |
375 | |
376 jvmg1: warn_jvmg_deprecated debug1 | |
377 | |
378 jvmgcore: warn_jvmg_deprecated debugcore | |
379 | |
380 jvmgzero: warn_jvmg_deprecated debugzero | |
381 | |
382 jvmgshark: warn_jvmg_deprecated debugshark | |
382 | 383 |
383 clean_docs: | 384 clean_docs: |
384 rm -rf $(SUBDIR_DOCS) | 385 rm -rf $(SUBDIR_DOCS) |
385 | 386 |
386 clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark clean_graal clean_minimal1: | 387 clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark clean_graal clean_minimal1: |