sauce = ''' alter analyze appendvfs attach auth backup bitvec btmutex btree build callback complete completion ctime date dbdata dbpage dbstat decimal delete expr fault fileio fkey fts3 fts3_aux fts3_expr fts3_hash fts3_icu fts3_porter fts3_snippet fts3_tokenize_vtab fts3_tokenizer fts3_tokenizer1 fts3_unicode fts3_unicode2 fts3_write fts5 func global hash icu ieee754 insert json legacy loadext main malloc mem0 mem1 mem2 mem3 mem5 memdb memjournal memtrace mutex mutex_noop mutex_unix notify opcodes os os_unix os_win pager parse pcache pcache1 pragma prepare printf random resolve rowset rtree select series shathree shell sqlar sqlite3expert sqlite3rbu sqlite3session status stmt table threads tokenize treeview trigger uint update upsert userauth utf util vacuum vdbe vdbeapi vdbeaux vdbeblob vdbemem vdbesort vdbetrace vdbevtab vtab wal walker where wherecode whereexpr window zipfile '''.split() for s in sauce: with open('third_party/sqlite3/%s.shell.c' % (s), 'w') as f: f.write('#include "third_party/sqlite3/%s.c"\n' % (s))