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