| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 254 |
| 255 # Replaces the old with the new environment file if they're different, which | 255 # Replaces the old with the new environment file if they're different, which |
| 256 # will trigger GYP to regenerate Makefiles. | 256 # will trigger GYP to regenerate Makefiles. |
| 257 $(ENVFILE): $(ENVFILE).new | 257 $(ENVFILE): $(ENVFILE).new |
| 258 @if test -r $(ENVFILE) && cmp $(ENVFILE).new $(ENVFILE) >/dev/null; \ | 258 @if test -r $(ENVFILE) && cmp $(ENVFILE).new $(ENVFILE) >/dev/null; \ |
| 259 then rm $(ENVFILE).new; \ | 259 then rm $(ENVFILE).new; \ |
| 260 else mv $(ENVFILE).new $(ENVFILE); fi | 260 else mv $(ENVFILE).new $(ENVFILE); fi |
| 261 | 261 |
| 262 # Stores current GYPFLAGS in a file. | 262 # Stores current GYPFLAGS in a file. |
| 263 $(ENVFILE).new: | 263 $(ENVFILE).new: |
| 264 » @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; | 264 » @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
| 265 » echo "CXX=$(CXX)" >> $(ENVFILE).new |
| 265 | 266 |
| 266 # Dependencies. | 267 # Dependencies. |
| 267 dependencies: | 268 dependencies: |
| 268 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 269 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 269 --revision 1282 | 270 --revision 1282 |
| OLD | NEW |