mirror of
https://github.com/php/php-src.git
synced 2025-01-10 13:03:54 +08:00
11 lines
449 B
Bash
11 lines
449 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Run this script after updating the bundled sqlite library
|
||
|
|
||
|
cc -o sqlite/tool/lemon sqlite/tool/lemon.c
|
||
|
./sqlite/tool/lemon sqlite/src/parse.y
|
||
|
cat sqlite/src/parse.h sqlite/src/vdbe.c | awk -f sqlite/mkopcodeh.awk > sqlite/src/opcodes.h
|
||
|
sort -n +2 sqlite/src/opcodes.h | awk -f sqlite/mkopcodec.awk > sqlite/src/opcodes.c
|
||
|
cc -o sqlite/tool/mkkeywordhash sqlite/tool/mkkeywordhash.c
|
||
|
./sqlite/tool/mkkeywordhash > sqlite/src/keywordhash.h
|