| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # | 2 # |
| 3 # Copyright 2007 Google Inc. All Rights Reserved. | 3 # Copyright 2011 Google Inc. All Rights Reserved. |
| 4 # Author: shess@google.com (Scott Hess) | 4 # Author: shess@chromium.org (Scott Hess) |
| 5 # TODO(shess): This notice needs updating. |
| 5 | 6 |
| 6 cd src | 7 cd src |
| 7 | 8 |
| 8 mkdir bld | 9 mkdir bld |
| 9 cd bld | 10 cd bld |
| 10 ../configure | 11 ../configure |
| 11 FILES="keywordhash.h opcodes.c opcodes.h parse.c parse.h sqlite3.h" | 12 FILES="sqlite3.h sqlite3.c" |
| 12 OPTS="" | 13 OPTS="" |
| 13 # These options should match those in ../../tools/config.mk. | 14 # These options should match those in sqlite.gyp. |
| 14 OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1" | 15 OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1" |
| 15 make "OPTS=$OPTS" $FILES | 16 make "OPTS=$OPTS" $FILES |
| 16 cp -f $FILES ../../preprocessed | 17 cp -f $FILES ../../amalgamation |
| 17 | 18 |
| 18 cd .. | 19 cd .. |
| 19 rm -rf bld | 20 rm -rf bld |
| 20 | 21 |
| 21 # TODO(shess) I can't find config.h, which exists in the original | 22 # TODO(shess) I can't find config.h, which exists in the original |
| 22 # third_party/sqlite/ directory. I also haven't found a client of it, | 23 # third_party/sqlite/ directory. I also haven't found a client of it, |
| 23 # yet, so maybe it's not a file we need. | 24 # yet, so maybe it's not a file we need. |
| OLD | NEW |