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 26 matching lines...) Expand all Loading... |
37 | 37 |
38 # Special build flags. Use them like this: "make library=shared" | 38 # Special build flags. Use them like this: "make library=shared" |
39 | 39 |
40 # library=shared || component=shared_library | 40 # library=shared || component=shared_library |
41 ifeq ($(library), shared) | 41 ifeq ($(library), shared) |
42 GYPFLAGS += -Dcomponent=shared_library | 42 GYPFLAGS += -Dcomponent=shared_library |
43 endif | 43 endif |
44 ifdef component | 44 ifdef component |
45 GYPFLAGS += -Dcomponent=$(component) | 45 GYPFLAGS += -Dcomponent=$(component) |
46 endif | 46 endif |
47 # console=readline | |
48 ifdef console | |
49 GYPFLAGS += -Dconsole=$(console) | |
50 endif | |
51 # disassembler=on | 47 # disassembler=on |
52 ifeq ($(disassembler), on) | 48 ifeq ($(disassembler), on) |
53 GYPFLAGS += -Dv8_enable_disassembler=1 | 49 GYPFLAGS += -Dv8_enable_disassembler=1 |
54 endif | 50 endif |
55 # objectprint=on | 51 # objectprint=on |
56 ifeq ($(objectprint), on) | 52 ifeq ($(objectprint), on) |
57 GYPFLAGS += -Dv8_object_print=1 | 53 GYPFLAGS += -Dv8_object_print=1 |
58 endif | 54 endif |
59 # verifyheap=on | 55 # verifyheap=on |
60 ifeq ($(verifyheap), on) | 56 ifeq ($(verifyheap), on) |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 # We need to manually set the stack limit here, to work around bugs in | 486 # We need to manually set the stack limit here, to work around bugs in |
491 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 487 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
492 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 488 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
493 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 489 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
494 | 490 |
495 gtags.clean: | 491 gtags.clean: |
496 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 492 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
497 | 493 |
498 dependencies builddeps: | 494 dependencies builddeps: |
499 $(error Use 'gclient sync' instead) | 495 $(error Use 'gclient sync' instead) |
OLD | NEW |