OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 builddir="$(abspath $(OUTDIR))/$(BUILDTYPE)" | 266 builddir="$(abspath $(OUTDIR))/$(BUILDTYPE)" |
267 | 267 |
268 mips mips.release mips.debug: | 268 mips mips.release mips.debug: |
269 @echo "V8 does not support big-endian MIPS builds at the moment," \ | 269 @echo "V8 does not support big-endian MIPS builds at the moment," \ |
270 "please use little-endian builds (mipsel)." | 270 "please use little-endian builds (mipsel)." |
271 | 271 |
272 # Compile targets. MODES and ARCHES are convenience targets. | 272 # Compile targets. MODES and ARCHES are convenience targets. |
273 .SECONDEXPANSION: | 273 .SECONDEXPANSION: |
274 $(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES)) | 274 $(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES)) |
275 | 275 |
276 $(ARCHES): $(addprefix $$@.,$(MODES)) | 276 $(ARCHES): $(addprefix $$@.,$(DEFAULT_MODES)) |
277 | 277 |
278 # Defines how to build a particular target (e.g. ia32.release). | 278 # Defines how to build a particular target (e.g. ia32.release). |
279 $(BUILDS): $(OUTDIR)/Makefile.$$@ | 279 $(BUILDS): $(OUTDIR)/Makefile.$$@ |
280 @$(MAKE) -C "$(OUTDIR)" -f Makefile.$@ \ | 280 @$(MAKE) -C "$(OUTDIR)" -f Makefile.$@ \ |
281 CXX="$(CXX)" LINK="$(LINK)" \ | 281 CXX="$(CXX)" LINK="$(LINK)" \ |
282 BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \ | 282 BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \ |
283 python -c "print \ | 283 python -c "print \ |
284 raw_input().replace('opt', '').capitalize()") \ | 284 raw_input().replace('opt', '').capitalize()") \ |
285 builddir="$(shell pwd)/$(OUTDIR)/$@" | 285 builddir="$(shell pwd)/$(OUTDIR)/$@" |
286 | 286 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 quickcheck: $(subst $(COMMA),$(SPACE),$(FASTTESTMODES)) | 361 quickcheck: $(subst $(COMMA),$(SPACE),$(FASTTESTMODES)) |
362 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 362 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
363 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck | 363 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck |
364 qc: quickcheck | 364 qc: quickcheck |
365 | 365 |
366 # Clean targets. You can clean each architecture individually, or everything. | 366 # Clean targets. You can clean each architecture individually, or everything. |
367 $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)): | 367 $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)): |
368 rm -f $(OUTDIR)/Makefile.$(basename $@)* | 368 rm -f $(OUTDIR)/Makefile.$(basename $@)* |
369 rm -rf $(OUTDIR)/$(basename $@).release | 369 rm -rf $(OUTDIR)/$(basename $@).release |
370 rm -rf $(OUTDIR)/$(basename $@).debug | 370 rm -rf $(OUTDIR)/$(basename $@).debug |
| 371 rm -rf $(OUTDIR)/$(basename $@).optdebug |
371 find $(OUTDIR) -regex '.*\(host\|target\)\.$(basename $@).*\.mk' -delete | 372 find $(OUTDIR) -regex '.*\(host\|target\)\.$(basename $@).*\.mk' -delete |
372 | 373 |
373 native.clean: | 374 native.clean: |
374 rm -f $(OUTDIR)/Makefile.native | 375 rm -f $(OUTDIR)/Makefile.native |
375 rm -rf $(OUTDIR)/native | 376 rm -rf $(OUTDIR)/native |
376 find $(OUTDIR) -regex '.*\(host\|target\)\.native\.mk' -delete | 377 find $(OUTDIR) -regex '.*\(host\|target\)\.native\.mk' -delete |
377 | 378 |
378 clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl
ean | 379 clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl
ean |
379 | 380 |
380 # GYP file generation targets. | 381 # GYP file generation targets. |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) | 433 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) |
433 | 434 |
434 # Dependencies. | 435 # Dependencies. |
435 # Remember to keep these in sync with the DEPS file. | 436 # Remember to keep these in sync with the DEPS file. |
436 dependencies: | 437 dependencies: |
437 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 438 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
438 --revision 1685 | 439 --revision 1685 |
439 svn checkout --force \ | 440 svn checkout --force \ |
440 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 441 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
441 third_party/icu --revision 214189 | 442 third_party/icu --revision 214189 |
OLD | NEW |