OLD | NEW |
1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 # liveobjectlist=on | 61 # liveobjectlist=on |
62 ifeq ($(liveobjectlist), on) | 62 ifeq ($(liveobjectlist), on) |
63 GYPFLAGS += -Dv8_use_liveobjectlist=true | 63 GYPFLAGS += -Dv8_use_liveobjectlist=true |
64 endif | 64 endif |
65 # vfp3=off | 65 # vfp3=off |
66 ifeq ($(vfp3), off) | 66 ifeq ($(vfp3), off) |
67 GYPFLAGS += -Dv8_can_use_vfp_instructions=false | 67 GYPFLAGS += -Dv8_can_use_vfp_instructions=false |
68 else | 68 else |
69 GYPFLAGS += -Dv8_can_use_vfp_instructions=true | 69 GYPFLAGS += -Dv8_can_use_vfp_instructions=true |
70 endif | 70 endif |
| 71 # soname_version=1.2.3 |
| 72 ifdef soname_version |
| 73 GYPFLAGS += -Dsoname_version=$(soname_version) |
| 74 endif |
71 | 75 |
72 # ----------------- available targets: -------------------- | 76 # ----------------- available targets: -------------------- |
73 # - "dependencies": pulls in external dependencies (currently: GYP) | 77 # - "dependencies": pulls in external dependencies (currently: GYP) |
74 # - any arch listed in ARCHES (see below) | 78 # - any arch listed in ARCHES (see below) |
75 # - any mode listed in MODES | 79 # - any mode listed in MODES |
76 # - every combination <arch>.<mode>, e.g. "ia32.release" | 80 # - every combination <arch>.<mode>, e.g. "ia32.release" |
77 # - any of the above with .check appended, e.g. "ia32.release.check" | 81 # - any of the above with .check appended, e.g. "ia32.release.check" |
78 # - default (no target specified): build all ARCHES and MODES | 82 # - default (no target specified): build all ARCHES and MODES |
79 # - "check": build all targets and run all tests | 83 # - "check": build all targets and run all tests |
80 # - "<arch>.clean" for any <arch> in ARCHES | 84 # - "<arch>.clean" for any <arch> in ARCHES |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 else mv $(ENVFILE).new $(ENVFILE); fi | 173 else mv $(ENVFILE).new $(ENVFILE); fi |
170 | 174 |
171 # Stores current GYPFLAGS in a file. | 175 # Stores current GYPFLAGS in a file. |
172 $(ENVFILE).new: | 176 $(ENVFILE).new: |
173 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; | 177 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; |
174 | 178 |
175 # Dependencies. | 179 # Dependencies. |
176 dependencies: | 180 dependencies: |
177 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 181 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
178 --revision 1026 | 182 --revision 1026 |
OLD | NEW |