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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 225 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
226 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 226 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
227 # - "check": build all targets and run all tests | 227 # - "check": build all targets and run all tests |
228 # - "<arch>.clean" for any <arch> in ARCHES | 228 # - "<arch>.clean" for any <arch> in ARCHES |
229 # - "clean": clean all ARCHES | 229 # - "clean": clean all ARCHES |
230 | 230 |
231 # ----------------- internal stuff ------------------------ | 231 # ----------------- internal stuff ------------------------ |
232 | 232 |
233 # Architectures and modes to be compiled. Consider these to be internal | 233 # Architectures and modes to be compiled. Consider these to be internal |
234 # variables, don't override them (use the targets instead). | 234 # variables, don't override them (use the targets instead). |
235 ARCHES = ia32 x64 arm arm64 mipsel | 235 ARCHES = ia32 x64 arm arm64 mips mipsel |
236 DEFAULT_ARCHES = ia32 x64 arm | 236 DEFAULT_ARCHES = ia32 x64 arm |
237 MODES = release debug optdebug | 237 MODES = release debug optdebug |
238 DEFAULT_MODES = release debug | 238 DEFAULT_MODES = release debug |
239 ANDROID_ARCHES = android_ia32 android_arm android_arm64 android_mipsel | 239 ANDROID_ARCHES = android_ia32 android_arm android_arm64 android_mipsel |
240 NACL_ARCHES = nacl_ia32 nacl_x64 | 240 NACL_ARCHES = nacl_ia32 nacl_x64 |
241 | 241 |
242 # List of files that trigger Makefile regeneration: | 242 # List of files that trigger Makefile regeneration: |
243 GYPFILES = build/all.gyp build/features.gypi build/standalone.gypi \ | 243 GYPFILES = build/all.gyp build/features.gypi build/standalone.gypi \ |
244 build/toolchain.gypi samples/samples.gyp src/d8.gyp \ | 244 build/toolchain.gypi samples/samples.gyp src/d8.gyp \ |
245 test/cctest/cctest.gyp tools/gyp/v8.gyp | 245 test/cctest/cctest.gyp tools/gyp/v8.gyp |
(...skipping 28 matching lines...) Expand all Loading... |
274 | 274 |
275 # Target definitions. "all" is the default. | 275 # Target definitions. "all" is the default. |
276 all: $(DEFAULT_MODES) | 276 all: $(DEFAULT_MODES) |
277 | 277 |
278 # Special target for the buildbots to use. Depends on $(OUTDIR)/Makefile | 278 # Special target for the buildbots to use. Depends on $(OUTDIR)/Makefile |
279 # having been created before. | 279 # having been created before. |
280 buildbot: | 280 buildbot: |
281 $(MAKE) -C "$(OUTDIR)" BUILDTYPE=$(BUILDTYPE) \ | 281 $(MAKE) -C "$(OUTDIR)" BUILDTYPE=$(BUILDTYPE) \ |
282 builddir="$(abspath $(OUTDIR))/$(BUILDTYPE)" | 282 builddir="$(abspath $(OUTDIR))/$(BUILDTYPE)" |
283 | 283 |
284 mips mips.release mips.debug: | |
285 @echo "V8 does not support big-endian MIPS builds at the moment," \ | |
286 "please use little-endian builds (mipsel)." | |
287 | |
288 # Compile targets. MODES and ARCHES are convenience targets. | 284 # Compile targets. MODES and ARCHES are convenience targets. |
289 .SECONDEXPANSION: | 285 .SECONDEXPANSION: |
290 $(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES)) | 286 $(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES)) |
291 | 287 |
292 $(ARCHES): $(addprefix $$@.,$(DEFAULT_MODES)) | 288 $(ARCHES): $(addprefix $$@.,$(DEFAULT_MODES)) |
293 | 289 |
294 # Defines how to build a particular target (e.g. ia32.release). | 290 # Defines how to build a particular target (e.g. ia32.release). |
295 $(BUILDS): $(OUTDIR)/Makefile.$$@ | 291 $(BUILDS): $(OUTDIR)/Makefile.$$@ |
296 @$(MAKE) -C "$(OUTDIR)" -f Makefile.$@ \ | 292 @$(MAKE) -C "$(OUTDIR)" -f Makefile.$@ \ |
297 CXX="$(CXX)" LINK="$(LINK)" \ | 293 CXX="$(CXX)" LINK="$(LINK)" \ |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 476 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
481 | 477 |
482 # Dependencies. | 478 # Dependencies. |
483 # Remember to keep these in sync with the DEPS file. | 479 # Remember to keep these in sync with the DEPS file. |
484 dependencies: | 480 dependencies: |
485 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 481 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
486 --revision 1831 | 482 --revision 1831 |
487 svn checkout --force \ | 483 svn checkout --force \ |
488 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 484 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
489 third_party/icu --revision 258359 | 485 third_party/icu --revision 258359 |
OLD | NEW |