Mercurial > hg > graal-jvmci-8
comparison make/bsd/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 | 096c224171c4 |
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 | 169 # debugminimal1 minimal1 <os>_<arch>_minimal1/debug |
180 # productminimal1 minimal1 <os>_<arch>_minimal1/product | 170 # productminimal1 minimal1 <os>_<arch>_minimal1/product |
181 # | 171 # |
182 # What you get with each target: | 172 # What you get with each target: |
183 # | 173 # |
184 # debug* - "thin" libjvm - debug info linked into the gamma launcher | 174 # debug* - debug compile with asserts enabled |
185 # fastdebug* - optimized compile, but with asserts enabled | 175 # fastdebug* - optimized compile, but with asserts enabled |
186 # jvmg* - "fat" libjvm - debug info linked into libjvm.so | |
187 # optimized* - optimized compile, no asserts | 176 # optimized* - optimized compile, no asserts |
188 # profiled* - gprof | |
189 # product* - the shippable thing: optimized compile, no asserts, -DPRODUCT | 177 # product* - the shippable thing: optimized compile, no asserts, -DPRODUCT |
190 | 178 |
191 # This target list needs to be coordinated with the usage message | 179 # This target list needs to be coordinated with the usage message |
192 # in the build.sh script: | 180 # in the build.sh script: |
193 TARGETS = debug jvmg fastdebug optimized profiled product | 181 TARGETS = debug fastdebug optimized product |
194 | 182 |
195 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) | 183 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) |
196 SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs | 184 SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs |
197 else | 185 else |
198 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs | 186 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs |
366 docs: checks | 354 docs: checks |
367 $(QUIETLY) mkdir -p $(SUBDIR_DOCS) | 355 $(QUIETLY) mkdir -p $(SUBDIR_DOCS) |
368 $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs | 356 $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs |
369 | 357 |
370 # Synonyms for win32-like targets. | 358 # Synonyms for win32-like targets. |
371 compiler2: jvmg product | 359 compiler2: debug product |
372 | 360 |
373 compiler1: jvmg1 product1 | 361 compiler1: debug1 product1 |
374 | 362 |
375 core: jvmgcore productcore | 363 core: debugcore productcore |
376 | 364 |
377 zero: jvmgzero productzero | 365 zero: debugzero productzero |
378 | 366 |
379 shark: jvmgshark productshark | 367 shark: debugshark productshark |
368 | |
369 warn_jvmg_deprecated: | |
370 echo "Warning: The jvmg target has been replaced with debug" | |
371 echo "Warning: Please update your usage" | |
372 | |
373 jvmg: warn_jvmg_deprecated debug | |
374 | |
375 jvmg1: warn_jvmg_deprecated debug1 | |
376 | |
377 jvmgcore: warn_jvmg_deprecated debugcore | |
378 | |
379 jvmgzero: warn_jvmg_deprecated debugzero | |
380 | |
381 jvmgshark: warn_jvmg_deprecated debugshark | |
380 | 382 |
381 clean_docs: | 383 clean_docs: |
382 rm -rf $(SUBDIR_DOCS) | 384 rm -rf $(SUBDIR_DOCS) |
383 | 385 |
384 clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark clean_minimal1: | 386 clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark clean_minimal1: |