Artifact
af15e89c810547dc18d23020451e2d75effaf21c:
- File
main.mk
— part of check-in
[4ada023c]
at
2016-08-04 01:47:01
on branch unknown-function
— Add an experimental SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option.
This changes has been merged into main branches via cherry-pick.
(user:
drh
size: 29596)
[more...]
0000: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
0010: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
0020: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
0030: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
0040: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 0a ###############.
0050: 23 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 # The following
0060: 6d 61 63 72 6f 73 20 73 68 6f 75 6c 64 20 62 65 macros should be
0070: 20 64 65 66 69 6e 65 64 20 62 65 66 6f 72 65 20 defined before
0080: 74 68 69 73 20 73 63 72 69 70 74 20 69 73 0a 23 this script is.#
0090: 20 69 6e 76 6f 6b 65 64 3a 0a 23 0a 23 20 54 4f invoked:.#.# TO
00a0: 50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 P T
00b0: 68 65 20 74 6f 70 6c 65 76 65 6c 20 64 69 72 65 he toplevel dire
00c0: 63 74 6f 72 79 20 6f 66 20 74 68 65 20 73 6f 75 ctory of the sou
00d0: 72 63 65 20 74 72 65 65 2e 20 20 54 68 69 73 20 rce tree. This
00e0: 69 73 20 74 68 65 0a 23 20 20 20 20 20 20 20 20 is the.#
00f0: 20 20 20 20 20 20 20 20 20 20 64 69 72 65 63 74 direct
0100: 6f 72 79 20 74 68 61 74 20 63 6f 6e 74 61 69 6e ory that contain
0110: 73 20 74 68 69 73 20 22 4d 61 6b 65 66 69 6c 65 s this "Makefile
0120: 2e 69 6e 22 20 61 6e 64 20 74 68 65 0a 23 20 20 .in" and the.#
0130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0140: 22 63 6f 6e 66 69 67 75 72 65 2e 69 6e 22 20 73 "configure.in" s
0150: 63 72 69 70 74 2e 0a 23 0a 23 20 42 43 43 20 20 cript..#.# BCC
0160: 20 20 20 20 20 20 20 20 20 20 20 20 43 20 43 6f C Co
0170: 6d 70 69 6c 65 72 20 61 6e 64 20 6f 70 74 69 6f mpiler and optio
0180: 6e 73 20 66 6f 72 20 75 73 65 20 69 6e 20 62 75 ns for use in bu
0190: 69 6c 64 69 6e 67 20 65 78 65 63 75 74 61 62 6c ilding executabl
01a0: 65 73 20 74 68 61 74 0a 23 20 20 20 20 20 20 20 es that.#
01b0: 20 20 20 20 20 20 20 20 20 20 20 77 69 6c 6c 20 will
01c0: 72 75 6e 20 6f 6e 20 74 68 65 20 70 6c 61 74 66 run on the platf
01d0: 6f 72 6d 20 74 68 61 74 20 69 73 20 64 6f 69 6e orm that is doin
01e0: 67 20 74 68 65 20 62 75 69 6c 64 2e 0a 23 0a 23 g the build..#.#
01f0: 20 54 48 52 45 41 44 4c 49 42 20 20 20 20 20 20 THREADLIB
0200: 20 20 53 70 65 63 69 66 79 20 61 6e 79 20 65 78 Specify any ex
0210: 74 72 61 20 6c 69 6e 6b 65 72 20 6f 70 74 69 6f tra linker optio
0220: 6e 73 20 6e 65 65 64 65 64 20 74 6f 20 6d 61 6b ns needed to mak
0230: 65 20 74 68 65 20 6c 69 62 72 61 72 79 0a 23 20 e the library.#
0240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0250: 20 74 68 72 65 61 64 20 73 61 66 65 0a 23 0a 23 thread safe.#.#
0260: 20 4c 49 42 53 20 20 20 20 20 20 20 20 20 20 20 LIBS
0270: 20 20 45 78 74 72 61 20 6c 69 62 72 61 72 69 65 Extra librarie
0280: 73 20 6f 70 74 69 6f 6e 73 0a 23 0a 23 20 4f 50 s options.#.# OP
0290: 54 53 20 20 20 20 20 20 20 20 20 20 20 20 20 45 TS E
02a0: 78 74 72 61 20 63 6f 6d 70 69 6c 65 72 20 63 6f xtra compiler co
02b0: 6d 6d 61 6e 64 2d 6c 69 6e 65 20 6f 70 74 69 6f mmand-line optio
02c0: 6e 73 2e 0a 23 0a 23 20 45 58 45 20 20 20 20 20 ns..#.# EXE
02d0: 20 20 20 20 20 20 20 20 20 54 68 65 20 73 75 66 The suf
02e0: 66 69 78 20 74 6f 20 61 64 64 20 74 6f 20 65 78 fix to add to ex
02f0: 65 63 75 74 61 62 6c 65 20 66 69 6c 65 73 2e 20 ecutable files.
0300: 20 22 2e 65 78 65 22 20 66 6f 72 20 77 69 6e 64 ".exe" for wind
0310: 6f 77 73 0a 23 20 20 20 20 20 20 20 20 20 20 20 ows.#
0320: 20 20 20 20 20 20 20 61 6e 64 20 22 22 20 66 6f and "" fo
0330: 72 20 55 6e 69 78 2e 0a 23 0a 23 20 54 43 43 20 r Unix..#.# TCC
0340: 20 20 20 20 20 20 20 20 20 20 20 20 20 43 20 43 C C
0350: 6f 6d 70 69 6c 65 72 20 61 6e 64 20 6f 70 74 69 ompiler and opti
0360: 6f 6e 73 20 66 6f 72 20 75 73 65 20 69 6e 20 62 ons for use in b
0370: 75 69 6c 64 69 6e 67 20 65 78 65 63 75 74 61 62 uilding executab
0380: 6c 65 73 20 74 68 61 74 20 0a 23 20 20 20 20 20 les that .#
0390: 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6c wil
03a0: 6c 20 72 75 6e 20 6f 6e 20 74 68 65 20 74 61 72 l run on the tar
03b0: 67 65 74 20 70 6c 61 74 66 6f 72 6d 2e 20 20 54 get platform. T
03c0: 68 69 73 20 69 73 20 75 73 75 61 6c 6c 79 20 74 his is usually t
03d0: 68 65 20 73 61 6d 65 0a 23 20 20 20 20 20 20 20 he same.#
03e0: 20 20 20 20 20 20 20 20 20 20 20 61 73 20 42 43 as BC
03f0: 43 2c 20 75 6e 6c 65 73 73 20 79 6f 75 20 61 72 C, unless you ar
0400: 65 20 63 72 6f 73 73 2d 63 6f 6d 70 69 6c 69 6e e cross-compilin
0410: 67 2e 0a 23 0a 23 20 41 52 20 20 20 20 20 20 20 g..#.# AR
0420: 20 20 20 20 20 20 20 20 54 6f 6f 6c 73 20 75 73 Tools us
0430: 65 64 20 74 6f 20 62 75 69 6c 64 20 61 20 73 74 ed to build a st
0440: 61 74 69 63 20 6c 69 62 72 61 72 79 2e 0a 23 20 atic library..#
0450: 52 41 4e 4c 49 42 0a 23 0a 23 20 54 43 4c 5f 46 RANLIB.#.# TCL_F
0460: 4c 41 47 53 20 20 20 20 20 20 20 20 45 78 74 72 LAGS Extr
0470: 61 20 63 6f 6d 70 69 6c 65 72 20 6f 70 74 69 6f a compiler optio
0480: 6e 73 20 6e 65 65 64 65 64 20 66 6f 72 20 70 72 ns needed for pr
0490: 6f 67 72 61 6d 73 20 74 68 61 74 20 75 73 65 20 ograms that use
04a0: 74 68 65 0a 23 20 20 20 20 20 20 20 20 20 20 20 the.#
04b0: 20 20 20 20 20 20 20 54 43 4c 20 6c 69 62 72 61 TCL libra
04c0: 72 79 2e 0a 23 0a 23 20 4c 49 42 54 43 4c 20 20 ry..#.# LIBTCL
04d0: 20 20 20 20 20 20 20 20 20 4c 69 6e 6b 65 72 20 Linker
04e0: 6f 70 74 69 6f 6e 73 20 6e 65 65 64 65 64 20 74 options needed t
04f0: 6f 20 6c 69 6e 6b 20 61 67 61 69 6e 73 74 20 74 o link against t
0500: 68 65 20 54 43 4c 20 6c 69 62 72 61 72 79 2e 0a he TCL library..
0510: 23 0a 23 20 52 45 41 44 4c 49 4e 45 5f 46 4c 41 #.# READLINE_FLA
0520: 47 53 20 20 20 43 6f 6d 70 69 6c 65 72 20 6f 70 GS Compiler op
0530: 74 69 6f 6e 73 20 6e 65 65 64 65 64 20 66 6f 72 tions needed for
0540: 20 70 72 6f 67 72 61 6d 73 20 74 68 61 74 20 75 programs that u
0550: 73 65 20 74 68 65 0a 23 20 20 20 20 20 20 20 20 se the.#
0560: 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6c 69 readli
0570: 6e 65 28 29 20 6c 69 62 72 61 72 79 2e 0a 23 0a ne() library..#.
0580: 23 20 4c 49 42 52 45 41 44 4c 49 4e 45 20 20 20 # LIBREADLINE
0590: 20 20 20 4c 69 6e 6b 65 72 20 6f 70 74 69 6f 6e Linker option
05a0: 73 20 6e 65 65 64 65 64 20 62 79 20 70 72 6f 67 s needed by prog
05b0: 72 61 6d 73 20 75 73 69 6e 67 20 72 65 61 64 6c rams using readl
05c0: 69 6e 65 28 29 20 6d 75 73 74 0a 23 20 20 20 20 ine() must.#
05d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 li
05e0: 6e 6b 20 61 67 61 69 6e 73 74 2e 0a 23 0a 23 20 nk against..#.#
05f0: 4f 6e 63 65 20 74 68 65 20 6d 61 63 72 6f 73 20 Once the macros
0600: 61 62 6f 76 65 20 61 72 65 20 64 65 66 69 6e 65 above are define
0610: 64 2c 20 74 68 65 20 72 65 73 74 20 6f 66 20 74 d, the rest of t
0620: 68 69 73 20 6d 61 6b 65 20 73 63 72 69 70 74 20 his make script
0630: 77 69 6c 6c 0a 23 20 62 75 69 6c 64 20 74 68 65 will.# build the
0640: 20 53 51 4c 69 74 65 20 6c 69 62 72 61 72 79 20 SQLite library
0650: 61 6e 64 20 74 65 73 74 69 6e 67 20 74 6f 6f 6c and testing tool
0660: 73 2e 0a 23 23 23 23 23 23 23 23 23 23 23 23 23 s..#############
0670: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
0680: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
0690: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
06a0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 ################
06b0: 23 23 23 0a 0a 23 20 54 68 69 73 20 69 73 20 68 ###..# This is h
06c0: 6f 77 20 77 65 20 63 6f 6d 70 69 6c 65 0a 23 0a ow we compile.#.
06d0: 54 43 43 58 20 3d 20 20 24 28 54 43 43 29 20 24 TCCX = $(TCC) $
06e0: 28 4f 50 54 53 29 20 2d 49 2e 20 2d 49 24 28 54 (OPTS) -I. -I$(T
06f0: 4f 50 29 2f 73 72 63 20 2d 49 24 28 54 4f 50 29 OP)/src -I$(TOP)
0700: 20 0a 54 43 43 58 20 2b 3d 20 2d 49 24 28 54 4f .TCCX += -I$(TO
0710: 50 29 2f 65 78 74 2f 72 74 72 65 65 20 2d 49 24 P)/ext/rtree -I$
0720: 28 54 4f 50 29 2f 65 78 74 2f 69 63 75 20 2d 49 (TOP)/ext/icu -I
0730: 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 0a $(TOP)/ext/fts3.
0740: 54 43 43 58 20 2b 3d 20 2d 49 24 28 54 4f 50 29 TCCX += -I$(TOP)
0750: 2f 65 78 74 2f 61 73 79 6e 63 20 2d 49 24 28 54 /ext/async -I$(T
0760: 4f 50 29 2f 65 78 74 2f 75 73 65 72 61 75 74 68 OP)/ext/userauth
0770: 0a 54 43 43 58 20 2b 3d 20 2d 49 24 28 54 4f 50 .TCCX += -I$(TOP
0780: 29 2f 65 78 74 2f 73 65 73 73 69 6f 6e 0a 54 43 )/ext/session.TC
0790: 43 58 20 2b 3d 20 2d 49 24 28 54 4f 50 29 2f 65 CX += -I$(TOP)/e
07a0: 78 74 2f 66 74 73 35 0a 54 48 52 45 41 44 4c 49 xt/fts5.THREADLI
07b0: 42 20 2b 3d 20 24 28 4c 49 42 53 29 0a 0a 23 20 B += $(LIBS)..#
07c0: 4f 62 6a 65 63 74 20 66 69 6c 65 73 20 66 6f 72 Object files for
07d0: 20 74 68 65 20 53 51 4c 69 74 65 20 6c 69 62 72 the SQLite libr
07e0: 61 72 79 2e 0a 23 0a 4c 49 42 4f 42 4a 2b 3d 20 ary..#.LIBOBJ+=
07f0: 76 64 62 65 2e 6f 20 70 61 72 73 65 2e 6f 20 5c vdbe.o parse.o \
0800: 0a 20 20 20 20 20 20 20 20 20 61 6c 74 65 72 2e . alter.
0810: 6f 20 61 6e 61 6c 79 7a 65 2e 6f 20 61 74 74 61 o analyze.o atta
0820: 63 68 2e 6f 20 61 75 74 68 2e 6f 20 5c 0a 20 20 ch.o auth.o \.
0830: 20 20 20 20 20 20 20 62 61 63 6b 75 70 2e 6f 20 backup.o
0840: 62 69 74 76 65 63 2e 6f 20 62 74 6d 75 74 65 78 bitvec.o btmutex
0850: 2e 6f 20 62 74 72 65 65 2e 6f 20 62 75 69 6c 64 .o btree.o build
0860: 2e 6f 20 5c 0a 20 20 20 20 20 20 20 20 20 63 61 .o \. ca
0870: 6c 6c 62 61 63 6b 2e 6f 20 63 6f 6d 70 6c 65 74 llback.o complet
0880: 65 2e 6f 20 63 74 69 6d 65 2e 6f 20 64 61 74 65 e.o ctime.o date
0890: 2e 6f 20 64 62 73 74 61 74 2e 6f 20 64 65 6c 65 .o dbstat.o dele
08a0: 74 65 2e 6f 20 65 78 70 72 2e 6f 20 5c 0a 09 20 te.o expr.o \..
08b0: 66 61 75 6c 74 2e 6f 20 66 6b 65 79 2e 6f 20 5c fault.o fkey.o \
08c0: 0a 20 20 20 20 20 20 20 20 20 66 74 73 33 2e 6f . fts3.o
08d0: 20 66 74 73 33 5f 61 75 78 2e 6f 20 66 74 73 33 fts3_aux.o fts3
08e0: 5f 65 78 70 72 2e 6f 20 66 74 73 33 5f 68 61 73 _expr.o fts3_has
08f0: 68 2e 6f 20 66 74 73 33 5f 69 63 75 2e 6f 20 66 h.o fts3_icu.o f
0900: 74 73 33 5f 70 6f 72 74 65 72 2e 6f 20 5c 0a 20 ts3_porter.o \.
0910: 20 20 20 20 20 20 20 20 66 74 73 33 5f 73 6e 69 fts3_sni
0920: 70 70 65 74 2e 6f 20 66 74 73 33 5f 74 6f 6b 65 ppet.o fts3_toke
0930: 6e 69 7a 65 72 2e 6f 20 66 74 73 33 5f 74 6f 6b nizer.o fts3_tok
0940: 65 6e 69 7a 65 72 31 2e 6f 20 5c 0a 20 20 20 20 enizer1.o \.
0950: 20 20 20 20 20 66 74 73 33 5f 74 6f 6b 65 6e 69 fts3_tokeni
0960: 7a 65 5f 76 74 61 62 2e 6f 20 5c 0a 09 20 66 74 ze_vtab.o \.. ft
0970: 73 33 5f 75 6e 69 63 6f 64 65 2e 6f 20 66 74 73 s3_unicode.o fts
0980: 33 5f 75 6e 69 63 6f 64 65 32 2e 6f 20 5c 0a 20 3_unicode2.o \.
0990: 20 20 20 20 20 20 20 20 66 74 73 33 5f 77 72 69 fts3_wri
09a0: 74 65 2e 6f 20 66 74 73 35 2e 6f 20 66 75 6e 63 te.o fts5.o func
09b0: 2e 6f 20 67 6c 6f 62 61 6c 2e 6f 20 68 61 73 68 .o global.o hash
09c0: 2e 6f 20 5c 0a 20 20 20 20 20 20 20 20 20 69 63 .o \. ic
09d0: 75 2e 6f 20 69 6e 73 65 72 74 2e 6f 20 6a 73 6f u.o insert.o jso
09e0: 6e 31 2e 6f 20 6c 65 67 61 63 79 2e 6f 20 6c 6f n1.o legacy.o lo
09f0: 61 64 65 78 74 2e 6f 20 5c 0a 20 20 20 20 20 20 adext.o \.
0a00: 20 20 20 6d 61 69 6e 2e 6f 20 6d 61 6c 6c 6f 63 main.o malloc
0a10: 2e 6f 20 6d 65 6d 30 2e 6f 20 6d 65 6d 31 2e 6f .o mem0.o mem1.o
0a20: 20 6d 65 6d 32 2e 6f 20 6d 65 6d 33 2e 6f 20 6d mem2.o mem3.o m
0a30: 65 6d 35 2e 6f 20 5c 0a 20 20 20 20 20 20 20 20 em5.o \.
0a40: 20 6d 65 6d 6a 6f 75 72 6e 61 6c 2e 6f 20 5c 0a memjournal.o \.
0a50: 20 20 20 20 20 20 20 20 20 6d 75 74 65 78 2e 6f mutex.o
0a60: 20 6d 75 74 65 78 5f 6e 6f 6f 70 2e 6f 20 6d 75 mutex_noop.o mu
0a70: 74 65 78 5f 75 6e 69 78 2e 6f 20 6d 75 74 65 78 tex_unix.o mutex
0a80: 5f 77 33 32 2e 6f 20 5c 0a 20 20 20 20 20 20 20 _w32.o \.
0a90: 20 20 6e 6f 74 69 66 79 2e 6f 20 6f 70 63 6f 64 notify.o opcod
0aa0: 65 73 2e 6f 20 6f 73 2e 6f 20 6f 73 5f 75 6e 69 es.o os.o os_uni
0ab0: 78 2e 6f 20 6f 73 5f 77 69 6e 2e 6f 20 5c 0a 20 x.o os_win.o \.
0ac0: 20 20 20 20 20 20 20 20 70 61 67 65 72 2e 6f 20 pager.o
0ad0: 70 63 61 63 68 65 2e 6f 20 70 63 61 63 68 65 31 pcache.o pcache1
0ae0: 2e 6f 20 70 72 61 67 6d 61 2e 6f 20 70 72 65 70 .o pragma.o prep
0af0: 61 72 65 2e 6f 20 70 72 69 6e 74 66 2e 6f 20 5c are.o printf.o \
0b00: 0a 20 20 20 20 20 20 20 20 20 72 61 6e 64 6f 6d . random
0b10: 2e 6f 20 72 65 73 6f 6c 76 65 2e 6f 20 72 6f 77 .o resolve.o row
0b20: 73 65 74 2e 6f 20 72 74 72 65 65 2e 6f 20 73 65 set.o rtree.o se
0b30: 6c 65 63 74 2e 6f 20 73 71 6c 69 74 65 33 72 62 lect.o sqlite3rb
0b40: 75 2e 6f 20 73 74 61 74 75 73 2e 6f 20 5c 0a 20 u.o status.o \.
0b50: 20 20 20 20 20 20 20 20 74 61 62 6c 65 2e 6f 20 table.o
0b60: 74 68 72 65 61 64 73 2e 6f 20 74 6f 6b 65 6e 69 threads.o tokeni
0b70: 7a 65 2e 6f 20 74 72 65 65 76 69 65 77 2e 6f 20 ze.o treeview.o
0b80: 74 72 69 67 67 65 72 2e 6f 20 5c 0a 20 20 20 20 trigger.o \.
0b90: 20 20 20 20 20 75 70 64 61 74 65 2e 6f 20 75 73 update.o us
0ba0: 65 72 61 75 74 68 2e 6f 20 75 74 69 6c 2e 6f 20 erauth.o util.o
0bb0: 76 61 63 75 75 6d 2e 6f 20 5c 0a 20 20 20 20 20 vacuum.o \.
0bc0: 20 20 20 20 76 64 62 65 61 70 69 2e 6f 20 76 64 vdbeapi.o vd
0bd0: 62 65 61 75 78 2e 6f 20 76 64 62 65 62 6c 6f 62 beaux.o vdbeblob
0be0: 2e 6f 20 76 64 62 65 6d 65 6d 2e 6f 20 76 64 62 .o vdbemem.o vdb
0bf0: 65 73 6f 72 74 2e 6f 20 5c 0a 09 20 76 64 62 65 esort.o \.. vdbe
0c00: 74 72 61 63 65 2e 6f 20 77 61 6c 2e 6f 20 77 61 trace.o wal.o wa
0c10: 6c 6b 65 72 2e 6f 20 77 68 65 72 65 2e 6f 20 77 lker.o where.o w
0c20: 68 65 72 65 63 6f 64 65 2e 6f 20 77 68 65 72 65 herecode.o where
0c30: 65 78 70 72 2e 6f 20 5c 0a 20 20 20 20 20 20 20 expr.o \.
0c40: 20 20 75 74 66 2e 6f 20 76 74 61 62 2e 6f 0a 0a utf.o vtab.o..
0c50: 4c 49 42 4f 42 4a 20 2b 3d 20 73 71 6c 69 74 65 LIBOBJ += sqlite
0c60: 33 73 65 73 73 69 6f 6e 2e 6f 0a 0a 23 20 41 6c 3session.o..# Al
0c70: 6c 20 6f 66 20 74 68 65 20 73 6f 75 72 63 65 20 l of the source
0c80: 63 6f 64 65 20 66 69 6c 65 73 2e 0a 23 0a 53 52 code files..#.SR
0c90: 43 20 3d 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 C = \. $(TOP)/s
0ca0: 72 63 2f 61 6c 74 65 72 2e 63 20 5c 0a 20 20 24 rc/alter.c \. $
0cb0: 28 54 4f 50 29 2f 73 72 63 2f 61 6e 61 6c 79 7a (TOP)/src/analyz
0cc0: 65 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 e.c \. $(TOP)/s
0cd0: 72 63 2f 61 74 74 61 63 68 2e 63 20 5c 0a 20 20 rc/attach.c \.
0ce0: 24 28 54 4f 50 29 2f 73 72 63 2f 61 75 74 68 2e $(TOP)/src/auth.
0cf0: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
0d00: 2f 62 61 63 6b 75 70 2e 63 20 5c 0a 20 20 24 28 /backup.c \. $(
0d10: 54 4f 50 29 2f 73 72 63 2f 62 69 74 76 65 63 2e TOP)/src/bitvec.
0d20: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
0d30: 2f 62 74 6d 75 74 65 78 2e 63 20 5c 0a 20 20 24 /btmutex.c \. $
0d40: 28 54 4f 50 29 2f 73 72 63 2f 62 74 72 65 65 2e (TOP)/src/btree.
0d50: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
0d60: 2f 62 74 72 65 65 2e 68 20 5c 0a 20 20 24 28 54 /btree.h \. $(T
0d70: 4f 50 29 2f 73 72 63 2f 62 74 72 65 65 49 6e 74 OP)/src/btreeInt
0d80: 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .h \. $(TOP)/sr
0d90: 63 2f 62 75 69 6c 64 2e 63 20 5c 0a 20 20 24 28 c/build.c \. $(
0da0: 54 4f 50 29 2f 73 72 63 2f 63 61 6c 6c 62 61 63 TOP)/src/callbac
0db0: 6b 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 k.c \. $(TOP)/s
0dc0: 72 63 2f 63 6f 6d 70 6c 65 74 65 2e 63 20 5c 0a rc/complete.c \.
0dd0: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 63 74 69 $(TOP)/src/cti
0de0: 6d 65 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f me.c \. $(TOP)/
0df0: 73 72 63 2f 64 61 74 65 2e 63 20 5c 0a 20 20 24 src/date.c \. $
0e00: 28 54 4f 50 29 2f 73 72 63 2f 64 62 73 74 61 74 (TOP)/src/dbstat
0e10: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
0e20: 63 2f 64 65 6c 65 74 65 2e 63 20 5c 0a 20 20 24 c/delete.c \. $
0e30: 28 54 4f 50 29 2f 73 72 63 2f 65 78 70 72 2e 63 (TOP)/src/expr.c
0e40: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
0e50: 66 61 75 6c 74 2e 63 20 5c 0a 20 20 24 28 54 4f fault.c \. $(TO
0e60: 50 29 2f 73 72 63 2f 66 6b 65 79 2e 63 20 5c 0a P)/src/fkey.c \.
0e70: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 66 75 6e $(TOP)/src/fun
0e80: 63 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 c.c \. $(TOP)/s
0e90: 72 63 2f 67 6c 6f 62 61 6c 2e 63 20 5c 0a 20 20 rc/global.c \.
0ea0: 24 28 54 4f 50 29 2f 73 72 63 2f 68 61 73 68 2e $(TOP)/src/hash.
0eb0: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
0ec0: 2f 68 61 73 68 2e 68 20 5c 0a 20 20 24 28 54 4f /hash.h \. $(TO
0ed0: 50 29 2f 73 72 63 2f 68 77 74 69 6d 65 2e 68 20 P)/src/hwtime.h
0ee0: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 69 \. $(TOP)/src/i
0ef0: 6e 73 65 72 74 2e 63 20 5c 0a 20 20 24 28 54 4f nsert.c \. $(TO
0f00: 50 29 2f 73 72 63 2f 6c 65 67 61 63 79 2e 63 20 P)/src/legacy.c
0f10: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6c \. $(TOP)/src/l
0f20: 6f 61 64 65 78 74 2e 63 20 5c 0a 20 20 24 28 54 oadext.c \. $(T
0f30: 4f 50 29 2f 73 72 63 2f 6d 61 69 6e 2e 63 20 5c OP)/src/main.c \
0f40: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6d 61 . $(TOP)/src/ma
0f50: 6c 6c 6f 63 2e 63 20 5c 0a 20 20 24 28 54 4f 50 lloc.c \. $(TOP
0f60: 29 2f 73 72 63 2f 6d 65 6d 30 2e 63 20 5c 0a 20 )/src/mem0.c \.
0f70: 20 24 28 54 4f 50 29 2f 73 72 63 2f 6d 65 6d 31 $(TOP)/src/mem1
0f80: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
0f90: 63 2f 6d 65 6d 32 2e 63 20 5c 0a 20 20 24 28 54 c/mem2.c \. $(T
0fa0: 4f 50 29 2f 73 72 63 2f 6d 65 6d 33 2e 63 20 5c OP)/src/mem3.c \
0fb0: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6d 65 . $(TOP)/src/me
0fc0: 6d 35 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f m5.c \. $(TOP)/
0fd0: 73 72 63 2f 6d 65 6d 6a 6f 75 72 6e 61 6c 2e 63 src/memjournal.c
0fe0: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
0ff0: 6d 73 76 63 2e 68 20 5c 0a 20 20 24 28 54 4f 50 msvc.h \. $(TOP
1000: 29 2f 73 72 63 2f 6d 75 74 65 78 2e 63 20 5c 0a )/src/mutex.c \.
1010: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6d 75 74 $(TOP)/src/mut
1020: 65 78 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f ex.h \. $(TOP)/
1030: 73 72 63 2f 6d 75 74 65 78 5f 6e 6f 6f 70 2e 63 src/mutex_noop.c
1040: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
1050: 6d 75 74 65 78 5f 75 6e 69 78 2e 63 20 5c 0a 20 mutex_unix.c \.
1060: 20 24 28 54 4f 50 29 2f 73 72 63 2f 6d 75 74 65 $(TOP)/src/mute
1070: 78 5f 77 33 32 2e 63 20 5c 0a 20 20 24 28 54 4f x_w32.c \. $(TO
1080: 50 29 2f 73 72 63 2f 6e 6f 74 69 66 79 2e 63 20 P)/src/notify.c
1090: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6f \. $(TOP)/src/o
10a0: 73 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 s.c \. $(TOP)/s
10b0: 72 63 2f 6f 73 2e 68 20 5c 0a 20 20 24 28 54 4f rc/os.h \. $(TO
10c0: 50 29 2f 73 72 63 2f 6f 73 5f 63 6f 6d 6d 6f 6e P)/src/os_common
10d0: 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .h \. $(TOP)/sr
10e0: 63 2f 6f 73 5f 73 65 74 75 70 2e 68 20 5c 0a 20 c/os_setup.h \.
10f0: 20 24 28 54 4f 50 29 2f 73 72 63 2f 6f 73 5f 75 $(TOP)/src/os_u
1100: 6e 69 78 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 nix.c \. $(TOP)
1110: 2f 73 72 63 2f 6f 73 5f 77 69 6e 2e 63 20 5c 0a /src/os_win.c \.
1120: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6f 73 5f $(TOP)/src/os_
1130: 77 69 6e 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 win.h \. $(TOP)
1140: 2f 73 72 63 2f 70 61 67 65 72 2e 63 20 5c 0a 20 /src/pager.c \.
1150: 20 24 28 54 4f 50 29 2f 73 72 63 2f 70 61 67 65 $(TOP)/src/page
1160: 72 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 r.h \. $(TOP)/s
1170: 72 63 2f 70 61 72 73 65 2e 79 20 5c 0a 20 20 24 rc/parse.y \. $
1180: 28 54 4f 50 29 2f 73 72 63 2f 70 63 61 63 68 65 (TOP)/src/pcache
1190: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
11a0: 63 2f 70 63 61 63 68 65 2e 68 20 5c 0a 20 20 24 c/pcache.h \. $
11b0: 28 54 4f 50 29 2f 73 72 63 2f 70 63 61 63 68 65 (TOP)/src/pcache
11c0: 31 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 1.c \. $(TOP)/s
11d0: 72 63 2f 70 72 61 67 6d 61 2e 63 20 5c 0a 20 20 rc/pragma.c \.
11e0: 24 28 54 4f 50 29 2f 73 72 63 2f 70 72 61 67 6d $(TOP)/src/pragm
11f0: 61 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 a.h \. $(TOP)/s
1200: 72 63 2f 70 72 65 70 61 72 65 2e 63 20 5c 0a 20 rc/prepare.c \.
1210: 20 24 28 54 4f 50 29 2f 73 72 63 2f 70 72 69 6e $(TOP)/src/prin
1220: 74 66 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f tf.c \. $(TOP)/
1230: 73 72 63 2f 72 61 6e 64 6f 6d 2e 63 20 5c 0a 20 src/random.c \.
1240: 20 24 28 54 4f 50 29 2f 73 72 63 2f 72 65 73 6f $(TOP)/src/reso
1250: 6c 76 65 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 lve.c \. $(TOP)
1260: 2f 73 72 63 2f 72 6f 77 73 65 74 2e 63 20 5c 0a /src/rowset.c \.
1270: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 73 65 6c $(TOP)/src/sel
1280: 65 63 74 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 ect.c \. $(TOP)
1290: 2f 73 72 63 2f 73 74 61 74 75 73 2e 63 20 5c 0a /src/status.c \.
12a0: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 73 68 65 $(TOP)/src/she
12b0: 6c 6c 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f ll.c \. $(TOP)/
12c0: 73 72 63 2f 73 71 6c 69 74 65 2e 68 2e 69 6e 20 src/sqlite.h.in
12d0: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 73 \. $(TOP)/src/s
12e0: 71 6c 69 74 65 33 65 78 74 2e 68 20 5c 0a 20 20 qlite3ext.h \.
12f0: 24 28 54 4f 50 29 2f 73 72 63 2f 73 71 6c 69 74 $(TOP)/src/sqlit
1300: 65 49 6e 74 2e 68 20 5c 0a 20 20 24 28 54 4f 50 eInt.h \. $(TOP
1310: 29 2f 73 72 63 2f 73 71 6c 69 74 65 4c 69 6d 69 )/src/sqliteLimi
1320: 74 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 t.h \. $(TOP)/s
1330: 72 63 2f 74 61 62 6c 65 2e 63 20 5c 0a 20 20 24 rc/table.c \. $
1340: 28 54 4f 50 29 2f 73 72 63 2f 74 63 6c 73 71 6c (TOP)/src/tclsql
1350: 69 74 65 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 ite.c \. $(TOP)
1360: 2f 73 72 63 2f 74 68 72 65 61 64 73 2e 63 20 5c /src/threads.c \
1370: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 6f . $(TOP)/src/to
1380: 6b 65 6e 69 7a 65 2e 63 20 5c 0a 20 20 24 28 54 kenize.c \. $(T
1390: 4f 50 29 2f 73 72 63 2f 74 72 65 65 76 69 65 77 OP)/src/treeview
13a0: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
13b0: 63 2f 74 72 69 67 67 65 72 2e 63 20 5c 0a 20 20 c/trigger.c \.
13c0: 24 28 54 4f 50 29 2f 73 72 63 2f 75 74 66 2e 63 $(TOP)/src/utf.c
13d0: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
13e0: 75 70 64 61 74 65 2e 63 20 5c 0a 20 20 24 28 54 update.c \. $(T
13f0: 4f 50 29 2f 73 72 63 2f 75 74 69 6c 2e 63 20 5c OP)/src/util.c \
1400: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 76 61 . $(TOP)/src/va
1410: 63 75 75 6d 2e 63 20 5c 0a 20 20 24 28 54 4f 50 cuum.c \. $(TOP
1420: 29 2f 73 72 63 2f 76 64 62 65 2e 63 20 5c 0a 20 )/src/vdbe.c \.
1430: 20 24 28 54 4f 50 29 2f 73 72 63 2f 76 64 62 65 $(TOP)/src/vdbe
1440: 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .h \. $(TOP)/sr
1450: 63 2f 76 64 62 65 61 70 69 2e 63 20 5c 0a 20 20 c/vdbeapi.c \.
1460: 24 28 54 4f 50 29 2f 73 72 63 2f 76 64 62 65 61 $(TOP)/src/vdbea
1470: 75 78 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f ux.c \. $(TOP)/
1480: 73 72 63 2f 76 64 62 65 62 6c 6f 62 2e 63 20 5c src/vdbeblob.c \
1490: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 76 64 . $(TOP)/src/vd
14a0: 62 65 6d 65 6d 2e 63 20 5c 0a 20 20 24 28 54 4f bemem.c \. $(TO
14b0: 50 29 2f 73 72 63 2f 76 64 62 65 73 6f 72 74 2e P)/src/vdbesort.
14c0: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
14d0: 2f 76 64 62 65 74 72 61 63 65 2e 63 20 5c 0a 20 /vdbetrace.c \.
14e0: 20 24 28 54 4f 50 29 2f 73 72 63 2f 76 64 62 65 $(TOP)/src/vdbe
14f0: 49 6e 74 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 Int.h \. $(TOP)
1500: 2f 73 72 63 2f 76 74 61 62 2e 63 20 5c 0a 20 20 /src/vtab.c \.
1510: 24 28 54 4f 50 29 2f 73 72 63 2f 76 78 77 6f 72 $(TOP)/src/vxwor
1520: 6b 73 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f ks.h \. $(TOP)/
1530: 73 72 63 2f 77 61 6c 2e 63 20 5c 0a 20 20 24 28 src/wal.c \. $(
1540: 54 4f 50 29 2f 73 72 63 2f 77 61 6c 2e 68 20 5c TOP)/src/wal.h \
1550: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 77 61 . $(TOP)/src/wa
1560: 6c 6b 65 72 2e 63 20 5c 0a 20 20 24 28 54 4f 50 lker.c \. $(TOP
1570: 29 2f 73 72 63 2f 77 68 65 72 65 2e 63 20 5c 0a )/src/where.c \.
1580: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 77 68 65 $(TOP)/src/whe
1590: 72 65 63 6f 64 65 2e 63 20 5c 0a 20 20 24 28 54 recode.c \. $(T
15a0: 4f 50 29 2f 73 72 63 2f 77 68 65 72 65 65 78 70 OP)/src/whereexp
15b0: 72 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 r.c \. $(TOP)/s
15c0: 72 63 2f 77 68 65 72 65 49 6e 74 2e 68 0a 0a 23 rc/whereInt.h..#
15d0: 20 53 6f 75 72 63 65 20 63 6f 64 65 20 66 6f 72 Source code for
15e0: 20 65 78 74 65 6e 73 69 6f 6e 73 0a 23 0a 53 52 extensions.#.SR
15f0: 43 20 2b 3d 20 5c 0a 20 20 24 28 54 4f 50 29 2f C += \. $(TOP)/
1600: 65 78 74 2f 66 74 73 31 2f 66 74 73 31 2e 63 20 ext/fts1/fts1.c
1610: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 \. $(TOP)/ext/f
1620: 74 73 31 2f 66 74 73 31 2e 68 20 5c 0a 20 20 24 ts1/fts1.h \. $
1630: 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 31 2f 66 (TOP)/ext/fts1/f
1640: 74 73 31 5f 68 61 73 68 2e 63 20 5c 0a 20 20 24 ts1_hash.c \. $
1650: 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 31 2f 66 (TOP)/ext/fts1/f
1660: 74 73 31 5f 68 61 73 68 2e 68 20 5c 0a 20 20 24 ts1_hash.h \. $
1670: 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 31 2f 66 (TOP)/ext/fts1/f
1680: 74 73 31 5f 70 6f 72 74 65 72 2e 63 20 5c 0a 20 ts1_porter.c \.
1690: 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 31 $(TOP)/ext/fts1
16a0: 2f 66 74 73 31 5f 74 6f 6b 65 6e 69 7a 65 72 2e /fts1_tokenizer.
16b0: 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 h \. $(TOP)/ext
16c0: 2f 66 74 73 31 2f 66 74 73 31 5f 74 6f 6b 65 6e /fts1/fts1_token
16d0: 69 7a 65 72 31 2e 63 0a 53 52 43 20 2b 3d 20 5c izer1.c.SRC += \
16e0: 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 . $(TOP)/ext/ft
16f0: 73 32 2f 66 74 73 32 2e 63 20 5c 0a 20 20 24 28 s2/fts2.c \. $(
1700: 54 4f 50 29 2f 65 78 74 2f 66 74 73 32 2f 66 74 TOP)/ext/fts2/ft
1710: 73 32 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f s2.h \. $(TOP)/
1720: 65 78 74 2f 66 74 73 32 2f 66 74 73 32 5f 68 61 ext/fts2/fts2_ha
1730: 73 68 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f sh.c \. $(TOP)/
1740: 65 78 74 2f 66 74 73 32 2f 66 74 73 32 5f 68 61 ext/fts2/fts2_ha
1750: 73 68 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f sh.h \. $(TOP)/
1760: 65 78 74 2f 66 74 73 32 2f 66 74 73 32 5f 69 63 ext/fts2/fts2_ic
1770: 75 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 u.c \. $(TOP)/e
1780: 78 74 2f 66 74 73 32 2f 66 74 73 32 5f 70 6f 72 xt/fts2/fts2_por
1790: 74 65 72 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 ter.c \. $(TOP)
17a0: 2f 65 78 74 2f 66 74 73 32 2f 66 74 73 32 5f 74 /ext/fts2/fts2_t
17b0: 6f 6b 65 6e 69 7a 65 72 2e 68 20 5c 0a 20 20 24 okenizer.h \. $
17c0: 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 32 2f 66 (TOP)/ext/fts2/f
17d0: 74 73 32 5f 74 6f 6b 65 6e 69 7a 65 72 2e 63 20 ts2_tokenizer.c
17e0: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 \. $(TOP)/ext/f
17f0: 74 73 32 2f 66 74 73 32 5f 74 6f 6b 65 6e 69 7a ts2/fts2_tokeniz
1800: 65 72 31 2e 63 0a 53 52 43 20 2b 3d 20 5c 0a 20 er1.c.SRC += \.
1810: 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 $(TOP)/ext/fts3
1820: 2f 66 74 73 33 2e 63 20 5c 0a 20 20 24 28 54 4f /fts3.c \. $(TO
1830: 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 33 P)/ext/fts3/fts3
1840: 2e 68 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 .h \. $(TOP)/ex
1850: 74 2f 66 74 73 33 2f 66 74 73 33 49 6e 74 2e 68 t/fts3/fts3Int.h
1860: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f \. $(TOP)/ext/
1870: 66 74 73 33 2f 66 74 73 33 5f 61 75 78 2e 63 20 fts3/fts3_aux.c
1880: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 \. $(TOP)/ext/f
1890: 74 73 33 2f 66 74 73 33 5f 65 78 70 72 2e 63 20 ts3/fts3_expr.c
18a0: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 \. $(TOP)/ext/f
18b0: 74 73 33 2f 66 74 73 33 5f 68 61 73 68 2e 63 20 ts3/fts3_hash.c
18c0: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 \. $(TOP)/ext/f
18d0: 74 73 33 2f 66 74 73 33 5f 68 61 73 68 2e 68 20 ts3/fts3_hash.h
18e0: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 \. $(TOP)/ext/f
18f0: 74 73 33 2f 66 74 73 33 5f 69 63 75 2e 63 20 5c ts3/fts3_icu.c \
1900: 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 . $(TOP)/ext/ft
1910: 73 33 2f 66 74 73 33 5f 70 6f 72 74 65 72 2e 63 s3/fts3_porter.c
1920: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f \. $(TOP)/ext/
1930: 66 74 73 33 2f 66 74 73 33 5f 73 6e 69 70 70 65 fts3/fts3_snippe
1940: 74 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 t.c \. $(TOP)/e
1950: 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 74 6f 6b xt/fts3/fts3_tok
1960: 65 6e 69 7a 65 72 2e 68 20 5c 0a 20 20 24 28 54 enizer.h \. $(T
1970: 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 OP)/ext/fts3/fts
1980: 33 5f 74 6f 6b 65 6e 69 7a 65 72 2e 63 20 5c 0a 3_tokenizer.c \.
1990: 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 $(TOP)/ext/fts
19a0: 33 2f 66 74 73 33 5f 74 6f 6b 65 6e 69 7a 65 72 3/fts3_tokenizer
19b0: 31 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 1.c \. $(TOP)/e
19c0: 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 74 6f 6b xt/fts3/fts3_tok
19d0: 65 6e 69 7a 65 5f 76 74 61 62 2e 63 20 5c 0a 20 enize_vtab.c \.
19e0: 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 $(TOP)/ext/fts3
19f0: 2f 66 74 73 33 5f 75 6e 69 63 6f 64 65 2e 63 20 /fts3_unicode.c
1a00: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 \. $(TOP)/ext/f
1a10: 74 73 33 2f 66 74 73 33 5f 75 6e 69 63 6f 64 65 ts3/fts3_unicode
1a20: 32 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 2.c \. $(TOP)/e
1a30: 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 77 72 69 xt/fts3/fts3_wri
1a40: 74 65 2e 63 0a 53 52 43 20 2b 3d 20 5c 0a 20 20 te.c.SRC += \.
1a50: 24 28 54 4f 50 29 2f 65 78 74 2f 69 63 75 2f 73 $(TOP)/ext/icu/s
1a60: 71 6c 69 74 65 69 63 75 2e 68 20 5c 0a 20 20 24 qliteicu.h \. $
1a70: 28 54 4f 50 29 2f 65 78 74 2f 69 63 75 2f 69 63 (TOP)/ext/icu/ic
1a80: 75 2e 63 0a 53 52 43 20 2b 3d 20 5c 0a 20 20 24 u.c.SRC += \. $
1a90: 28 54 4f 50 29 2f 65 78 74 2f 72 74 72 65 65 2f (TOP)/ext/rtree/
1aa0: 73 71 6c 69 74 65 33 72 74 72 65 65 2e 68 20 5c sqlite3rtree.h \
1ab0: 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 72 74 . $(TOP)/ext/rt
1ac0: 72 65 65 2f 72 74 72 65 65 2e 68 20 5c 0a 20 20 ree/rtree.h \.
1ad0: 24 28 54 4f 50 29 2f 65 78 74 2f 72 74 72 65 65 $(TOP)/ext/rtree
1ae0: 2f 72 74 72 65 65 2e 63 0a 53 52 43 20 2b 3d 20 /rtree.c.SRC +=
1af0: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 73 \. $(TOP)/ext/s
1b00: 71 6c 72 72 2f 73 71 6c 72 72 2e 68 20 5c 0a 20 qlrr/sqlrr.h \.
1b10: 20 24 28 54 4f 50 29 2f 65 78 74 2f 73 71 6c 72 $(TOP)/ext/sqlr
1b20: 72 2f 73 71 6c 72 72 2e 63 0a 53 52 43 20 2b 3d r/sqlrr.c.SRC +=
1b30: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f \. $(TOP)/ext/
1b40: 73 65 73 73 69 6f 6e 2f 73 71 6c 69 74 65 33 73 session/sqlite3s
1b50: 65 73 73 69 6f 6e 2e 63 20 5c 0a 20 20 24 28 54 ession.c \. $(T
1b60: 4f 50 29 2f 65 78 74 2f 73 65 73 73 69 6f 6e 2f OP)/ext/session/
1b70: 73 71 6c 69 74 65 33 73 65 73 73 69 6f 6e 2e 68 sqlite3session.h
1b80: 0a 53 52 43 20 2b 3d 20 5c 0a 20 20 24 28 54 4f .SRC += \. $(TO
1b90: 50 29 2f 65 78 74 2f 75 73 65 72 61 75 74 68 2f P)/ext/userauth/
1ba0: 75 73 65 72 61 75 74 68 2e 63 20 5c 0a 20 20 24 userauth.c \. $
1bb0: 28 54 4f 50 29 2f 65 78 74 2f 75 73 65 72 61 75 (TOP)/ext/userau
1bc0: 74 68 2f 73 71 6c 69 74 65 33 75 73 65 72 61 75 th/sqlite3userau
1bd0: 74 68 2e 68 20 0a 53 52 43 20 2b 3d 20 5c 0a 20 th.h .SRC += \.
1be0: 20 24 28 54 4f 50 29 2f 65 78 74 2f 72 62 75 2f $(TOP)/ext/rbu/
1bf0: 73 71 6c 69 74 65 33 72 62 75 2e 63 20 5c 0a 20 sqlite3rbu.c \.
1c00: 20 24 28 54 4f 50 29 2f 65 78 74 2f 72 62 75 2f $(TOP)/ext/rbu/
1c10: 73 71 6c 69 74 65 33 72 62 75 2e 68 0a 53 52 43 sqlite3rbu.h.SRC
1c20: 20 2b 3d 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 += \. $(TOP)/e
1c30: 78 74 2f 6d 69 73 63 2f 6a 73 6f 6e 31 2e 63 0a xt/misc/json1.c.
1c40: 0a 0a 23 20 46 54 53 35 20 74 68 69 6e 67 73 0a ..# FTS5 things.
1c50: 23 0a 46 54 53 35 5f 48 44 52 20 3d 20 5c 0a 20 #.FTS5_HDR = \.
1c60: 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 $(TOP)/ext/fts
1c70: 35 2f 66 74 73 35 2e 68 20 5c 0a 20 20 20 24 28 5/fts5.h \. $(
1c80: 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f 66 74 TOP)/ext/fts5/ft
1c90: 73 35 49 6e 74 2e 68 20 5c 0a 20 20 20 66 74 73 s5Int.h \. fts
1ca0: 35 70 61 72 73 65 2e 68 0a 09 20 20 20 0a 46 54 5parse.h.. .FT
1cb0: 53 35 5f 53 52 43 20 3d 20 5c 0a 20 20 20 24 28 S5_SRC = \. $(
1cc0: 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f 66 74 TOP)/ext/fts5/ft
1cd0: 73 35 5f 61 75 78 2e 63 20 5c 0a 20 20 20 24 28 s5_aux.c \. $(
1ce0: 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f 66 74 TOP)/ext/fts5/ft
1cf0: 73 35 5f 62 75 66 66 65 72 2e 63 20 5c 0a 20 20 s5_buffer.c \.
1d00: 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 $(TOP)/ext/fts5
1d10: 2f 66 74 73 35 5f 6d 61 69 6e 2e 63 20 5c 0a 20 /fts5_main.c \.
1d20: 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 $(TOP)/ext/fts
1d30: 35 2f 66 74 73 35 5f 63 6f 6e 66 69 67 2e 63 20 5/fts5_config.c
1d40: 5c 0a 20 20 20 24 28 54 4f 50 29 2f 65 78 74 2f \. $(TOP)/ext/
1d50: 66 74 73 35 2f 66 74 73 35 5f 65 78 70 72 2e 63 fts5/fts5_expr.c
1d60: 20 5c 0a 20 20 20 24 28 54 4f 50 29 2f 65 78 74 \. $(TOP)/ext
1d70: 2f 66 74 73 35 2f 66 74 73 35 5f 68 61 73 68 2e /fts5/fts5_hash.
1d80: 63 20 5c 0a 20 20 20 24 28 54 4f 50 29 2f 65 78 c \. $(TOP)/ex
1d90: 74 2f 66 74 73 35 2f 66 74 73 35 5f 69 6e 64 65 t/fts5/fts5_inde
1da0: 78 2e 63 20 5c 0a 20 20 20 66 74 73 35 70 61 72 x.c \. fts5par
1db0: 73 65 2e 63 20 5c 0a 20 20 20 24 28 54 4f 50 29 se.c \. $(TOP)
1dc0: 2f 65 78 74 2f 66 74 73 35 2f 66 74 73 35 5f 73 /ext/fts5/fts5_s
1dd0: 74 6f 72 61 67 65 2e 63 20 5c 0a 20 20 20 24 28 torage.c \. $(
1de0: 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f 66 74 TOP)/ext/fts5/ft
1df0: 73 35 5f 74 6f 6b 65 6e 69 7a 65 2e 63 20 5c 0a s5_tokenize.c \.
1e00: 20 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 $(TOP)/ext/ft
1e10: 73 35 2f 66 74 73 35 5f 75 6e 69 63 6f 64 65 32 s5/fts5_unicode2
1e20: 2e 63 20 5c 0a 20 20 20 24 28 54 4f 50 29 2f 65 .c \. $(TOP)/e
1e30: 78 74 2f 66 74 73 35 2f 66 74 73 35 5f 76 61 72 xt/fts5/fts5_var
1e40: 69 6e 74 2e 63 20 5c 0a 20 20 20 24 28 54 4f 50 int.c \. $(TOP
1e50: 29 2f 65 78 74 2f 66 74 73 35 2f 66 74 73 35 5f )/ext/fts5/fts5_
1e60: 76 6f 63 61 62 2e 63 20 20 5c 0a 0a 0a 23 20 47 vocab.c \...# G
1e70: 65 6e 65 72 61 74 65 64 20 73 6f 75 72 63 65 20 enerated source
1e80: 63 6f 64 65 20 66 69 6c 65 73 0a 23 0a 53 52 43 code files.#.SRC
1e90: 20 2b 3d 20 5c 0a 20 20 6b 65 79 77 6f 72 64 68 += \. keywordh
1ea0: 61 73 68 2e 68 20 5c 0a 20 20 6f 70 63 6f 64 65 ash.h \. opcode
1eb0: 73 2e 63 20 5c 0a 20 20 6f 70 63 6f 64 65 73 2e s.c \. opcodes.
1ec0: 68 20 5c 0a 20 20 70 61 72 73 65 2e 63 20 5c 0a h \. parse.c \.
1ed0: 20 20 70 61 72 73 65 2e 68 20 5c 0a 20 20 73 71 parse.h \. sq
1ee0: 6c 69 74 65 33 2e 68 0a 0a 0a 23 20 53 6f 75 72 lite3.h...# Sour
1ef0: 63 65 20 63 6f 64 65 20 74 6f 20 74 68 65 20 74 ce code to the t
1f00: 65 73 74 20 66 69 6c 65 73 2e 0a 23 0a 54 45 53 est files..#.TES
1f10: 54 53 52 43 20 3d 20 5c 0a 20 20 24 28 54 4f 50 TSRC = \. $(TOP
1f20: 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 33 5f )/ext/fts3/fts3_
1f30: 74 65 72 6d 2e 63 20 5c 0a 20 20 24 28 54 4f 50 term.c \. $(TOP
1f40: 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 33 5f )/ext/fts3/fts3_
1f50: 74 65 73 74 2e 63 20 5c 0a 20 20 24 28 54 4f 50 test.c \. $(TOP
1f60: 29 2f 65 78 74 2f 72 62 75 2f 74 65 73 74 5f 72 )/ext/rbu/test_r
1f70: 62 75 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f bu.c \. $(TOP)/
1f80: 73 72 63 2f 74 65 73 74 31 2e 63 20 5c 0a 20 20 src/test1.c \.
1f90: 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 32 $(TOP)/src/test2
1fa0: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
1fb0: 63 2f 74 65 73 74 33 2e 63 20 5c 0a 20 20 24 28 c/test3.c \. $(
1fc0: 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 34 2e 63 TOP)/src/test4.c
1fd0: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
1fe0: 74 65 73 74 35 2e 63 20 5c 0a 20 20 24 28 54 4f test5.c \. $(TO
1ff0: 50 29 2f 73 72 63 2f 74 65 73 74 36 2e 63 20 5c P)/src/test6.c \
2000: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 . $(TOP)/src/te
2010: 73 74 37 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 st7.c \. $(TOP)
2020: 2f 73 72 63 2f 74 65 73 74 38 2e 63 20 5c 0a 20 /src/test8.c \.
2030: 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 $(TOP)/src/test
2040: 39 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 9.c \. $(TOP)/s
2050: 72 63 2f 74 65 73 74 5f 61 75 74 6f 65 78 74 2e rc/test_autoext.
2060: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2070: 2f 74 65 73 74 5f 61 73 79 6e 63 2e 63 20 5c 0a /test_async.c \.
2080: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 $(TOP)/src/tes
2090: 74 5f 62 61 63 6b 75 70 2e 63 20 5c 0a 20 20 24 t_backup.c \. $
20a0: 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 62 (TOP)/src/test_b
20b0: 65 73 74 69 6e 64 65 78 2e 63 20 5c 0a 20 20 24 estindex.c \. $
20c0: 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 62 (TOP)/src/test_b
20d0: 6c 6f 62 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 lob.c \. $(TOP)
20e0: 2f 73 72 63 2f 74 65 73 74 5f 62 74 72 65 65 2e /src/test_btree.
20f0: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2100: 2f 74 65 73 74 5f 63 6f 6e 66 69 67 2e 63 20 5c /test_config.c \
2110: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 . $(TOP)/src/te
2120: 73 74 5f 64 65 6d 6f 76 66 73 2e 63 20 5c 0a 20 st_demovfs.c \.
2130: 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 $(TOP)/src/test
2140: 5f 64 65 76 73 79 6d 2e 63 20 5c 0a 20 20 24 28 _devsym.c \. $(
2150: 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 66 73 TOP)/src/test_fs
2160: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
2170: 63 2f 74 65 73 74 5f 66 75 6e 63 2e 63 20 5c 0a c/test_func.c \.
2180: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 $(TOP)/src/tes
2190: 74 5f 68 65 78 69 6f 2e 63 20 5c 0a 20 20 24 28 t_hexio.c \. $(
21a0: 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 69 6e TOP)/src/test_in
21b0: 69 74 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f it.c \. $(TOP)/
21c0: 73 72 63 2f 74 65 73 74 5f 69 6e 74 61 72 72 61 src/test_intarra
21d0: 79 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 y.c \. $(TOP)/s
21e0: 72 63 2f 74 65 73 74 5f 6a 6f 75 72 6e 61 6c 2e rc/test_journal.
21f0: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2200: 2f 74 65 73 74 5f 6d 61 6c 6c 6f 63 2e 63 20 5c /test_malloc.c \
2210: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 . $(TOP)/src/te
2220: 73 74 5f 6d 75 6c 74 69 70 6c 65 78 2e 63 20 5c st_multiplex.c \
2230: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 . $(TOP)/src/te
2240: 73 74 5f 6d 75 74 65 78 2e 63 20 5c 0a 20 20 24 st_mutex.c \. $
2250: 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 6f (TOP)/src/test_o
2260: 6e 65 66 69 6c 65 2e 63 20 5c 0a 20 20 24 28 54 nefile.c \. $(T
2270: 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 6f 73 69 OP)/src/test_osi
2280: 6e 73 74 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 nst.c \. $(TOP)
2290: 2f 73 72 63 2f 74 65 73 74 5f 70 63 61 63 68 65 /src/test_pcache
22a0: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
22b0: 63 2f 74 65 73 74 5f 71 75 6f 74 61 2e 63 20 5c c/test_quota.c \
22c0: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 . $(TOP)/src/te
22d0: 73 74 5f 72 74 72 65 65 2e 63 20 5c 0a 20 20 24 st_rtree.c \. $
22e0: 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 73 (TOP)/src/test_s
22f0: 63 68 65 6d 61 2e 63 20 5c 0a 20 20 24 28 54 4f chema.c \. $(TO
2300: 50 29 2f 73 72 63 2f 74 65 73 74 5f 73 65 72 76 P)/src/test_serv
2310: 65 72 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f er.c \. $(TOP)/
2320: 73 72 63 2f 74 65 73 74 5f 73 71 6c 6c 6f 67 2e src/test_sqllog.
2330: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2340: 2f 74 65 73 74 5f 73 75 70 65 72 6c 6f 63 6b 2e /test_superlock.
2350: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2360: 2f 74 65 73 74 5f 73 79 73 63 61 6c 6c 2e 63 20 /test_syscall.c
2370: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 \. $(TOP)/src/t
2380: 65 73 74 5f 74 63 6c 76 61 72 2e 63 20 5c 0a 20 est_tclvar.c \.
2390: 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 $(TOP)/src/test
23a0: 5f 74 68 72 65 61 64 2e 63 20 5c 0a 20 20 24 28 _thread.c \. $(
23b0: 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 76 66 TOP)/src/test_vf
23c0: 73 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 s.c \. $(TOP)/s
23d0: 72 63 2f 74 65 73 74 5f 77 69 6e 64 69 72 65 6e rc/test_windiren
23e0: 74 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 t.c \. $(TOP)/s
23f0: 72 63 2f 74 65 73 74 5f 77 73 64 2e 63 0a 0a 23 rc/test_wsd.c..#
2400: 20 45 78 74 65 6e 73 69 6f 6e 73 20 74 6f 20 62 Extensions to b
2410: 65 20 73 74 61 74 69 63 61 6c 6c 79 20 6c 6f 61 e statically loa
2420: 64 65 64 2e 0a 23 0a 54 45 53 54 53 52 43 20 2b ded..#.TESTSRC +
2430: 3d 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 = \. $(TOP)/ext
2440: 2f 6d 69 73 63 2f 61 6d 61 74 63 68 2e 63 20 5c /misc/amatch.c \
2450: 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 . $(TOP)/ext/mi
2460: 73 63 2f 63 61 72 72 61 79 2e 63 20 5c 0a 20 20 sc/carray.c \.
2470: 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 73 63 2f $(TOP)/ext/misc/
2480: 63 6c 6f 73 75 72 65 2e 63 20 5c 0a 20 20 24 28 closure.c \. $(
2490: 54 4f 50 29 2f 65 78 74 2f 6d 69 73 63 2f 63 73 TOP)/ext/misc/cs
24a0: 76 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 v.c \. $(TOP)/e
24b0: 78 74 2f 6d 69 73 63 2f 65 76 61 6c 2e 63 20 5c xt/misc/eval.c \
24c0: 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 . $(TOP)/ext/mi
24d0: 73 63 2f 66 69 6c 65 69 6f 2e 63 20 5c 0a 20 20 sc/fileio.c \.
24e0: 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 73 63 2f $(TOP)/ext/misc/
24f0: 66 75 7a 7a 65 72 2e 63 20 5c 0a 20 20 24 28 54 fuzzer.c \. $(T
2500: 4f 50 29 2f 65 78 74 2f 6d 69 73 63 2f 69 65 65 OP)/ext/misc/iee
2510: 65 37 35 34 2e 63 20 5c 0a 20 20 24 28 54 4f 50 e754.c \. $(TOP
2520: 29 2f 65 78 74 2f 6d 69 73 63 2f 6e 65 78 74 63 )/ext/misc/nextc
2530: 68 61 72 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 har.c \. $(TOP)
2540: 2f 65 78 74 2f 6d 69 73 63 2f 70 65 72 63 65 6e /ext/misc/percen
2550: 74 69 6c 65 2e 63 20 5c 0a 20 20 24 28 54 4f 50 tile.c \. $(TOP
2560: 29 2f 65 78 74 2f 6d 69 73 63 2f 72 65 67 65 78 )/ext/misc/regex
2570: 70 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 p.c \. $(TOP)/e
2580: 78 74 2f 6d 69 73 63 2f 73 65 72 69 65 73 2e 63 xt/misc/series.c
2590: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f \. $(TOP)/ext/
25a0: 6d 69 73 63 2f 73 70 65 6c 6c 66 69 78 2e 63 20 misc/spellfix.c
25b0: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 6d \. $(TOP)/ext/m
25c0: 69 73 63 2f 74 6f 74 79 70 65 2e 63 20 5c 0a 20 isc/totype.c \.
25d0: 20 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 73 63 $(TOP)/ext/misc
25e0: 2f 77 68 6f 6c 65 6e 75 6d 62 65 72 2e 63 20 5c /wholenumber.c \
25f0: 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 . $(TOP)/ext/mi
2600: 73 63 2f 76 66 73 6c 6f 67 2e 63 20 5c 0a 20 20 sc/vfslog.c \.
2610: 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f $(TOP)/ext/fts5/
2620: 66 74 73 35 5f 74 63 6c 2e 63 20 5c 0a 20 20 24 fts5_tcl.c \. $
2630: 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f 66 (TOP)/ext/fts5/f
2640: 74 73 35 5f 74 65 73 74 5f 6d 69 2e 63 20 5c 0a ts5_test_mi.c \.
2650: 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 $(TOP)/ext/fts
2660: 35 2f 66 74 73 35 5f 74 65 73 74 5f 74 6f 6b 2e 5/fts5_test_tok.
2670: 63 20 0a 0a 0a 23 54 45 53 54 53 52 43 20 2b 3d c ...#TESTSRC +=
2680: 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 32 $(TOP)/ext/fts2
2690: 2f 66 74 73 32 5f 74 6f 6b 65 6e 69 7a 65 72 2e /fts2_tokenizer.
26a0: 63 0a 23 54 45 53 54 53 52 43 20 2b 3d 20 24 28 c.#TESTSRC += $(
26b0: 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 TOP)/ext/fts3/ft
26c0: 73 33 5f 74 6f 6b 65 6e 69 7a 65 72 2e 63 0a 0a s3_tokenizer.c..
26d0: 54 45 53 54 53 52 43 32 20 3d 20 5c 0a 20 20 24 TESTSRC2 = \. $
26e0: 28 54 4f 50 29 2f 73 72 63 2f 61 74 74 61 63 68 (TOP)/src/attach
26f0: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
2700: 63 2f 62 61 63 6b 75 70 2e 63 20 5c 0a 20 20 24 c/backup.c \. $
2710: 28 54 4f 50 29 2f 73 72 63 2f 62 74 72 65 65 2e (TOP)/src/btree.
2720: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2730: 2f 62 75 69 6c 64 2e 63 20 5c 0a 20 20 24 28 54 /build.c \. $(T
2740: 4f 50 29 2f 73 72 63 2f 64 61 74 65 2e 63 20 5c OP)/src/date.c \
2750: 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 64 62 . $(TOP)/src/db
2760: 73 74 61 74 2e 63 20 5c 0a 20 20 24 28 54 4f 50 stat.c \. $(TOP
2770: 29 2f 73 72 63 2f 65 78 70 72 2e 63 20 5c 0a 20 )/src/expr.c \.
2780: 20 24 28 54 4f 50 29 2f 73 72 63 2f 66 75 6e 63 $(TOP)/src/func
2790: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
27a0: 63 2f 69 6e 73 65 72 74 2e 63 20 5c 0a 20 20 24 c/insert.c \. $
27b0: 28 54 4f 50 29 2f 73 72 63 2f 77 61 6c 2e 63 20 (TOP)/src/wal.c
27c0: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6d \. $(TOP)/src/m
27d0: 61 69 6e 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 ain.c \. $(TOP)
27e0: 2f 73 72 63 2f 6d 65 6d 35 2e 63 20 5c 0a 20 20 /src/mem5.c \.
27f0: 24 28 54 4f 50 29 2f 73 72 63 2f 6f 73 2e 63 20 $(TOP)/src/os.c
2800: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6f \. $(TOP)/src/o
2810: 73 5f 75 6e 69 78 2e 63 20 5c 0a 20 20 24 28 54 s_unix.c \. $(T
2820: 4f 50 29 2f 73 72 63 2f 6f 73 5f 77 69 6e 2e 63 OP)/src/os_win.c
2830: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
2840: 70 61 67 65 72 2e 63 20 5c 0a 20 20 24 28 54 4f pager.c \. $(TO
2850: 50 29 2f 73 72 63 2f 70 72 61 67 6d 61 2e 63 20 P)/src/pragma.c
2860: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 70 \. $(TOP)/src/p
2870: 72 65 70 61 72 65 2e 63 20 5c 0a 20 20 24 28 54 repare.c \. $(T
2880: 4f 50 29 2f 73 72 63 2f 70 72 69 6e 74 66 2e 63 OP)/src/printf.c
2890: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
28a0: 72 61 6e 64 6f 6d 2e 63 20 5c 0a 20 20 24 28 54 random.c \. $(T
28b0: 4f 50 29 2f 73 72 63 2f 70 63 61 63 68 65 2e 63 OP)/src/pcache.c
28c0: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
28d0: 70 63 61 63 68 65 31 2e 63 20 5c 0a 20 20 24 28 pcache1.c \. $(
28e0: 54 4f 50 29 2f 73 72 63 2f 73 65 6c 65 63 74 2e TOP)/src/select.
28f0: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2900: 2f 74 68 72 65 61 64 73 2e 63 20 5c 0a 20 20 24 /threads.c \. $
2910: 28 54 4f 50 29 2f 73 72 63 2f 74 6f 6b 65 6e 69 (TOP)/src/tokeni
2920: 7a 65 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f ze.c \. $(TOP)/
2930: 73 72 63 2f 75 74 66 2e 63 20 5c 0a 20 20 24 28 src/utf.c \. $(
2940: 54 4f 50 29 2f 73 72 63 2f 75 74 69 6c 2e 63 20 TOP)/src/util.c
2950: 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 76 \. $(TOP)/src/v
2960: 64 62 65 61 70 69 2e 63 20 5c 0a 20 20 24 28 54 dbeapi.c \. $(T
2970: 4f 50 29 2f 73 72 63 2f 76 64 62 65 61 75 78 2e OP)/src/vdbeaux.
2980: 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 c \. $(TOP)/src
2990: 2f 76 64 62 65 2e 63 20 5c 0a 20 20 24 28 54 4f /vdbe.c \. $(TO
29a0: 50 29 2f 73 72 63 2f 76 64 62 65 6d 65 6d 2e 63 P)/src/vdbemem.c
29b0: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
29c0: 77 68 65 72 65 2e 63 20 5c 0a 20 20 24 28 54 4f where.c \. $(TO
29d0: 50 29 2f 73 72 63 2f 77 68 65 72 65 63 6f 64 65 P)/src/wherecode
29e0: 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 73 72 .c \. $(TOP)/sr
29f0: 63 2f 77 68 65 72 65 65 78 70 72 2e 63 20 5c 0a c/whereexpr.c \.
2a00: 20 20 70 61 72 73 65 2e 63 20 5c 0a 20 20 24 28 parse.c \. $(
2a10: 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 TOP)/ext/fts3/ft
2a20: 73 33 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f s3.c \. $(TOP)/
2a30: 65 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 61 75 ext/fts3/fts3_au
2a40: 78 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 x.c \. $(TOP)/e
2a50: 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 65 78 70 xt/fts3/fts3_exp
2a60: 72 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 2f 65 r.c \. $(TOP)/e
2a70: 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 74 6f 6b xt/fts3/fts3_tok
2a80: 65 6e 69 7a 65 72 2e 63 20 5c 0a 20 20 24 28 54 enizer.c \. $(T
2a90: 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 OP)/ext/fts3/fts
2aa0: 33 5f 77 72 69 74 65 2e 63 20 5c 0a 20 20 24 28 3_write.c \. $(
2ab0: 54 4f 50 29 2f 65 78 74 2f 61 73 79 6e 63 2f 73 TOP)/ext/async/s
2ac0: 71 6c 69 74 65 33 61 73 79 6e 63 2e 63 20 5c 0a qlite3async.c \.
2ad0: 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 73 65 73 $(TOP)/ext/ses
2ae0: 73 69 6f 6e 2f 73 71 6c 69 74 65 33 73 65 73 73 sion/sqlite3sess
2af0: 69 6f 6e 2e 63 20 5c 0a 20 20 24 28 54 4f 50 29 ion.c \. $(TOP)
2b00: 2f 65 78 74 2f 73 65 73 73 69 6f 6e 2f 74 65 73 /ext/session/tes
2b10: 74 5f 73 65 73 73 69 6f 6e 2e 63 20 0a 0a 23 20 t_session.c ..#
2b20: 48 65 61 64 65 72 20 66 69 6c 65 73 20 75 73 65 Header files use
2b30: 64 20 62 79 20 61 6c 6c 20 6c 69 62 72 61 72 79 d by all library
2b40: 20 73 6f 75 72 63 65 20 66 69 6c 65 73 2e 0a 23 source files..#
2b50: 0a 48 44 52 20 3d 20 5c 0a 20 20 20 24 28 54 4f .HDR = \. $(TO
2b60: 50 29 2f 73 72 63 2f 62 74 72 65 65 2e 68 20 5c P)/src/btree.h \
2b70: 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 62 . $(TOP)/src/b
2b80: 74 72 65 65 49 6e 74 2e 68 20 5c 0a 20 20 20 24 treeInt.h \. $
2b90: 28 54 4f 50 29 2f 73 72 63 2f 68 61 73 68 2e 68 (TOP)/src/hash.h
2ba0: 20 5c 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 63 \. $(TOP)/src
2bb0: 2f 68 77 74 69 6d 65 2e 68 20 5c 0a 20 20 20 6b /hwtime.h \. k
2bc0: 65 79 77 6f 72 64 68 61 73 68 2e 68 20 5c 0a 20 eywordhash.h \.
2bd0: 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 6d 73 76 $(TOP)/src/msv
2be0: 63 2e 68 20 5c 0a 20 20 20 24 28 54 4f 50 29 2f c.h \. $(TOP)/
2bf0: 73 72 63 2f 6d 75 74 65 78 2e 68 20 5c 0a 20 20 src/mutex.h \.
2c00: 20 6f 70 63 6f 64 65 73 2e 68 20 5c 0a 20 20 20 opcodes.h \.
2c10: 24 28 54 4f 50 29 2f 73 72 63 2f 6f 73 2e 68 20 $(TOP)/src/os.h
2c20: 5c 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
2c30: 6f 73 5f 63 6f 6d 6d 6f 6e 2e 68 20 5c 0a 20 20 os_common.h \.
2c40: 20 24 28 54 4f 50 29 2f 73 72 63 2f 6f 73 5f 73 $(TOP)/src/os_s
2c50: 65 74 75 70 2e 68 20 5c 0a 20 20 20 24 28 54 4f etup.h \. $(TO
2c60: 50 29 2f 73 72 63 2f 6f 73 5f 77 69 6e 2e 68 20 P)/src/os_win.h
2c70: 5c 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
2c80: 70 61 67 65 72 2e 68 20 5c 0a 20 20 20 24 28 54 pager.h \. $(T
2c90: 4f 50 29 2f 73 72 63 2f 70 63 61 63 68 65 2e 68 OP)/src/pcache.h
2ca0: 20 5c 0a 20 20 20 70 61 72 73 65 2e 68 20 20 5c \. parse.h \
2cb0: 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 63 2f 70 . $(TOP)/src/p
2cc0: 72 61 67 6d 61 2e 68 20 5c 0a 20 20 20 73 71 6c ragma.h \. sql
2cd0: 69 74 65 33 2e 68 20 20 5c 0a 20 20 20 24 28 54 ite3.h \. $(T
2ce0: 4f 50 29 2f 73 72 63 2f 73 71 6c 69 74 65 33 65 OP)/src/sqlite3e
2cf0: 78 74 2e 68 20 5c 0a 20 20 20 24 28 54 4f 50 29 xt.h \. $(TOP)
2d00: 2f 73 72 63 2f 73 71 6c 69 74 65 49 6e 74 2e 68 /src/sqliteInt.h
2d10: 20 20 5c 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 \. $(TOP)/sr
2d20: 63 2f 73 71 6c 69 74 65 4c 69 6d 69 74 2e 68 20 c/sqliteLimit.h
2d30: 5c 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 63 2f \. $(TOP)/src/
2d40: 76 64 62 65 2e 68 20 5c 0a 20 20 20 24 28 54 4f vdbe.h \. $(TO
2d50: 50 29 2f 73 72 63 2f 76 64 62 65 49 6e 74 2e 68 P)/src/vdbeInt.h
2d60: 20 5c 0a 20 20 20 24 28 54 4f 50 29 2f 73 72 63 \. $(TOP)/src
2d70: 2f 76 78 77 6f 72 6b 73 2e 68 20 5c 0a 20 20 20 /vxworks.h \.
2d80: 24 28 54 4f 50 29 2f 73 72 63 2f 77 68 65 72 65 $(TOP)/src/where
2d90: 49 6e 74 2e 68 0a 0a 23 20 48 65 61 64 65 72 20 Int.h..# Header
2da0: 66 69 6c 65 73 20 75 73 65 64 20 62 79 20 65 78 files used by ex
2db0: 74 65 6e 73 69 6f 6e 73 0a 23 0a 45 58 54 48 44 tensions.#.EXTHD
2dc0: 52 20 2b 3d 20 5c 0a 20 20 24 28 54 4f 50 29 2f R += \. $(TOP)/
2dd0: 65 78 74 2f 73 71 6c 72 72 2f 73 71 6c 72 72 2e ext/sqlrr/sqlrr.
2de0: 68 0a 45 58 54 48 44 52 20 2b 3d 20 5c 0a 20 20 h.EXTHDR += \.
2df0: 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f $(TOP)/ext/fts5/
2e00: 66 74 73 35 49 6e 74 2e 68 20 20 5c 0a 20 20 66 fts5Int.h \. f
2e10: 74 73 35 70 61 72 73 65 2e 68 20 20 20 20 20 20 ts5parse.h
2e20: 20 20 20 20 20 20 20 20 20 20 5c 0a 20 20 24 28 \. $(
2e30: 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f 66 74 TOP)/ext/fts5/ft
2e40: 73 35 2e 68 20 0a 45 58 54 48 44 52 20 2b 3d 20 s5.h .EXTHDR +=
2e50: 5c 0a 20 20 24 28 54 4f 50 29 2f 65 78 74 2f 75 \. $(TOP)/ext/u
2e60: 73 65 72 61 75 74 68 2f 73 71 6c 69 74 65 33 75 serauth/sqlite3u
2e70: 73 65 72 61 75 74 68 2e 68 0a 0a 23 20 65 78 65 serauth.h..# exe
2e80: 63 75 74 61 62 6c 65 73 20 6e 65 65 64 65 64 20 cutables needed
2e90: 66 6f 72 20 74 65 73 74 69 6e 67 0a 23 0a 54 45 for testing.#.TE
2ea0: 53 54 50 52 4f 47 53 20 3d 20 5c 0a 20 20 74 65 STPROGS = \. te
2eb0: 73 74 66 69 78 74 75 72 65 24 28 45 58 45 29 20 stfixture$(EXE)
2ec0: 5c 0a 20 20 73 71 6c 69 74 65 33 24 28 45 58 45 \. sqlite3$(EXE
2ed0: 29 20 5c 0a 20 20 73 71 6c 69 74 65 33 5f 61 6e ) \. sqlite3_an
2ee0: 61 6c 79 7a 65 72 24 28 45 58 45 29 20 5c 0a 20 alyzer$(EXE) \.
2ef0: 20 73 71 6c 64 69 66 66 24 28 45 58 45 29 20 5c sqldiff$(EXE) \
2f00: 0a 20 20 64 62 68 61 73 68 24 28 45 58 45 29 0a . dbhash$(EXE).
2f10: 0a 23 20 44 61 74 61 62 61 73 65 73 20 63 6f 6e .# Databases con
2f20: 74 61 69 6e 69 6e 67 20 66 75 7a 7a 65 72 20 74 taining fuzzer t
2f30: 65 73 74 20 63 61 73 65 73 0a 23 0a 46 55 5a 5a est cases.#.FUZZ
2f40: 44 41 54 41 20 3d 20 5c 0a 20 20 24 28 54 4f 50 DATA = \. $(TOP
2f50: 29 2f 74 65 73 74 2f 66 75 7a 7a 64 61 74 61 31 )/test/fuzzdata1
2f60: 2e 64 62 20 5c 0a 20 20 24 28 54 4f 50 29 2f 74 .db \. $(TOP)/t
2f70: 65 73 74 2f 66 75 7a 7a 64 61 74 61 32 2e 64 62 est/fuzzdata2.db
2f80: 20 5c 0a 20 20 24 28 54 4f 50 29 2f 74 65 73 74 \. $(TOP)/test
2f90: 2f 66 75 7a 7a 64 61 74 61 33 2e 64 62 20 5c 0a /fuzzdata3.db \.
2fa0: 20 20 24 28 54 4f 50 29 2f 74 65 73 74 2f 66 75 $(TOP)/test/fu
2fb0: 7a 7a 64 61 74 61 34 2e 64 62 0a 0a 23 20 53 74 zzdata4.db..# St
2fc0: 61 6e 64 61 72 64 20 6f 70 74 69 6f 6e 73 20 74 andard options t
2fd0: 6f 20 74 65 73 74 66 69 78 74 75 72 65 0a 23 0a o testfixture.#.
2fe0: 54 45 53 54 4f 50 54 53 20 3d 20 2d 2d 76 65 72 TESTOPTS = --ver
2ff0: 62 6f 73 65 3d 66 69 6c 65 20 2d 2d 6f 75 74 70 bose=file --outp
3000: 75 74 3d 74 65 73 74 2d 6f 75 74 2e 74 78 74 0a ut=test-out.txt.
3010: 0a 23 20 45 78 74 72 61 20 63 6f 6d 70 69 6c 65 .# Extra compile
3020: 72 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 76 61 r options for va
3030: 72 69 6f 75 73 20 73 68 65 6c 6c 20 74 6f 6f 6c rious shell tool
3040: 73 0a 23 0a 53 48 45 4c 4c 5f 4f 50 54 20 3d 20 s.#.SHELL_OPT =
3050: 2d 44 53 51 4c 49 54 45 5f 45 4e 41 42 4c 45 5f -DSQLITE_ENABLE_
3060: 4a 53 4f 4e 31 20 2d 44 53 51 4c 49 54 45 5f 45 JSON1 -DSQLITE_E
3070: 4e 41 42 4c 45 5f 46 54 53 34 20 2d 44 53 51 4c NABLE_FTS4 -DSQL
3080: 49 54 45 5f 45 4e 41 42 4c 45 5f 46 54 53 35 0a ITE_ENABLE_FTS5.
3090: 53 48 45 4c 4c 5f 4f 50 54 20 2b 3d 20 2d 44 53 SHELL_OPT += -DS
30a0: 51 4c 49 54 45 5f 45 4e 41 42 4c 45 5f 45 58 50 QLITE_ENABLE_EXP
30b0: 4c 41 49 4e 5f 43 4f 4d 4d 45 4e 54 53 0a 53 48 LAIN_COMMENTS.SH
30c0: 45 4c 4c 5f 4f 50 54 20 2b 3d 20 2d 44 53 51 4c ELL_OPT += -DSQL
30d0: 49 54 45 5f 45 4e 41 42 4c 45 5f 55 4e 4b 4e 4f ITE_ENABLE_UNKNO
30e0: 57 4e 5f 53 51 4c 5f 46 55 4e 43 54 49 4f 4e 0a WN_SQL_FUNCTION.
30f0: 46 55 5a 5a 45 52 53 48 45 4c 4c 5f 4f 50 54 20 FUZZERSHELL_OPT
3100: 3d 20 2d 44 53 51 4c 49 54 45 5f 45 4e 41 42 4c = -DSQLITE_ENABL
3110: 45 5f 4a 53 4f 4e 31 0a 46 55 5a 5a 43 48 45 43 E_JSON1.FUZZCHEC
3120: 4b 5f 4f 50 54 20 3d 20 2d 44 53 51 4c 49 54 45 K_OPT = -DSQLITE
3130: 5f 45 4e 41 42 4c 45 5f 4a 53 4f 4e 31 20 2d 44 _ENABLE_JSON1 -D
3140: 53 51 4c 49 54 45 5f 45 4e 41 42 4c 45 5f 4d 45 SQLITE_ENABLE_ME
3150: 4d 53 59 53 35 0a 0a 23 20 54 68 69 73 20 69 73 MSYS5..# This is
3160: 20 74 68 65 20 64 65 66 61 75 6c 74 20 4d 61 6b the default Mak
3170: 65 66 69 6c 65 20 74 61 72 67 65 74 2e 20 20 54 efile target. T
3180: 68 65 20 6f 62 6a 65 63 74 73 20 6c 69 73 74 65 he objects liste
3190: 64 20 68 65 72 65 0a 23 20 61 72 65 20 77 68 61 d here.# are wha
31a0: 74 20 67 65 74 20 62 75 69 6c 64 20 77 68 65 6e t get build when
31b0: 20 79 6f 75 20 74 79 70 65 20 6a 75 73 74 20 22 you type just "
31c0: 6d 61 6b 65 22 20 77 69 74 68 20 6e 6f 20 61 72 make" with no ar
31d0: 67 75 6d 65 6e 74 73 2e 0a 23 0a 61 6c 6c 3a 09 guments..#.all:.
31e0: 73 71 6c 69 74 65 33 2e 68 20 6c 69 62 73 71 6c sqlite3.h libsql
31f0: 69 74 65 33 2e 61 20 73 71 6c 69 74 65 33 24 28 ite3.a sqlite3$(
3200: 45 58 45 29 0a 0a 6c 69 62 73 71 6c 69 74 65 33 EXE)..libsqlite3
3210: 2e 61 3a 09 24 28 4c 49 42 4f 42 4a 29 0a 09 24 .a:.$(LIBOBJ)..$
3220: 28 41 52 29 20 6c 69 62 73 71 6c 69 74 65 33 2e (AR) libsqlite3.
3230: 61 20 24 28 4c 49 42 4f 42 4a 29 0a 09 24 28 52 a $(LIBOBJ)..$(R
3240: 41 4e 4c 49 42 29 20 6c 69 62 73 71 6c 69 74 65 ANLIB) libsqlite
3250: 33 2e 61 0a 0a 73 71 6c 69 74 65 33 24 28 45 58 3.a..sqlite3$(EX
3260: 45 29 3a 09 24 28 54 4f 50 29 2f 73 72 63 2f 73 E):.$(TOP)/src/s
3270: 68 65 6c 6c 2e 63 20 6c 69 62 73 71 6c 69 74 65 hell.c libsqlite
3280: 33 2e 61 20 73 71 6c 69 74 65 33 2e 68 0a 09 24 3.a sqlite3.h..$
3290: 28 54 43 43 58 29 20 24 28 52 45 41 44 4c 49 4e (TCCX) $(READLIN
32a0: 45 5f 46 4c 41 47 53 29 20 2d 6f 20 73 71 6c 69 E_FLAGS) -o sqli
32b0: 74 65 33 24 28 45 58 45 29 20 24 28 53 48 45 4c te3$(EXE) $(SHEL
32c0: 4c 5f 4f 50 54 29 20 5c 0a 09 09 24 28 54 4f 50 L_OPT) \...$(TOP
32d0: 29 2f 73 72 63 2f 73 68 65 6c 6c 2e 63 20 6c 69 )/src/shell.c li
32e0: 62 73 71 6c 69 74 65 33 2e 61 20 24 28 4c 49 42 bsqlite3.a $(LIB
32f0: 52 45 41 44 4c 49 4e 45 29 20 24 28 54 4c 49 42 READLINE) $(TLIB
3300: 53 29 20 24 28 54 48 52 45 41 44 4c 49 42 29 0a S) $(THREADLIB).
3310: 0a 73 71 6c 64 69 66 66 24 28 45 58 45 29 3a 09 .sqldiff$(EXE):.
3320: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 71 6c 64 $(TOP)/tool/sqld
3330: 69 66 66 2e 63 20 73 71 6c 69 74 65 33 2e 63 20 iff.c sqlite3.c
3340: 73 71 6c 69 74 65 33 2e 68 0a 09 24 28 54 43 43 sqlite3.h..$(TCC
3350: 58 29 20 2d 6f 20 73 71 6c 64 69 66 66 24 28 45 X) -o sqldiff$(E
3360: 58 45 29 20 2d 44 53 51 4c 49 54 45 5f 54 48 52 XE) -DSQLITE_THR
3370: 45 41 44 53 41 46 45 3d 30 20 5c 0a 09 09 24 28 EADSAFE=0 \...$(
3380: 54 4f 50 29 2f 74 6f 6f 6c 2f 73 71 6c 64 69 66 TOP)/tool/sqldif
3390: 66 2e 63 20 73 71 6c 69 74 65 33 2e 63 20 24 28 f.c sqlite3.c $(
33a0: 54 4c 49 42 53 29 20 24 28 54 48 52 45 41 44 4c TLIBS) $(THREADL
33b0: 49 42 29 0a 0a 64 62 68 61 73 68 24 28 45 58 45 IB)..dbhash$(EXE
33c0: 29 3a 09 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 64 ):.$(TOP)/tool/d
33d0: 62 68 61 73 68 2e 63 20 73 71 6c 69 74 65 33 2e bhash.c sqlite3.
33e0: 63 20 73 71 6c 69 74 65 33 2e 68 0a 09 24 28 54 c sqlite3.h..$(T
33f0: 43 43 58 29 20 2d 6f 20 64 62 68 61 73 68 24 28 CCX) -o dbhash$(
3400: 45 58 45 29 20 2d 44 53 51 4c 49 54 45 5f 54 48 EXE) -DSQLITE_TH
3410: 52 45 41 44 53 41 46 45 3d 30 20 5c 0a 09 09 24 READSAFE=0 \...$
3420: 28 54 4f 50 29 2f 74 6f 6f 6c 2f 64 62 68 61 73 (TOP)/tool/dbhas
3430: 68 2e 63 20 73 71 6c 69 74 65 33 2e 63 20 24 28 h.c sqlite3.c $(
3440: 54 4c 49 42 53 29 20 24 28 54 48 52 45 41 44 4c TLIBS) $(THREADL
3450: 49 42 29 0a 0a 73 63 72 75 62 24 28 45 58 45 29 IB)..scrub$(EXE)
3460: 3a 09 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 73 :.$(TOP)/ext/mis
3470: 63 2f 73 63 72 75 62 2e 63 20 73 71 6c 69 74 65 c/scrub.c sqlite
3480: 33 2e 6f 0a 09 24 28 54 43 43 29 20 2d 49 2e 20 3.o..$(TCC) -I.
3490: 2d 44 53 43 52 55 42 5f 53 54 41 4e 44 41 4c 4f -DSCRUB_STANDALO
34a0: 4e 45 20 2d 6f 20 73 63 72 75 62 24 28 45 58 45 NE -o scrub$(EXE
34b0: 29 20 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 73 ) $(TOP)/ext/mis
34c0: 63 2f 73 63 72 75 62 2e 63 20 73 71 6c 69 74 65 c/scrub.c sqlite
34d0: 33 2e 6f 20 24 28 54 48 52 45 41 44 4c 49 42 29 3.o $(THREADLIB)
34e0: 0a 0a 73 72 63 63 6b 31 24 28 45 58 45 29 3a 09 ..srcck1$(EXE):.
34f0: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 72 63 63 $(TOP)/tool/srcc
3500: 6b 31 2e 63 0a 09 24 28 42 43 43 29 20 2d 6f 20 k1.c..$(BCC) -o
3510: 73 72 63 63 6b 31 24 28 45 58 45 29 20 24 28 54 srcck1$(EXE) $(T
3520: 4f 50 29 2f 74 6f 6f 6c 2f 73 72 63 63 6b 31 2e OP)/tool/srcck1.
3530: 63 0a 0a 73 6f 75 72 63 65 74 65 73 74 3a 09 73 c..sourcetest:.s
3540: 72 63 63 6b 31 24 28 45 58 45 29 20 73 71 6c 69 rcck1$(EXE) sqli
3550: 74 65 33 2e 63 0a 09 2e 2f 73 72 63 63 6b 31 20 te3.c.../srcck1
3560: 73 71 6c 69 74 65 33 2e 63 0a 0a 66 75 7a 7a 65 sqlite3.c..fuzze
3570: 72 73 68 65 6c 6c 24 28 45 58 45 29 3a 09 24 28 rshell$(EXE):.$(
3580: 54 4f 50 29 2f 74 6f 6f 6c 2f 66 75 7a 7a 65 72 TOP)/tool/fuzzer
3590: 73 68 65 6c 6c 2e 63 20 73 71 6c 69 74 65 33 2e shell.c sqlite3.
35a0: 63 20 73 71 6c 69 74 65 33 2e 68 0a 09 24 28 54 c sqlite3.h..$(T
35b0: 43 43 58 29 20 2d 6f 20 66 75 7a 7a 65 72 73 68 CCX) -o fuzzersh
35c0: 65 6c 6c 24 28 45 58 45 29 20 2d 44 53 51 4c 49 ell$(EXE) -DSQLI
35d0: 54 45 5f 54 48 52 45 41 44 53 41 46 45 3d 30 20 TE_THREADSAFE=0
35e0: 2d 44 53 51 4c 49 54 45 5f 4f 4d 49 54 5f 4c 4f -DSQLITE_OMIT_LO
35f0: 41 44 5f 45 58 54 45 4e 53 49 4f 4e 20 5c 0a 09 AD_EXTENSION \..
3600: 20 20 24 28 46 55 5a 5a 45 52 53 48 45 4c 4c 5f $(FUZZERSHELL_
3610: 4f 50 54 29 20 24 28 54 4f 50 29 2f 74 6f 6f 6c OPT) $(TOP)/tool
3620: 2f 66 75 7a 7a 65 72 73 68 65 6c 6c 2e 63 20 73 /fuzzershell.c s
3630: 71 6c 69 74 65 33 2e 63 20 5c 0a 09 20 20 24 28 qlite3.c \.. $(
3640: 54 4c 49 42 53 29 20 24 28 54 48 52 45 41 44 4c TLIBS) $(THREADL
3650: 49 42 29 0a 0a 66 75 7a 7a 63 68 65 63 6b 24 28 IB)..fuzzcheck$(
3660: 45 58 45 29 3a 09 24 28 54 4f 50 29 2f 74 65 73 EXE):.$(TOP)/tes
3670: 74 2f 66 75 7a 7a 63 68 65 63 6b 2e 63 20 73 71 t/fuzzcheck.c sq
3680: 6c 69 74 65 33 2e 63 20 73 71 6c 69 74 65 33 2e lite3.c sqlite3.
3690: 68 0a 09 24 28 54 43 43 58 29 20 2d 6f 20 66 75 h..$(TCCX) -o fu
36a0: 7a 7a 63 68 65 63 6b 24 28 45 58 45 29 20 2d 44 zzcheck$(EXE) -D
36b0: 53 51 4c 49 54 45 5f 54 48 52 45 41 44 53 41 46 SQLITE_THREADSAF
36c0: 45 3d 30 20 2d 44 53 51 4c 49 54 45 5f 4f 4d 49 E=0 -DSQLITE_OMI
36d0: 54 5f 4c 4f 41 44 5f 45 58 54 45 4e 53 49 4f 4e T_LOAD_EXTENSION
36e0: 20 5c 0a 09 09 2d 44 53 51 4c 49 54 45 5f 45 4e \...-DSQLITE_EN
36f0: 41 42 4c 45 5f 4d 45 4d 53 59 53 35 20 24 28 46 ABLE_MEMSYS5 $(F
3700: 55 5a 5a 43 48 45 43 4b 5f 4f 50 54 29 20 5c 0a UZZCHECK_OPT) \.
3710: 09 09 24 28 54 4f 50 29 2f 74 65 73 74 2f 66 75 ..$(TOP)/test/fu
3720: 7a 7a 63 68 65 63 6b 2e 63 20 73 71 6c 69 74 65 zzcheck.c sqlite
3730: 33 2e 63 20 24 28 54 4c 49 42 53 29 20 24 28 54 3.c $(TLIBS) $(T
3740: 48 52 45 41 44 4c 49 42 29 0a 0a 6d 70 74 65 73 HREADLIB)..mptes
3750: 74 65 72 24 28 45 58 45 29 3a 09 73 71 6c 69 74 ter$(EXE):.sqlit
3760: 65 33 2e 63 20 24 28 54 4f 50 29 2f 6d 70 74 65 e3.c $(TOP)/mpte
3770: 73 74 2f 6d 70 74 65 73 74 2e 63 0a 09 24 28 54 st/mptest.c..$(T
3780: 43 43 58 29 20 2d 6f 20 24 40 20 2d 49 2e 20 24 CCX) -o $@ -I. $
3790: 28 54 4f 50 29 2f 6d 70 74 65 73 74 2f 6d 70 74 (TOP)/mptest/mpt
37a0: 65 73 74 2e 63 20 73 71 6c 69 74 65 33 2e 63 20 est.c sqlite3.c
37b0: 5c 0a 09 09 24 28 54 4c 49 42 53 29 20 24 28 54 \...$(TLIBS) $(T
37c0: 48 52 45 41 44 4c 49 42 29 0a 0a 4d 50 54 45 53 HREADLIB)..MPTES
37d0: 54 31 3d 2e 2f 6d 70 74 65 73 74 65 72 24 28 45 T1=./mptester$(E
37e0: 58 45 29 20 6d 70 74 65 73 74 31 2e 64 62 20 24 XE) mptest1.db $
37f0: 28 54 4f 50 29 2f 6d 70 74 65 73 74 2f 63 72 61 (TOP)/mptest/cra
3800: 73 68 30 31 2e 74 65 73 74 20 2d 2d 72 65 70 65 sh01.test --repe
3810: 61 74 20 32 30 0a 4d 50 54 45 53 54 32 3d 2e 2f at 20.MPTEST2=./
3820: 6d 70 74 65 73 74 65 72 24 28 45 58 45 29 20 6d mptester$(EXE) m
3830: 70 74 65 73 74 32 2e 64 62 20 24 28 54 4f 50 29 ptest2.db $(TOP)
3840: 2f 6d 70 74 65 73 74 2f 6d 75 6c 74 69 77 72 69 /mptest/multiwri
3850: 74 65 30 31 2e 74 65 73 74 20 2d 2d 72 65 70 65 te01.test --repe
3860: 61 74 20 32 30 0a 6d 70 74 65 73 74 3a 09 6d 70 at 20.mptest:.mp
3870: 74 65 73 74 65 72 24 28 45 58 45 29 0a 09 24 28 tester$(EXE)..$(
3880: 4d 50 54 45 53 54 31 29 20 2d 2d 6a 6f 75 72 6e MPTEST1) --journ
3890: 61 6c 6d 6f 64 65 20 44 45 4c 45 54 45 0a 09 24 almode DELETE..$
38a0: 28 4d 50 54 45 53 54 32 29 20 2d 2d 6a 6f 75 72 (MPTEST2) --jour
38b0: 6e 61 6c 6d 6f 64 65 20 57 41 4c 0a 09 24 28 4d nalmode WAL..$(M
38c0: 50 54 45 53 54 31 29 20 2d 2d 6a 6f 75 72 6e 61 PTEST1) --journa
38d0: 6c 6d 6f 64 65 20 57 41 4c 0a 09 24 28 4d 50 54 lmode WAL..$(MPT
38e0: 45 53 54 32 29 20 2d 2d 6a 6f 75 72 6e 61 6c 6d EST2) --journalm
38f0: 6f 64 65 20 50 45 52 53 49 53 54 0a 09 24 28 4d ode PERSIST..$(M
3900: 50 54 45 53 54 31 29 20 2d 2d 6a 6f 75 72 6e 61 PTEST1) --journa
3910: 6c 6d 6f 64 65 20 50 45 52 53 49 53 54 0a 09 24 lmode PERSIST..$
3920: 28 4d 50 54 45 53 54 32 29 20 2d 2d 6a 6f 75 72 (MPTEST2) --jour
3930: 6e 61 6c 6d 6f 64 65 20 54 52 55 4e 43 41 54 45 nalmode TRUNCATE
3940: 0a 09 24 28 4d 50 54 45 53 54 31 29 20 2d 2d 6a ..$(MPTEST1) --j
3950: 6f 75 72 6e 61 6c 6d 6f 64 65 20 54 52 55 4e 43 ournalmode TRUNC
3960: 41 54 45 0a 09 24 28 4d 50 54 45 53 54 32 29 20 ATE..$(MPTEST2)
3970: 2d 2d 6a 6f 75 72 6e 61 6c 6d 6f 64 65 20 44 45 --journalmode DE
3980: 4c 45 54 45 0a 0a 73 71 6c 69 74 65 33 2e 6f 3a LETE..sqlite3.o:
3990: 09 73 71 6c 69 74 65 33 2e 63 0a 09 24 28 54 43 .sqlite3.c..$(TC
39a0: 43 58 29 20 2d 49 2e 20 2d 63 20 73 71 6c 69 74 CX) -I. -c sqlit
39b0: 65 33 2e 63 0a 0a 23 20 54 68 69 73 20 74 61 72 e3.c..# This tar
39c0: 67 65 74 20 63 72 65 61 74 65 73 20 61 20 64 69 get creates a di
39d0: 72 65 63 74 6f 72 79 20 6e 61 6d 65 64 20 22 74 rectory named "t
39e0: 73 72 63 22 20 61 6e 64 20 66 69 6c 6c 73 20 69 src" and fills i
39f0: 74 20 77 69 74 68 0a 23 20 63 6f 70 69 65 73 20 t with.# copies
3a00: 6f 66 20 61 6c 6c 20 6f 66 20 74 68 65 20 43 20 of all of the C
3a10: 73 6f 75 72 63 65 20 63 6f 64 65 20 61 6e 64 20 source code and
3a20: 68 65 61 64 65 72 20 66 69 6c 65 73 20 6e 65 65 header files nee
3a30: 64 65 64 20 74 6f 0a 23 20 62 75 69 6c 64 20 6f ded to.# build o
3a40: 6e 20 74 68 65 20 74 61 72 67 65 74 20 73 79 73 n the target sys
3a50: 74 65 6d 2e 20 20 53 6f 6d 65 20 6f 66 20 74 68 tem. Some of th
3a60: 65 20 43 20 73 6f 75 72 63 65 20 63 6f 64 65 20 e C source code
3a70: 61 6e 64 20 68 65 61 64 65 72 0a 23 20 66 69 6c and header.# fil
3a80: 65 73 20 61 72 65 20 61 75 74 6f 6d 61 74 69 63 es are automatic
3a90: 61 6c 6c 79 20 67 65 6e 65 72 61 74 65 64 2e 20 ally generated.
3aa0: 20 54 68 69 73 20 74 61 72 67 65 74 20 74 61 6b This target tak
3ab0: 65 73 20 63 61 72 65 20 6f 66 0a 23 20 61 6c 6c es care of.# all
3ac0: 20 74 68 61 74 20 61 75 74 6f 6d 61 74 69 63 20 that automatic
3ad0: 67 65 6e 65 72 61 74 69 6f 6e 2e 0a 23 0a 74 61 generation..#.ta
3ae0: 72 67 65 74 5f 73 6f 75 72 63 65 3a 09 24 28 53 rget_source:.$(S
3af0: 52 43 29 20 24 28 45 58 54 48 44 52 29 20 24 28 RC) $(EXTHDR) $(
3b00: 54 4f 50 29 2f 74 6f 6f 6c 2f 76 64 62 65 2d 63 TOP)/tool/vdbe-c
3b10: 6f 6d 70 72 65 73 73 2e 74 63 6c 20 66 74 73 35 ompress.tcl fts5
3b20: 2e 63 0a 09 72 6d 20 2d 72 66 20 74 73 72 63 0a .c..rm -rf tsrc.
3b30: 09 6d 6b 64 69 72 20 74 73 72 63 0a 09 63 70 20 .mkdir tsrc..cp
3b40: 2d 66 20 24 28 53 52 43 29 20 24 28 45 58 54 48 -f $(SRC) $(EXTH
3b50: 44 52 29 20 74 73 72 63 0a 09 72 6d 20 74 73 72 DR) tsrc..rm tsr
3b60: 63 2f 73 71 6c 69 74 65 2e 68 2e 69 6e 20 74 73 c/sqlite.h.in ts
3b70: 72 63 2f 70 61 72 73 65 2e 79 0a 09 74 63 6c 73 rc/parse.y..tcls
3b80: 68 20 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 76 64 h $(TOP)/tool/vd
3b90: 62 65 2d 63 6f 6d 70 72 65 73 73 2e 74 63 6c 20 be-compress.tcl
3ba0: 24 28 4f 50 54 53 29 20 3c 74 73 72 63 2f 76 64 $(OPTS) <tsrc/vd
3bb0: 62 65 2e 63 20 3e 76 64 62 65 2e 6e 65 77 0a 09 be.c >vdbe.new..
3bc0: 6d 76 20 76 64 62 65 2e 6e 65 77 20 74 73 72 63 mv vdbe.new tsrc
3bd0: 2f 76 64 62 65 2e 63 0a 09 63 70 20 66 74 73 35 /vdbe.c..cp fts5
3be0: 2e 63 20 66 74 73 35 2e 68 20 74 73 72 63 0a 09 .c fts5.h tsrc..
3bf0: 74 6f 75 63 68 20 74 61 72 67 65 74 5f 73 6f 75 touch target_sou
3c00: 72 63 65 0a 0a 73 71 6c 69 74 65 33 2e 63 3a 09 rce..sqlite3.c:.
3c10: 74 61 72 67 65 74 5f 73 6f 75 72 63 65 20 24 28 target_source $(
3c20: 54 4f 50 29 2f 74 6f 6f 6c 2f 6d 6b 73 71 6c 69 TOP)/tool/mksqli
3c30: 74 65 33 63 2e 74 63 6c 0a 09 74 63 6c 73 68 20 te3c.tcl..tclsh
3c40: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 6d 6b 73 71 $(TOP)/tool/mksq
3c50: 6c 69 74 65 33 63 2e 74 63 6c 0a 09 63 70 20 74 lite3c.tcl..cp t
3c60: 73 72 63 2f 73 68 65 6c 6c 2e 63 20 74 73 72 63 src/shell.c tsrc
3c70: 2f 73 71 6c 69 74 65 33 65 78 74 2e 68 20 2e 0a /sqlite3ext.h ..
3c80: 09 63 70 20 24 28 54 4f 50 29 2f 65 78 74 2f 73 .cp $(TOP)/ext/s
3c90: 65 73 73 69 6f 6e 2f 73 71 6c 69 74 65 33 73 65 ession/sqlite3se
3ca0: 73 73 69 6f 6e 2e 68 20 2e 0a 09 65 63 68 6f 20 ssion.h ...echo
3cb0: 27 23 69 66 6e 64 65 66 20 55 53 45 5f 53 59 53 '#ifndef USE_SYS
3cc0: 54 45 4d 5f 53 51 4c 49 54 45 27 20 3e 74 63 6c TEM_SQLITE' >tcl
3cd0: 73 71 6c 69 74 65 33 2e 63 0a 09 63 61 74 20 73 sqlite3.c..cat s
3ce0: 71 6c 69 74 65 33 2e 63 20 3e 3e 74 63 6c 73 71 qlite3.c >>tclsq
3cf0: 6c 69 74 65 33 2e 63 0a 09 65 63 68 6f 20 27 23 lite3.c..echo '#
3d00: 65 6e 64 69 66 20 2f 2a 20 55 53 45 5f 53 59 53 endif /* USE_SYS
3d10: 54 45 4d 5f 53 51 4c 49 54 45 20 2a 2f 27 20 3e TEM_SQLITE */' >
3d20: 3e 74 63 6c 73 71 6c 69 74 65 33 2e 63 0a 09 63 >tclsqlite3.c..c
3d30: 61 74 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 63 at $(TOP)/src/tc
3d40: 6c 73 71 6c 69 74 65 2e 63 20 3e 3e 74 63 6c 73 lsqlite.c >>tcls
3d50: 71 6c 69 74 65 33 2e 63 0a 0a 73 71 6c 69 74 65 qlite3.c..sqlite
3d60: 33 65 78 74 2e 68 3a 09 74 61 72 67 65 74 5f 73 3ext.h:.target_s
3d70: 6f 75 72 63 65 0a 09 63 70 20 74 73 72 63 2f 73 ource..cp tsrc/s
3d80: 71 6c 69 74 65 33 65 78 74 2e 68 20 2e 0a 0a 73 qlite3ext.h ...s
3d90: 71 6c 69 74 65 33 2e 63 2d 64 65 62 75 67 3a 09 qlite3.c-debug:.
3da0: 74 61 72 67 65 74 5f 73 6f 75 72 63 65 20 24 28 target_source $(
3db0: 54 4f 50 29 2f 74 6f 6f 6c 2f 6d 6b 73 71 6c 69 TOP)/tool/mksqli
3dc0: 74 65 33 63 2e 74 63 6c 0a 09 74 63 6c 73 68 20 te3c.tcl..tclsh
3dd0: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 6d 6b 73 71 $(TOP)/tool/mksq
3de0: 6c 69 74 65 33 63 2e 74 63 6c 20 2d 2d 6c 69 6e lite3c.tcl --lin
3df0: 65 6d 61 63 72 6f 73 0a 09 65 63 68 6f 20 27 23 emacros..echo '#
3e00: 69 66 6e 64 65 66 20 55 53 45 5f 53 59 53 54 45 ifndef USE_SYSTE
3e10: 4d 5f 53 51 4c 49 54 45 27 20 3e 74 63 6c 73 71 M_SQLITE' >tclsq
3e20: 6c 69 74 65 33 2e 63 0a 09 63 61 74 20 73 71 6c lite3.c..cat sql
3e30: 69 74 65 33 2e 63 20 3e 3e 74 63 6c 73 71 6c 69 ite3.c >>tclsqli
3e40: 74 65 33 2e 63 0a 09 65 63 68 6f 20 27 23 65 6e te3.c..echo '#en
3e50: 64 69 66 20 2f 2a 20 55 53 45 5f 53 59 53 54 45 dif /* USE_SYSTE
3e60: 4d 5f 53 51 4c 49 54 45 20 2a 2f 27 20 3e 3e 74 M_SQLITE */' >>t
3e70: 63 6c 73 71 6c 69 74 65 33 2e 63 0a 09 65 63 68 clsqlite3.c..ech
3e80: 6f 20 27 23 6c 69 6e 65 20 31 20 22 74 63 6c 73 o '#line 1 "tcls
3e90: 71 6c 69 74 65 2e 63 22 27 20 3e 3e 74 63 6c 73 qlite.c"' >>tcls
3ea0: 71 6c 69 74 65 33 2e 63 0a 09 63 61 74 20 24 28 qlite3.c..cat $(
3eb0: 54 4f 50 29 2f 73 72 63 2f 74 63 6c 73 71 6c 69 TOP)/src/tclsqli
3ec0: 74 65 2e 63 20 3e 3e 74 63 6c 73 71 6c 69 74 65 te.c >>tclsqlite
3ed0: 33 2e 63 0a 0a 73 71 6c 69 74 65 33 2d 61 6c 6c 3.c..sqlite3-all
3ee0: 2e 63 3a 09 73 71 6c 69 74 65 33 2e 63 20 24 28 .c:.sqlite3.c $(
3ef0: 54 4f 50 29 2f 74 6f 6f 6c 2f 73 70 6c 69 74 2d TOP)/tool/split-
3f00: 73 71 6c 69 74 65 33 63 2e 74 63 6c 0a 09 74 63 sqlite3c.tcl..tc
3f10: 6c 73 68 20 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f lsh $(TOP)/tool/
3f20: 73 70 6c 69 74 2d 73 71 6c 69 74 65 33 63 2e 74 split-sqlite3c.t
3f30: 63 6c 0a 0a 66 74 73 32 61 6d 61 6c 2e 63 3a 09 cl..fts2amal.c:.
3f40: 74 61 72 67 65 74 5f 73 6f 75 72 63 65 20 24 28 target_source $(
3f50: 54 4f 50 29 2f 65 78 74 2f 66 74 73 32 2f 6d 6b TOP)/ext/fts2/mk
3f60: 66 74 73 32 61 6d 61 6c 2e 74 63 6c 0a 09 74 63 fts2amal.tcl..tc
3f70: 6c 73 68 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 lsh $(TOP)/ext/f
3f80: 74 73 32 2f 6d 6b 66 74 73 32 61 6d 61 6c 2e 74 ts2/mkfts2amal.t
3f90: 63 6c 0a 0a 66 74 73 33 61 6d 61 6c 2e 63 3a 09 cl..fts3amal.c:.
3fa0: 74 61 72 67 65 74 5f 73 6f 75 72 63 65 20 24 28 target_source $(
3fb0: 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 6d 6b TOP)/ext/fts3/mk
3fc0: 66 74 73 33 61 6d 61 6c 2e 74 63 6c 0a 09 74 63 fts3amal.tcl..tc
3fd0: 6c 73 68 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 lsh $(TOP)/ext/f
3fe0: 74 73 33 2f 6d 6b 66 74 73 33 61 6d 61 6c 2e 74 ts3/mkfts3amal.t
3ff0: 63 6c 0a 0a 23 20 52 75 6c 65 73 20 74 6f 20 62 cl..# Rules to b
4000: 75 69 6c 64 20 74 68 65 20 4c 45 4d 4f 4e 20 63 uild the LEMON c
4010: 6f 6d 70 69 6c 65 72 20 67 65 6e 65 72 61 74 6f ompiler generato
4020: 72 0a 23 0a 6c 65 6d 6f 6e 3a 09 24 28 54 4f 50 r.#.lemon:.$(TOP
4030: 29 2f 74 6f 6f 6c 2f 6c 65 6d 6f 6e 2e 63 20 24 )/tool/lemon.c $
4040: 28 54 4f 50 29 2f 74 6f 6f 6c 2f 6c 65 6d 70 61 (TOP)/tool/lempa
4050: 72 2e 63 0a 09 24 28 42 43 43 29 20 2d 6f 20 6c r.c..$(BCC) -o l
4060: 65 6d 6f 6e 20 24 28 54 4f 50 29 2f 74 6f 6f 6c emon $(TOP)/tool
4070: 2f 6c 65 6d 6f 6e 2e 63 0a 09 63 70 20 24 28 54 /lemon.c..cp $(T
4080: 4f 50 29 2f 74 6f 6f 6c 2f 6c 65 6d 70 61 72 2e OP)/tool/lempar.
4090: 63 20 2e 0a 0a 23 20 52 75 6c 65 73 20 74 6f 20 c ...# Rules to
40a0: 62 75 69 6c 64 20 69 6e 64 69 76 69 64 75 61 6c build individual
40b0: 20 2a 2e 6f 20 66 69 6c 65 73 20 66 72 6f 6d 20 *.o files from
40c0: 67 65 6e 65 72 61 74 65 64 20 2a 2e 63 20 66 69 generated *.c fi
40d0: 6c 65 73 2e 20 54 68 69 73 0a 23 20 61 70 70 6c les. This.# appl
40e0: 69 65 73 20 74 6f 3a 0a 23 0a 23 20 20 20 20 20 ies to:.#.#
40f0: 70 61 72 73 65 2e 6f 0a 23 20 20 20 20 20 6f 70 parse.o.# op
4100: 63 6f 64 65 73 2e 6f 0a 23 0a 25 2e 6f 3a 20 25 codes.o.#.%.o: %
4110: 2e 63 20 24 28 48 44 52 29 0a 09 24 28 54 43 43 .c $(HDR)..$(TCC
4120: 58 29 20 2d 63 20 24 3c 0a 0a 23 20 52 75 6c 65 X) -c $<..# Rule
4130: 73 20 74 6f 20 62 75 69 6c 64 20 69 6e 64 69 76 s to build indiv
4140: 69 64 75 61 6c 20 2a 2e 6f 20 66 69 6c 65 73 20 idual *.o files
4150: 66 72 6f 6d 20 66 69 6c 65 73 20 69 6e 20 74 68 from files in th
4160: 65 20 73 72 63 20 64 69 72 65 63 74 6f 72 79 2e e src directory.
4170: 0a 23 0a 25 2e 6f 3a 20 24 28 54 4f 50 29 2f 73 .#.%.o: $(TOP)/s
4180: 72 63 2f 25 2e 63 20 24 28 48 44 52 29 0a 09 24 rc/%.c $(HDR)..$
4190: 28 54 43 43 58 29 20 2d 63 20 24 3c 0a 0a 74 63 (TCCX) -c $<..tc
41a0: 6c 73 71 6c 69 74 65 2e 6f 3a 09 24 28 54 4f 50 lsqlite.o:.$(TOP
41b0: 29 2f 73 72 63 2f 74 63 6c 73 71 6c 69 74 65 2e )/src/tclsqlite.
41c0: 63 20 24 28 48 44 52 29 0a 09 24 28 54 43 43 58 c $(HDR)..$(TCCX
41d0: 29 20 24 28 54 43 4c 5f 46 4c 41 47 53 29 20 2d ) $(TCL_FLAGS) -
41e0: 63 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 63 6c c $(TOP)/src/tcl
41f0: 73 71 6c 69 74 65 2e 63 0a 0a 0a 0a 23 20 52 75 sqlite.c....# Ru
4200: 6c 65 73 20 74 6f 20 62 75 69 6c 64 20 6f 70 63 les to build opc
4210: 6f 64 65 73 2e 63 20 61 6e 64 20 6f 70 63 6f 64 odes.c and opcod
4220: 65 73 2e 68 0a 23 0a 6f 70 63 6f 64 65 73 2e 63 es.h.#.opcodes.c
4230: 3a 09 6f 70 63 6f 64 65 73 2e 68 20 24 28 54 4f :.opcodes.h $(TO
4240: 50 29 2f 74 6f 6f 6c 2f 6d 6b 6f 70 63 6f 64 65 P)/tool/mkopcode
4250: 63 2e 74 63 6c 0a 09 74 63 6c 73 68 20 24 28 54 c.tcl..tclsh $(T
4260: 4f 50 29 2f 74 6f 6f 6c 2f 6d 6b 6f 70 63 6f 64 OP)/tool/mkopcod
4270: 65 63 2e 74 63 6c 20 6f 70 63 6f 64 65 73 2e 68 ec.tcl opcodes.h
4280: 20 3e 6f 70 63 6f 64 65 73 2e 63 0a 0a 6f 70 63 >opcodes.c..opc
4290: 6f 64 65 73 2e 68 3a 09 70 61 72 73 65 2e 68 20 odes.h:.parse.h
42a0: 24 28 54 4f 50 29 2f 73 72 63 2f 76 64 62 65 2e $(TOP)/src/vdbe.
42b0: 63 20 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 6d 6b c $(TOP)/tool/mk
42c0: 6f 70 63 6f 64 65 68 2e 74 63 6c 0a 09 63 61 74 opcodeh.tcl..cat
42d0: 20 70 61 72 73 65 2e 68 20 24 28 54 4f 50 29 2f parse.h $(TOP)/
42e0: 73 72 63 2f 76 64 62 65 2e 63 20 7c 20 5c 0a 09 src/vdbe.c | \..
42f0: 09 74 63 6c 73 68 20 24 28 54 4f 50 29 2f 74 6f .tclsh $(TOP)/to
4300: 6f 6c 2f 6d 6b 6f 70 63 6f 64 65 68 2e 74 63 6c ol/mkopcodeh.tcl
4310: 20 3e 6f 70 63 6f 64 65 73 2e 68 0a 0a 23 20 52 >opcodes.h..# R
4320: 75 6c 65 73 20 74 6f 20 62 75 69 6c 64 20 70 61 ules to build pa
4330: 72 73 65 2e 63 20 61 6e 64 20 70 61 72 73 65 2e rse.c and parse.
4340: 68 20 2d 20 74 68 65 20 6f 75 74 70 75 74 73 20 h - the outputs
4350: 6f 66 20 6c 65 6d 6f 6e 2e 0a 23 0a 70 61 72 73 of lemon..#.pars
4360: 65 2e 68 3a 09 70 61 72 73 65 2e 63 0a 0a 70 61 e.h:.parse.c..pa
4370: 72 73 65 2e 63 3a 09 24 28 54 4f 50 29 2f 73 72 rse.c:.$(TOP)/sr
4380: 63 2f 70 61 72 73 65 2e 79 20 6c 65 6d 6f 6e 20 c/parse.y lemon
4390: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 61 64 64 6f $(TOP)/tool/addo
43a0: 70 63 6f 64 65 73 2e 74 63 6c 0a 09 63 70 20 24 pcodes.tcl..cp $
43b0: 28 54 4f 50 29 2f 73 72 63 2f 70 61 72 73 65 2e (TOP)/src/parse.
43c0: 79 20 2e 0a 09 72 6d 20 2d 66 20 70 61 72 73 65 y ...rm -f parse
43d0: 2e 68 0a 09 2e 2f 6c 65 6d 6f 6e 20 2d 73 20 24 .h.../lemon -s $
43e0: 28 4f 50 54 53 29 20 70 61 72 73 65 2e 79 0a 09 (OPTS) parse.y..
43f0: 6d 76 20 70 61 72 73 65 2e 68 20 70 61 72 73 65 mv parse.h parse
4400: 2e 68 2e 74 65 6d 70 0a 09 74 63 6c 73 68 20 24 .h.temp..tclsh $
4410: 28 54 4f 50 29 2f 74 6f 6f 6c 2f 61 64 64 6f 70 (TOP)/tool/addop
4420: 63 6f 64 65 73 2e 74 63 6c 20 70 61 72 73 65 2e codes.tcl parse.
4430: 68 2e 74 65 6d 70 20 3e 70 61 72 73 65 2e 68 0a h.temp >parse.h.
4440: 0a 73 71 6c 69 74 65 33 2e 68 3a 09 24 28 54 4f .sqlite3.h:.$(TO
4450: 50 29 2f 73 72 63 2f 73 71 6c 69 74 65 2e 68 2e P)/src/sqlite.h.
4460: 69 6e 20 24 28 54 4f 50 29 2f 6d 61 6e 69 66 65 in $(TOP)/manife
4470: 73 74 2e 75 75 69 64 20 24 28 54 4f 50 29 2f 56 st.uuid $(TOP)/V
4480: 45 52 53 49 4f 4e 20 24 28 54 4f 50 29 2f 65 78 ERSION $(TOP)/ex
4490: 74 2f 72 74 72 65 65 2f 73 71 6c 69 74 65 33 72 t/rtree/sqlite3r
44a0: 74 72 65 65 2e 68 0a 09 74 63 6c 73 68 20 24 28 tree.h..tclsh $(
44b0: 54 4f 50 29 2f 74 6f 6f 6c 2f 6d 6b 73 71 6c 69 TOP)/tool/mksqli
44c0: 74 65 33 68 2e 74 63 6c 20 24 28 54 4f 50 29 20 te3h.tcl $(TOP)
44d0: 3e 73 71 6c 69 74 65 33 2e 68 0a 0a 6b 65 79 77 >sqlite3.h..keyw
44e0: 6f 72 64 68 61 73 68 2e 68 3a 09 24 28 54 4f 50 ordhash.h:.$(TOP
44f0: 29 2f 74 6f 6f 6c 2f 6d 6b 6b 65 79 77 6f 72 64 )/tool/mkkeyword
4500: 68 61 73 68 2e 63 0a 09 24 28 42 43 43 29 20 2d hash.c..$(BCC) -
4510: 6f 20 6d 6b 6b 65 79 77 6f 72 64 68 61 73 68 20 o mkkeywordhash
4520: 24 28 4f 50 54 53 29 20 24 28 54 4f 50 29 2f 74 $(OPTS) $(TOP)/t
4530: 6f 6f 6c 2f 6d 6b 6b 65 79 77 6f 72 64 68 61 73 ool/mkkeywordhas
4540: 68 2e 63 0a 09 2e 2f 6d 6b 6b 65 79 77 6f 72 64 h.c.../mkkeyword
4550: 68 61 73 68 20 3e 6b 65 79 77 6f 72 64 68 61 73 hash >keywordhas
4560: 68 2e 68 0a 0a 0a 0a 23 20 52 75 6c 65 73 20 74 h.h....# Rules t
4570: 6f 20 62 75 69 6c 64 20 74 68 65 20 65 78 74 65 o build the exte
4580: 6e 73 69 6f 6e 20 6f 62 6a 65 63 74 73 2e 0a 23 nsion objects..#
4590: 0a 69 63 75 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 .icu.o:.$(TOP)/e
45a0: 78 74 2f 69 63 75 2f 69 63 75 2e 63 20 24 28 48 xt/icu/icu.c $(H
45b0: 44 52 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 DR) $(EXTHDR)..$
45c0: 28 54 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f (TCCX) -DSQLITE_
45d0: 43 4f 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 CORE -c $(TOP)/e
45e0: 78 74 2f 69 63 75 2f 69 63 75 2e 63 0a 0a 66 74 xt/icu/icu.c..ft
45f0: 73 32 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 78 74 s2.o:.$(TOP)/ext
4600: 2f 66 74 73 32 2f 66 74 73 32 2e 63 20 24 28 48 /fts2/fts2.c $(H
4610: 44 52 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 DR) $(EXTHDR)..$
4620: 28 54 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f (TCCX) -DSQLITE_
4630: 43 4f 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 CORE -c $(TOP)/e
4640: 78 74 2f 66 74 73 32 2f 66 74 73 32 2e 63 0a 0a xt/fts2/fts2.c..
4650: 66 74 73 32 5f 68 61 73 68 2e 6f 3a 09 24 28 54 fts2_hash.o:.$(T
4660: 4f 50 29 2f 65 78 74 2f 66 74 73 32 2f 66 74 73 OP)/ext/fts2/fts
4670: 32 5f 68 61 73 68 2e 63 20 24 28 48 44 52 29 20 2_hash.c $(HDR)
4680: 24 28 45 58 54 48 44 52 29 0a 09 24 28 54 43 43 $(EXTHDR)..$(TCC
4690: 58 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f 52 45 X) -DSQLITE_CORE
46a0: 20 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 -c $(TOP)/ext/f
46b0: 74 73 32 2f 66 74 73 32 5f 68 61 73 68 2e 63 0a ts2/fts2_hash.c.
46c0: 0a 66 74 73 32 5f 69 63 75 2e 6f 3a 09 24 28 54 .fts2_icu.o:.$(T
46d0: 4f 50 29 2f 65 78 74 2f 66 74 73 32 2f 66 74 73 OP)/ext/fts2/fts
46e0: 32 5f 69 63 75 2e 63 20 24 28 48 44 52 29 20 24 2_icu.c $(HDR) $
46f0: 28 45 58 54 48 44 52 29 0a 09 24 28 54 43 43 58 (EXTHDR)..$(TCCX
4700: 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f 52 45 20 ) -DSQLITE_CORE
4710: 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 -c $(TOP)/ext/ft
4720: 73 32 2f 66 74 73 32 5f 69 63 75 2e 63 0a 0a 66 s2/fts2_icu.c..f
4730: 74 73 32 5f 70 6f 72 74 65 72 2e 6f 3a 09 24 28 ts2_porter.o:.$(
4740: 54 4f 50 29 2f 65 78 74 2f 66 74 73 32 2f 66 74 TOP)/ext/fts2/ft
4750: 73 32 5f 70 6f 72 74 65 72 2e 63 20 24 28 48 44 s2_porter.c $(HD
4760: 52 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 28 R) $(EXTHDR)..$(
4770: 54 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f 43 TCCX) -DSQLITE_C
4780: 4f 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 78 ORE -c $(TOP)/ex
4790: 74 2f 66 74 73 32 2f 66 74 73 32 5f 70 6f 72 74 t/fts2/fts2_port
47a0: 65 72 2e 63 0a 0a 66 74 73 32 5f 74 6f 6b 65 6e er.c..fts2_token
47b0: 69 7a 65 72 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 izer.o:.$(TOP)/e
47c0: 78 74 2f 66 74 73 32 2f 66 74 73 32 5f 74 6f 6b xt/fts2/fts2_tok
47d0: 65 6e 69 7a 65 72 2e 63 20 24 28 48 44 52 29 20 enizer.c $(HDR)
47e0: 24 28 45 58 54 48 44 52 29 0a 09 24 28 54 43 43 $(EXTHDR)..$(TCC
47f0: 58 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f 52 45 X) -DSQLITE_CORE
4800: 20 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 -c $(TOP)/ext/f
4810: 74 73 32 2f 66 74 73 32 5f 74 6f 6b 65 6e 69 7a ts2/fts2_tokeniz
4820: 65 72 2e 63 0a 0a 66 74 73 32 5f 74 6f 6b 65 6e er.c..fts2_token
4830: 69 7a 65 72 31 2e 6f 3a 09 24 28 54 4f 50 29 2f izer1.o:.$(TOP)/
4840: 65 78 74 2f 66 74 73 32 2f 66 74 73 32 5f 74 6f ext/fts2/fts2_to
4850: 6b 65 6e 69 7a 65 72 31 2e 63 20 24 28 48 44 52 kenizer1.c $(HDR
4860: 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 28 54 ) $(EXTHDR)..$(T
4870: 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f CCX) -DSQLITE_CO
4880: 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 RE -c $(TOP)/ext
4890: 2f 66 74 73 32 2f 66 74 73 32 5f 74 6f 6b 65 6e /fts2/fts2_token
48a0: 69 7a 65 72 31 2e 63 0a 0a 66 74 73 33 2e 6f 3a izer1.c..fts3.o:
48b0: 09 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 .$(TOP)/ext/fts3
48c0: 2f 66 74 73 33 2e 63 20 24 28 48 44 52 29 20 24 /fts3.c $(HDR) $
48d0: 28 45 58 54 48 44 52 29 0a 09 24 28 54 43 43 58 (EXTHDR)..$(TCCX
48e0: 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f 52 45 20 ) -DSQLITE_CORE
48f0: 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 -c $(TOP)/ext/ft
4900: 73 33 2f 66 74 73 33 2e 63 0a 0a 66 74 73 33 5f s3/fts3.c..fts3_
4910: 61 75 78 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 78 aux.o:.$(TOP)/ex
4920: 74 2f 66 74 73 33 2f 66 74 73 33 5f 61 75 78 2e t/fts3/fts3_aux.
4930: 63 20 24 28 48 44 52 29 20 24 28 45 58 54 48 44 c $(HDR) $(EXTHD
4940: 52 29 0a 09 24 28 54 43 43 58 29 20 2d 44 53 51 R)..$(TCCX) -DSQ
4950: 4c 49 54 45 5f 43 4f 52 45 20 2d 63 20 24 28 54 LITE_CORE -c $(T
4960: 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 OP)/ext/fts3/fts
4970: 33 5f 61 75 78 2e 63 0a 0a 66 74 73 33 5f 65 78 3_aux.c..fts3_ex
4980: 70 72 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 78 74 pr.o:.$(TOP)/ext
4990: 2f 66 74 73 33 2f 66 74 73 33 5f 65 78 70 72 2e /fts3/fts3_expr.
49a0: 63 20 24 28 48 44 52 29 20 24 28 45 58 54 48 44 c $(HDR) $(EXTHD
49b0: 52 29 0a 09 24 28 54 43 43 58 29 20 2d 44 53 51 R)..$(TCCX) -DSQ
49c0: 4c 49 54 45 5f 43 4f 52 45 20 2d 63 20 24 28 54 LITE_CORE -c $(T
49d0: 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 OP)/ext/fts3/fts
49e0: 33 5f 65 78 70 72 2e 63 0a 0a 66 74 73 33 5f 68 3_expr.c..fts3_h
49f0: 61 73 68 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 78 ash.o:.$(TOP)/ex
4a00: 74 2f 66 74 73 33 2f 66 74 73 33 5f 68 61 73 68 t/fts3/fts3_hash
4a10: 2e 63 20 24 28 48 44 52 29 20 24 28 45 58 54 48 .c $(HDR) $(EXTH
4a20: 44 52 29 0a 09 24 28 54 43 43 58 29 20 2d 44 53 DR)..$(TCCX) -DS
4a30: 51 4c 49 54 45 5f 43 4f 52 45 20 2d 63 20 24 28 QLITE_CORE -c $(
4a40: 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 TOP)/ext/fts3/ft
4a50: 73 33 5f 68 61 73 68 2e 63 0a 0a 66 74 73 33 5f s3_hash.c..fts3_
4a60: 69 63 75 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 78 icu.o:.$(TOP)/ex
4a70: 74 2f 66 74 73 33 2f 66 74 73 33 5f 69 63 75 2e t/fts3/fts3_icu.
4a80: 63 20 24 28 48 44 52 29 20 24 28 45 58 54 48 44 c $(HDR) $(EXTHD
4a90: 52 29 0a 09 24 28 54 43 43 58 29 20 2d 44 53 51 R)..$(TCCX) -DSQ
4aa0: 4c 49 54 45 5f 43 4f 52 45 20 2d 63 20 24 28 54 LITE_CORE -c $(T
4ab0: 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 OP)/ext/fts3/fts
4ac0: 33 5f 69 63 75 2e 63 0a 0a 66 74 73 33 5f 73 6e 3_icu.c..fts3_sn
4ad0: 69 70 70 65 74 2e 6f 3a 09 24 28 54 4f 50 29 2f ippet.o:.$(TOP)/
4ae0: 65 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 73 6e ext/fts3/fts3_sn
4af0: 69 70 70 65 74 2e 63 20 24 28 48 44 52 29 20 24 ippet.c $(HDR) $
4b00: 28 45 58 54 48 44 52 29 0a 09 24 28 54 43 43 58 (EXTHDR)..$(TCCX
4b10: 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f 52 45 20 ) -DSQLITE_CORE
4b20: 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 -c $(TOP)/ext/ft
4b30: 73 33 2f 66 74 73 33 5f 73 6e 69 70 70 65 74 2e s3/fts3_snippet.
4b40: 63 0a 0a 66 74 73 33 5f 70 6f 72 74 65 72 2e 6f c..fts3_porter.o
4b50: 3a 09 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 :.$(TOP)/ext/fts
4b60: 33 2f 66 74 73 33 5f 70 6f 72 74 65 72 2e 63 20 3/fts3_porter.c
4b70: 24 28 48 44 52 29 20 24 28 45 58 54 48 44 52 29 $(HDR) $(EXTHDR)
4b80: 0a 09 24 28 54 43 43 58 29 20 2d 44 53 51 4c 49 ..$(TCCX) -DSQLI
4b90: 54 45 5f 43 4f 52 45 20 2d 63 20 24 28 54 4f 50 TE_CORE -c $(TOP
4ba0: 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 33 5f )/ext/fts3/fts3_
4bb0: 70 6f 72 74 65 72 2e 63 0a 0a 66 74 73 33 5f 74 porter.c..fts3_t
4bc0: 6f 6b 65 6e 69 7a 65 72 2e 6f 3a 09 24 28 54 4f okenizer.o:.$(TO
4bd0: 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 33 P)/ext/fts3/fts3
4be0: 5f 74 6f 6b 65 6e 69 7a 65 72 2e 63 20 24 28 48 _tokenizer.c $(H
4bf0: 44 52 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 DR) $(EXTHDR)..$
4c00: 28 54 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f (TCCX) -DSQLITE_
4c10: 43 4f 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 CORE -c $(TOP)/e
4c20: 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 74 6f 6b xt/fts3/fts3_tok
4c30: 65 6e 69 7a 65 72 2e 63 0a 0a 66 74 73 33 5f 74 enizer.c..fts3_t
4c40: 6f 6b 65 6e 69 7a 65 72 31 2e 6f 3a 09 24 28 54 okenizer1.o:.$(T
4c50: 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 OP)/ext/fts3/fts
4c60: 33 5f 74 6f 6b 65 6e 69 7a 65 72 31 2e 63 20 24 3_tokenizer1.c $
4c70: 28 48 44 52 29 20 24 28 45 58 54 48 44 52 29 0a (HDR) $(EXTHDR).
4c80: 09 24 28 54 43 43 58 29 20 2d 44 53 51 4c 49 54 .$(TCCX) -DSQLIT
4c90: 45 5f 43 4f 52 45 20 2d 63 20 24 28 54 4f 50 29 E_CORE -c $(TOP)
4ca0: 2f 65 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 74 /ext/fts3/fts3_t
4cb0: 6f 6b 65 6e 69 7a 65 72 31 2e 63 0a 0a 66 74 73 okenizer1.c..fts
4cc0: 33 5f 74 6f 6b 65 6e 69 7a 65 5f 76 74 61 62 2e 3_tokenize_vtab.
4cd0: 6f 3a 09 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 o:.$(TOP)/ext/ft
4ce0: 73 33 2f 66 74 73 33 5f 74 6f 6b 65 6e 69 7a 65 s3/fts3_tokenize
4cf0: 5f 76 74 61 62 2e 63 20 24 28 48 44 52 29 20 24 _vtab.c $(HDR) $
4d00: 28 45 58 54 48 44 52 29 0a 09 24 28 54 43 43 58 (EXTHDR)..$(TCCX
4d10: 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f 52 45 20 ) -DSQLITE_CORE
4d20: 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 -c $(TOP)/ext/ft
4d30: 73 33 2f 66 74 73 33 5f 74 6f 6b 65 6e 69 7a 65 s3/fts3_tokenize
4d40: 5f 76 74 61 62 2e 63 0a 0a 66 74 73 33 5f 75 6e _vtab.c..fts3_un
4d50: 69 63 6f 64 65 2e 6f 3a 09 24 28 54 4f 50 29 2f icode.o:.$(TOP)/
4d60: 65 78 74 2f 66 74 73 33 2f 66 74 73 33 5f 75 6e ext/fts3/fts3_un
4d70: 69 63 6f 64 65 2e 63 20 24 28 48 44 52 29 20 24 icode.c $(HDR) $
4d80: 28 45 58 54 48 44 52 29 0a 09 24 28 54 43 43 58 (EXTHDR)..$(TCCX
4d90: 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f 52 45 20 ) -DSQLITE_CORE
4da0: 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 -c $(TOP)/ext/ft
4db0: 73 33 2f 66 74 73 33 5f 75 6e 69 63 6f 64 65 2e s3/fts3_unicode.
4dc0: 63 0a 0a 66 74 73 33 5f 75 6e 69 63 6f 64 65 32 c..fts3_unicode2
4dd0: 2e 6f 3a 09 24 28 54 4f 50 29 2f 65 78 74 2f 66 .o:.$(TOP)/ext/f
4de0: 74 73 33 2f 66 74 73 33 5f 75 6e 69 63 6f 64 65 ts3/fts3_unicode
4df0: 32 2e 63 20 24 28 48 44 52 29 20 24 28 45 58 54 2.c $(HDR) $(EXT
4e00: 48 44 52 29 0a 09 24 28 54 43 43 58 29 20 2d 44 HDR)..$(TCCX) -D
4e10: 53 51 4c 49 54 45 5f 43 4f 52 45 20 2d 63 20 24 SQLITE_CORE -c $
4e20: 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 (TOP)/ext/fts3/f
4e30: 74 73 33 5f 75 6e 69 63 6f 64 65 32 2e 63 0a 0a ts3_unicode2.c..
4e40: 66 74 73 33 5f 77 72 69 74 65 2e 6f 3a 09 24 28 fts3_write.o:.$(
4e50: 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 2f 66 74 TOP)/ext/fts3/ft
4e60: 73 33 5f 77 72 69 74 65 2e 63 20 24 28 48 44 52 s3_write.c $(HDR
4e70: 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 28 54 ) $(EXTHDR)..$(T
4e80: 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f CCX) -DSQLITE_CO
4e90: 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 RE -c $(TOP)/ext
4ea0: 2f 66 74 73 33 2f 66 74 73 33 5f 77 72 69 74 65 /fts3/fts3_write
4eb0: 2e 63 0a 0a 66 74 73 35 2e 6f 3a 09 66 74 73 35 .c..fts5.o:.fts5
4ec0: 2e 63 0a 09 24 28 54 43 43 58 29 20 2d 44 53 51 .c..$(TCCX) -DSQ
4ed0: 4c 49 54 45 5f 43 4f 52 45 20 2d 63 20 66 74 73 LITE_CORE -c fts
4ee0: 35 2e 63 0a 0a 6a 73 6f 6e 31 2e 6f 3a 09 24 28 5.c..json1.o:.$(
4ef0: 54 4f 50 29 2f 65 78 74 2f 6d 69 73 63 2f 6a 73 TOP)/ext/misc/js
4f00: 6f 6e 31 2e 63 0a 09 24 28 54 43 43 58 29 20 2d on1.c..$(TCCX) -
4f10: 44 53 51 4c 49 54 45 5f 43 4f 52 45 20 2d 63 20 DSQLITE_CORE -c
4f20: 24 28 54 4f 50 29 2f 65 78 74 2f 6d 69 73 63 2f $(TOP)/ext/misc/
4f30: 6a 73 6f 6e 31 2e 63 0a 0a 72 74 72 65 65 2e 6f json1.c..rtree.o
4f40: 3a 09 24 28 54 4f 50 29 2f 65 78 74 2f 72 74 72 :.$(TOP)/ext/rtr
4f50: 65 65 2f 72 74 72 65 65 2e 63 20 24 28 48 44 52 ee/rtree.c $(HDR
4f60: 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 28 54 ) $(EXTHDR)..$(T
4f70: 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f CCX) -DSQLITE_CO
4f80: 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 RE -c $(TOP)/ext
4f90: 2f 72 74 72 65 65 2f 72 74 72 65 65 2e 63 0a 0a /rtree/rtree.c..
4fa0: 0a 0a 66 74 73 35 70 61 72 73 65 2e 63 3a 09 24 ..fts5parse.c:.$
4fb0: 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 35 2f 66 (TOP)/ext/fts5/f
4fc0: 74 73 35 70 61 72 73 65 2e 79 20 6c 65 6d 6f 6e ts5parse.y lemon
4fd0: 20 0a 09 63 70 20 24 28 54 4f 50 29 2f 65 78 74 ..cp $(TOP)/ext
4fe0: 2f 66 74 73 35 2f 66 74 73 35 70 61 72 73 65 2e /fts5/fts5parse.
4ff0: 79 20 2e 0a 09 72 6d 20 2d 66 20 66 74 73 35 70 y ...rm -f fts5p
5000: 61 72 73 65 2e 68 0a 09 2e 2f 6c 65 6d 6f 6e 20 arse.h.../lemon
5010: 24 28 4f 50 54 53 29 20 66 74 73 35 70 61 72 73 $(OPTS) fts5pars
5020: 65 2e 79 0a 0a 66 74 73 35 70 61 72 73 65 2e 68 e.y..fts5parse.h
5030: 3a 20 66 74 73 35 70 61 72 73 65 2e 63 0a 0a 66 : fts5parse.c..f
5040: 74 73 35 2e 63 3a 20 24 28 46 54 53 35 5f 53 52 ts5.c: $(FTS5_SR
5050: 43 29 20 24 28 46 54 53 35 5f 48 44 52 29 0a 09 C) $(FTS5_HDR)..
5060: 74 63 6c 73 68 20 24 28 54 4f 50 29 2f 65 78 74 tclsh $(TOP)/ext
5070: 2f 66 74 73 35 2f 74 6f 6f 6c 2f 6d 6b 66 74 73 /fts5/tool/mkfts
5080: 35 63 2e 74 63 6c 0a 09 63 70 20 24 28 54 4f 50 5c.tcl..cp $(TOP
5090: 29 2f 65 78 74 2f 66 74 73 35 2f 66 74 73 35 2e )/ext/fts5/fts5.
50a0: 68 20 2e 0a 0a 75 73 65 72 61 75 74 68 2e 6f 3a h ...userauth.o:
50b0: 09 24 28 54 4f 50 29 2f 65 78 74 2f 75 73 65 72 .$(TOP)/ext/user
50c0: 61 75 74 68 2f 75 73 65 72 61 75 74 68 2e 63 20 auth/userauth.c
50d0: 24 28 48 44 52 29 20 24 28 45 58 54 48 44 52 29 $(HDR) $(EXTHDR)
50e0: 0a 09 24 28 54 43 43 58 29 20 2d 44 53 51 4c 49 ..$(TCCX) -DSQLI
50f0: 54 45 5f 43 4f 52 45 20 2d 63 20 24 28 54 4f 50 TE_CORE -c $(TOP
5100: 29 2f 65 78 74 2f 75 73 65 72 61 75 74 68 2f 75 )/ext/userauth/u
5110: 73 65 72 61 75 74 68 2e 63 0a 0a 73 71 6c 69 74 serauth.c..sqlit
5120: 65 33 73 65 73 73 69 6f 6e 2e 6f 3a 09 24 28 54 e3session.o:.$(T
5130: 4f 50 29 2f 65 78 74 2f 73 65 73 73 69 6f 6e 2f OP)/ext/session/
5140: 73 71 6c 69 74 65 33 73 65 73 73 69 6f 6e 2e 63 sqlite3session.c
5150: 20 24 28 48 44 52 29 20 24 28 45 58 54 48 44 52 $(HDR) $(EXTHDR
5160: 29 0a 09 24 28 54 43 43 58 29 20 2d 44 53 51 4c )..$(TCCX) -DSQL
5170: 49 54 45 5f 43 4f 52 45 20 2d 63 20 24 28 54 4f ITE_CORE -c $(TO
5180: 50 29 2f 65 78 74 2f 73 65 73 73 69 6f 6e 2f 73 P)/ext/session/s
5190: 71 6c 69 74 65 33 73 65 73 73 69 6f 6e 2e 63 0a qlite3session.c.
51a0: 0a 73 71 6c 69 74 65 33 72 62 75 2e 6f 3a 09 24 .sqlite3rbu.o:.$
51b0: 28 54 4f 50 29 2f 65 78 74 2f 72 62 75 2f 73 71 (TOP)/ext/rbu/sq
51c0: 6c 69 74 65 33 72 62 75 2e 63 20 24 28 48 44 52 lite3rbu.c $(HDR
51d0: 29 20 24 28 45 58 54 48 44 52 29 0a 09 24 28 54 ) $(EXTHDR)..$(T
51e0: 43 43 58 29 20 2d 44 53 51 4c 49 54 45 5f 43 4f CCX) -DSQLITE_CO
51f0: 52 45 20 2d 63 20 24 28 54 4f 50 29 2f 65 78 74 RE -c $(TOP)/ext
5200: 2f 72 62 75 2f 73 71 6c 69 74 65 33 72 62 75 2e /rbu/sqlite3rbu.
5210: 63 0a 0a 23 20 52 75 6c 65 73 20 66 6f 72 20 62 c..# Rules for b
5220: 75 69 6c 64 69 6e 67 20 74 65 73 74 20 70 72 6f uilding test pro
5230: 67 72 61 6d 73 20 61 6e 64 20 66 6f 72 20 72 75 grams and for ru
5240: 6e 6e 69 6e 67 20 74 65 73 74 73 0a 23 0a 74 63 nning tests.#.tc
5250: 6c 73 71 6c 69 74 65 33 3a 09 24 28 54 4f 50 29 lsqlite3:.$(TOP)
5260: 2f 73 72 63 2f 74 63 6c 73 71 6c 69 74 65 2e 63 /src/tclsqlite.c
5270: 20 6c 69 62 73 71 6c 69 74 65 33 2e 61 0a 09 24 libsqlite3.a..$
5280: 28 54 43 43 58 29 20 24 28 54 43 4c 5f 46 4c 41 (TCCX) $(TCL_FLA
5290: 47 53 29 20 2d 44 54 43 4c 53 48 3d 31 20 2d 6f GS) -DTCLSH=1 -o
52a0: 20 74 63 6c 73 71 6c 69 74 65 33 20 5c 0a 09 09 tclsqlite3 \...
52b0: 24 28 54 4f 50 29 2f 73 72 63 2f 74 63 6c 73 71 $(TOP)/src/tclsq
52c0: 6c 69 74 65 2e 63 20 6c 69 62 73 71 6c 69 74 65 lite.c libsqlite
52d0: 33 2e 61 20 24 28 4c 49 42 54 43 4c 29 20 24 28 3.a $(LIBTCL) $(
52e0: 54 48 52 45 41 44 4c 49 42 29 0a 0a 73 71 6c 69 THREADLIB)..sqli
52f0: 74 65 33 5f 61 6e 61 6c 79 7a 65 72 2e 63 3a 20 te3_analyzer.c:
5300: 73 71 6c 69 74 65 33 2e 63 20 24 28 54 4f 50 29 sqlite3.c $(TOP)
5310: 2f 73 72 63 2f 74 63 6c 73 71 6c 69 74 65 2e 63 /src/tclsqlite.c
5320: 20 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 70 61 $(TOP)/tool/spa
5330: 63 65 61 6e 61 6c 2e 74 63 6c 0a 09 65 63 68 6f ceanal.tcl..echo
5340: 20 22 23 64 65 66 69 6e 65 20 54 43 4c 53 48 20 "#define TCLSH
5350: 32 22 20 3e 20 24 40 0a 09 65 63 68 6f 20 22 23 2" > $@..echo "#
5360: 64 65 66 69 6e 65 20 53 51 4c 49 54 45 5f 45 4e define SQLITE_EN
5370: 41 42 4c 45 5f 44 42 53 54 41 54 5f 56 54 41 42 ABLE_DBSTAT_VTAB
5380: 20 31 22 20 3e 3e 20 24 40 0a 09 63 61 74 20 73 1" >> $@..cat s
5390: 71 6c 69 74 65 33 2e 63 20 24 28 54 4f 50 29 2f qlite3.c $(TOP)/
53a0: 73 72 63 2f 74 63 6c 73 71 6c 69 74 65 2e 63 20 src/tclsqlite.c
53b0: 3e 3e 20 24 40 0a 09 65 63 68 6f 20 22 73 74 61 >> $@..echo "sta
53c0: 74 69 63 20 63 6f 6e 73 74 20 63 68 61 72 20 2a tic const char *
53d0: 74 63 6c 73 68 5f 6d 61 69 6e 5f 6c 6f 6f 70 28 tclsh_main_loop(
53e0: 76 6f 69 64 29 7b 22 20 3e 3e 20 24 40 0a 09 65 void){" >> $@..e
53f0: 63 68 6f 20 22 73 74 61 74 69 63 20 63 6f 6e 73 cho "static cons
5400: 74 20 63 68 61 72 20 2a 7a 4d 61 69 6e 6c 6f 6f t char *zMainloo
5410: 70 20 3d 20 22 20 3e 3e 20 24 40 0a 09 74 63 6c p = " >> $@..tcl
5420: 73 68 20 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 74 sh $(TOP)/tool/t
5430: 6f 73 74 72 2e 74 63 6c 20 24 28 54 4f 50 29 2f ostr.tcl $(TOP)/
5440: 74 6f 6f 6c 2f 73 70 61 63 65 61 6e 61 6c 2e 74 tool/spaceanal.t
5450: 63 6c 20 3e 3e 20 24 40 0a 09 65 63 68 6f 20 22 cl >> $@..echo "
5460: 3b 20 72 65 74 75 72 6e 20 7a 4d 61 69 6e 6c 6f ; return zMainlo
5470: 6f 70 3b 20 7d 22 20 3e 3e 20 24 40 0a 0a 73 71 op; }" >> $@..sq
5480: 6c 69 74 65 33 5f 61 6e 61 6c 79 7a 65 72 24 28 lite3_analyzer$(
5490: 45 58 45 29 3a 20 73 71 6c 69 74 65 33 5f 61 6e EXE): sqlite3_an
54a0: 61 6c 79 7a 65 72 2e 63 0a 09 24 28 54 43 43 58 alyzer.c..$(TCCX
54b0: 29 20 24 28 54 43 4c 5f 46 4c 41 47 53 29 20 73 ) $(TCL_FLAGS) s
54c0: 71 6c 69 74 65 33 5f 61 6e 61 6c 79 7a 65 72 2e qlite3_analyzer.
54d0: 63 20 2d 6f 20 24 40 20 24 28 4c 49 42 54 43 4c c -o $@ $(LIBTCL
54e0: 29 20 24 28 54 48 52 45 41 44 4c 49 42 29 20 0a ) $(THREADLIB) .
54f0: 0a 23 20 52 75 6c 65 73 20 74 6f 20 62 75 69 6c .# Rules to buil
5500: 64 20 74 68 65 20 27 74 65 73 74 66 69 78 74 75 d the 'testfixtu
5510: 72 65 27 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e re' application.
5520: 0a 23 0a 54 45 53 54 46 49 58 54 55 52 45 5f 46 .#.TESTFIXTURE_F
5530: 4c 41 47 53 20 20 3d 20 2d 44 53 51 4c 49 54 45 LAGS = -DSQLITE
5540: 5f 54 45 53 54 3d 31 20 2d 44 53 51 4c 49 54 45 _TEST=1 -DSQLITE
5550: 5f 43 52 41 53 48 5f 54 45 53 54 3d 31 0a 54 45 _CRASH_TEST=1.TE
5560: 53 54 46 49 58 54 55 52 45 5f 46 4c 41 47 53 20 STFIXTURE_FLAGS
5570: 2b 3d 20 2d 44 53 51 4c 49 54 45 5f 53 45 52 56 += -DSQLITE_SERV
5580: 45 52 3d 31 20 2d 44 53 51 4c 49 54 45 5f 50 52 ER=1 -DSQLITE_PR
5590: 49 56 41 54 45 3d 22 22 20 2d 44 53 51 4c 49 54 IVATE="" -DSQLIT
55a0: 45 5f 43 4f 52 45 0a 54 45 53 54 46 49 58 54 55 E_CORE.TESTFIXTU
55b0: 52 45 5f 46 4c 41 47 53 20 2b 3d 20 2d 44 53 51 RE_FLAGS += -DSQ
55c0: 4c 49 54 45 5f 53 45 52 49 45 53 5f 43 4f 4e 53 LITE_SERIES_CONS
55d0: 54 52 41 49 4e 54 5f 56 45 52 49 46 59 3d 31 0a TRAINT_VERIFY=1.
55e0: 54 45 53 54 46 49 58 54 55 52 45 5f 46 4c 41 47 TESTFIXTURE_FLAG
55f0: 53 20 2b 3d 20 2d 44 53 51 4c 49 54 45 5f 44 45 S += -DSQLITE_DE
5600: 46 41 55 4c 54 5f 50 41 47 45 5f 53 49 5a 45 3d FAULT_PAGE_SIZE=
5610: 31 30 32 34 0a 0a 74 65 73 74 66 69 78 74 75 72 1024..testfixtur
5620: 65 24 28 45 58 45 29 3a 20 24 28 54 45 53 54 53 e$(EXE): $(TESTS
5630: 52 43 32 29 20 6c 69 62 73 71 6c 69 74 65 33 2e RC2) libsqlite3.
5640: 61 20 24 28 54 45 53 54 53 52 43 29 20 24 28 54 a $(TESTSRC) $(T
5650: 4f 50 29 2f 73 72 63 2f 74 63 6c 73 71 6c 69 74 OP)/src/tclsqlit
5660: 65 2e 63 0a 09 24 28 54 43 43 58 29 20 24 28 54 e.c..$(TCCX) $(T
5670: 43 4c 5f 46 4c 41 47 53 29 20 2d 44 54 43 4c 53 CL_FLAGS) -DTCLS
5680: 48 3d 31 20 24 28 54 45 53 54 46 49 58 54 55 52 H=1 $(TESTFIXTUR
5690: 45 5f 46 4c 41 47 53 29 20 20 20 20 20 20 20 20 E_FLAGS)
56a0: 20 20 20 20 20 20 20 20 20 20 5c 0a 09 09 24 28 \...$(
56b0: 54 45 53 54 53 52 43 29 20 24 28 54 45 53 54 53 TESTSRC) $(TESTS
56c0: 52 43 32 29 20 24 28 54 4f 50 29 2f 73 72 63 2f RC2) $(TOP)/src/
56d0: 74 63 6c 73 71 6c 69 74 65 2e 63 20 20 20 20 20 tclsqlite.c
56e0: 20 20 20 20 20 20 20 20 20 20 20 5c 0a 09 09 2d \...-
56f0: 6f 20 74 65 73 74 66 69 78 74 75 72 65 24 28 45 o testfixture$(E
5700: 58 45 29 20 24 28 4c 49 42 54 43 4c 29 20 6c 69 XE) $(LIBTCL) li
5710: 62 73 71 6c 69 74 65 33 2e 61 20 24 28 54 48 52 bsqlite3.a $(THR
5720: 45 41 44 4c 49 42 29 0a 0a 61 6d 61 6c 67 61 6d EADLIB)..amalgam
5730: 61 74 69 6f 6e 2d 74 65 73 74 66 69 78 74 75 72 ation-testfixtur
5740: 65 24 28 45 58 45 29 3a 20 73 71 6c 69 74 65 33 e$(EXE): sqlite3
5750: 2e 63 20 24 28 54 45 53 54 53 52 43 29 20 24 28 .c $(TESTSRC) $(
5760: 54 4f 50 29 2f 73 72 63 2f 74 63 6c 73 71 6c 69 TOP)/src/tclsqli
5770: 74 65 2e 63 20 20 5c 0a 09 09 09 09 24 28 54 4f te.c \.....$(TO
5780: 50 29 2f 65 78 74 2f 73 65 73 73 69 6f 6e 2f 74 P)/ext/session/t
5790: 65 73 74 5f 73 65 73 73 69 6f 6e 2e 63 0a 09 24 est_session.c..$
57a0: 28 54 43 43 58 29 20 24 28 54 43 4c 5f 46 4c 41 (TCCX) $(TCL_FLA
57b0: 47 53 29 20 2d 44 54 43 4c 53 48 3d 31 20 24 28 GS) -DTCLSH=1 $(
57c0: 54 45 53 54 46 49 58 54 55 52 45 5f 46 4c 41 47 TESTFIXTURE_FLAG
57d0: 53 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 S)
57e0: 20 20 20 20 5c 0a 09 09 24 28 54 45 53 54 53 52 \...$(TESTSR
57f0: 43 29 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 63 C) $(TOP)/src/tc
5800: 6c 73 71 6c 69 74 65 2e 63 20 73 71 6c 69 74 65 lsqlite.c sqlite
5810: 33 2e 63 20 20 20 20 20 20 20 20 20 20 20 20 20 3.c
5820: 20 20 20 20 20 5c 0a 09 09 24 28 54 4f 50 29 2f \...$(TOP)/
5830: 65 78 74 2f 73 65 73 73 69 6f 6e 2f 74 65 73 74 ext/session/test
5840: 5f 73 65 73 73 69 6f 6e 2e 63 20 20 20 20 20 20 _session.c
5850: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
5860: 20 20 20 20 20 20 5c 0a 09 09 2d 6f 20 74 65 73 \...-o tes
5870: 74 66 69 78 74 75 72 65 24 28 45 58 45 29 20 24 tfixture$(EXE) $
5880: 28 4c 49 42 54 43 4c 29 20 24 28 54 48 52 45 41 (LIBTCL) $(THREA
5890: 44 4c 49 42 29 0a 0a 66 74 73 33 2d 74 65 73 74 DLIB)..fts3-test
58a0: 66 69 78 74 75 72 65 24 28 45 58 45 29 3a 20 73 fixture$(EXE): s
58b0: 71 6c 69 74 65 33 2e 63 20 66 74 73 33 61 6d 61 qlite3.c fts3ama
58c0: 6c 2e 63 20 24 28 54 45 53 54 53 52 43 29 20 24 l.c $(TESTSRC) $
58d0: 28 54 4f 50 29 2f 73 72 63 2f 74 63 6c 73 71 6c (TOP)/src/tclsql
58e0: 69 74 65 2e 63 0a 09 24 28 54 43 43 58 29 20 24 ite.c..$(TCCX) $
58f0: 28 54 43 4c 5f 46 4c 41 47 53 29 20 2d 44 54 43 (TCL_FLAGS) -DTC
5900: 4c 53 48 3d 31 20 24 28 54 45 53 54 46 49 58 54 LSH=1 $(TESTFIXT
5910: 55 52 45 5f 46 4c 41 47 53 29 20 20 20 20 20 20 URE_FLAGS)
5920: 20 20 20 20 20 20 20 20 20 20 20 20 5c 0a 09 2d \..-
5930: 44 53 51 4c 49 54 45 5f 45 4e 41 42 4c 45 5f 46 DSQLITE_ENABLE_F
5940: 54 53 33 3d 31 20 20 20 20 20 20 20 20 20 20 20 TS3=1
5950: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
5960: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
5970: 20 20 20 20 5c 0a 09 09 24 28 54 45 53 54 53 52 \...$(TESTSR
5980: 43 29 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 63 C) $(TOP)/src/tc
5990: 6c 73 71 6c 69 74 65 2e 63 20 73 71 6c 69 74 65 lsqlite.c sqlite
59a0: 33 2e 63 20 66 74 73 33 61 6d 61 6c 2e 63 20 20 3.c fts3amal.c
59b0: 20 20 20 20 20 5c 0a 09 09 2d 6f 20 74 65 73 74 \...-o test
59c0: 66 69 78 74 75 72 65 24 28 45 58 45 29 20 24 28 fixture$(EXE) $(
59d0: 4c 49 42 54 43 4c 29 20 24 28 54 48 52 45 41 44 LIBTCL) $(THREAD
59e0: 4c 49 42 29 0a 0a 66 75 6c 6c 74 65 73 74 3a 09 LIB)..fulltest:.
59f0: 24 28 54 45 53 54 50 52 4f 47 53 29 20 66 75 7a $(TESTPROGS) fuz
5a00: 7a 74 65 73 74 0a 09 2e 2f 74 65 73 74 66 69 78 ztest.../testfix
5a10: 74 75 72 65 24 28 45 58 45 29 20 24 28 54 4f 50 ture$(EXE) $(TOP
5a20: 29 2f 74 65 73 74 2f 61 6c 6c 2e 74 65 73 74 20 )/test/all.test
5a30: 24 28 54 45 53 54 4f 50 54 53 29 0a 0a 73 6f 61 $(TESTOPTS)..soa
5a40: 6b 74 65 73 74 3a 09 24 28 54 45 53 54 50 52 4f ktest:.$(TESTPRO
5a50: 47 53 29 0a 09 2e 2f 74 65 73 74 66 69 78 74 75 GS).../testfixtu
5a60: 72 65 24 28 45 58 45 29 20 24 28 54 4f 50 29 2f re$(EXE) $(TOP)/
5a70: 74 65 73 74 2f 61 6c 6c 2e 74 65 73 74 20 2d 73 test/all.test -s
5a80: 6f 61 6b 3d 31 20 24 28 54 45 53 54 4f 50 54 53 oak=1 $(TESTOPTS
5a90: 29 0a 0a 66 75 6c 6c 74 65 73 74 6f 6e 6c 79 3a )..fulltestonly:
5aa0: 09 24 28 54 45 53 54 50 52 4f 47 53 29 20 66 75 .$(TESTPROGS) fu
5ab0: 7a 7a 74 65 73 74 0a 09 2e 2f 74 65 73 74 66 69 zztest.../testfi
5ac0: 78 74 75 72 65 24 28 45 58 45 29 20 24 28 54 4f xture$(EXE) $(TO
5ad0: 50 29 2f 74 65 73 74 2f 66 75 6c 6c 2e 74 65 73 P)/test/full.tes
5ae0: 74 20 24 28 54 45 53 54 4f 50 54 53 29 0a 0a 71 t $(TESTOPTS)..q
5af0: 75 65 72 79 70 6c 61 6e 74 65 73 74 3a 09 74 65 ueryplantest:.te
5b00: 73 74 66 69 78 74 75 72 65 24 28 45 58 45 29 20 stfixture$(EXE)
5b10: 73 71 6c 69 74 65 33 24 28 45 58 45 29 0a 09 2e sqlite3$(EXE)...
5b20: 2f 74 65 73 74 66 69 78 74 75 72 65 24 28 45 58 /testfixture$(EX
5b30: 45 29 20 24 28 54 4f 50 29 2f 74 65 73 74 2f 70 E) $(TOP)/test/p
5b40: 65 72 6d 75 74 61 74 69 6f 6e 73 2e 74 65 73 74 ermutations.test
5b50: 20 71 75 65 72 79 70 6c 61 6e 6e 65 72 20 24 28 queryplanner $(
5b60: 54 45 53 54 4f 50 54 53 29 0a 0a 66 75 7a 7a 74 TESTOPTS)..fuzzt
5b70: 65 73 74 3a 09 66 75 7a 7a 63 68 65 63 6b 24 28 est:.fuzzcheck$(
5b80: 45 58 45 29 20 24 28 46 55 5a 5a 44 41 54 41 29 EXE) $(FUZZDATA)
5b90: 0a 09 2e 2f 66 75 7a 7a 63 68 65 63 6b 24 28 45 .../fuzzcheck$(E
5ba0: 58 45 29 20 24 28 46 55 5a 5a 44 41 54 41 29 0a XE) $(FUZZDATA).
5bb0: 0a 66 61 73 74 66 75 7a 7a 74 65 73 74 3a 09 66 .fastfuzztest:.f
5bc0: 75 7a 7a 63 68 65 63 6b 24 28 45 58 45 29 20 24 uzzcheck$(EXE) $
5bd0: 28 46 55 5a 5a 44 41 54 41 29 0a 09 2e 2f 66 75 (FUZZDATA).../fu
5be0: 7a 7a 63 68 65 63 6b 24 28 45 58 45 29 20 2d 2d zzcheck$(EXE) --
5bf0: 6c 69 6d 69 74 2d 6d 65 6d 20 31 30 30 4d 20 24 limit-mem 100M $
5c00: 28 46 55 5a 5a 44 41 54 41 29 0a 0a 76 61 6c 67 (FUZZDATA)..valg
5c10: 72 69 6e 64 66 75 7a 7a 3a 09 66 75 7a 7a 63 68 rindfuzz:.fuzzch
5c20: 65 63 6b 24 28 45 58 45 29 20 24 28 46 55 5a 5a eck$(EXE) $(FUZZ
5c30: 44 41 54 41 29 0a 09 76 61 6c 67 72 69 6e 64 20 DATA)..valgrind
5c40: 2e 2f 66 75 7a 7a 63 68 65 63 6b 24 28 45 58 45 ./fuzzcheck$(EXE
5c50: 29 20 2d 2d 63 65 6c 6c 2d 73 69 7a 65 2d 63 68 ) --cell-size-ch
5c60: 65 63 6b 20 2d 2d 6c 69 6d 69 74 2d 6d 65 6d 20 eck --limit-mem
5c70: 31 30 4d 20 2d 2d 74 69 6d 65 6f 75 74 20 36 30 10M --timeout 60
5c80: 30 20 24 28 46 55 5a 5a 44 41 54 41 29 0a 0a 23 0 $(FUZZDATA)..#
5c90: 20 41 20 76 65 72 79 20 71 75 69 63 6b 20 74 65 A very quick te
5ca0: 73 74 20 75 73 69 6e 67 20 6f 6e 6c 79 20 74 65 st using only te
5cb0: 73 74 66 69 78 74 75 72 65 20 61 6e 64 20 6f 6d stfixture and om
5cc0: 69 74 74 69 6e 67 20 61 6c 6c 20 74 68 65 20 73 itting all the s
5cd0: 6c 6f 77 65 72 0a 23 20 74 65 73 74 73 2e 20 20 lower.# tests.
5ce0: 44 65 73 69 67 6e 65 64 20 74 6f 20 72 75 6e 20 Designed to run
5cf0: 69 6e 20 75 6e 64 65 72 20 33 20 6d 69 6e 75 74 in under 3 minut
5d00: 65 73 20 6f 6e 20 61 20 77 6f 72 6b 73 74 61 74 es on a workstat
5d10: 69 6f 6e 2e 0a 23 0a 71 75 69 63 6b 74 65 73 74 ion..#.quicktest
5d20: 3a 09 2e 2f 74 65 73 74 66 69 78 74 75 72 65 24 :../testfixture$
5d30: 28 45 58 45 29 0a 09 2e 2f 74 65 73 74 66 69 78 (EXE).../testfix
5d40: 74 75 72 65 24 28 45 58 45 29 20 24 28 54 4f 50 ture$(EXE) $(TOP
5d50: 29 2f 74 65 73 74 2f 65 78 74 72 61 71 75 69 63 )/test/extraquic
5d60: 6b 2e 74 65 73 74 20 24 28 54 45 53 54 4f 50 54 k.test $(TESTOPT
5d70: 53 29 0a 0a 23 20 54 68 65 20 64 65 66 61 75 6c S)..# The defaul
5d80: 74 20 74 65 73 74 20 63 61 73 65 2e 20 20 52 75 t test case. Ru
5d90: 6e 73 20 6d 6f 73 74 20 6f 66 20 74 68 65 20 66 ns most of the f
5da0: 61 73 74 65 72 20 73 74 61 6e 64 61 72 64 20 54 aster standard T
5db0: 43 4c 20 74 65 73 74 73 2c 0a 23 20 61 6e 64 20 CL tests,.# and
5dc0: 66 75 7a 7a 20 74 65 73 74 73 2c 20 61 6e 64 20 fuzz tests, and
5dd0: 73 71 6c 69 74 65 33 5f 61 6e 61 6c 79 7a 65 72 sqlite3_analyzer
5de0: 20 61 6e 64 20 73 71 6c 64 69 66 66 20 74 65 73 and sqldiff tes
5df0: 74 73 2e 0a 23 0a 74 65 73 74 3a 09 24 28 54 45 ts..#.test:.$(TE
5e00: 53 54 50 52 4f 47 53 29 20 73 6f 75 72 63 65 74 STPROGS) sourcet
5e10: 65 73 74 20 66 61 73 74 66 75 7a 7a 74 65 73 74 est fastfuzztest
5e20: 0a 09 2e 2f 74 65 73 74 66 69 78 74 75 72 65 24 .../testfixture$
5e30: 28 45 58 45 29 20 24 28 54 4f 50 29 2f 74 65 73 (EXE) $(TOP)/tes
5e40: 74 2f 76 65 72 79 71 75 69 63 6b 2e 74 65 73 74 t/veryquick.test
5e50: 20 24 28 54 45 53 54 4f 50 54 53 29 0a 0a 23 20 $(TESTOPTS)..#
5e60: 52 75 6e 20 61 20 74 65 73 74 20 75 73 69 6e 67 Run a test using
5e70: 20 76 61 6c 67 72 69 6e 64 2e 20 20 54 68 69 73 valgrind. This
5e80: 20 63 61 6e 20 74 61 6b 65 20 61 20 72 65 61 6c can take a real
5e90: 6c 79 20 6c 6f 6e 67 20 74 69 6d 65 0a 23 20 62 ly long time.# b
5ea0: 65 63 61 75 73 65 20 76 61 6c 67 72 69 6e 64 20 ecause valgrind
5eb0: 69 73 20 73 6f 20 6d 75 63 68 20 73 6c 6f 77 65 is so much slowe
5ec0: 72 20 74 68 61 6e 20 61 20 6e 61 74 69 76 65 20 r than a native
5ed0: 6d 61 63 68 69 6e 65 2e 0a 23 0a 76 61 6c 67 72 machine..#.valgr
5ee0: 69 6e 64 74 65 73 74 3a 09 24 28 54 45 53 54 50 indtest:.$(TESTP
5ef0: 52 4f 47 53 29 20 76 61 6c 67 72 69 6e 64 66 75 ROGS) valgrindfu
5f00: 7a 7a 0a 09 4f 4d 49 54 5f 4d 49 53 55 53 45 3d zz..OMIT_MISUSE=
5f10: 31 20 76 61 6c 67 72 69 6e 64 20 2d 76 20 5c 0a 1 valgrind -v \.
5f20: 09 2e 2f 74 65 73 74 66 69 78 74 75 72 65 24 28 ../testfixture$(
5f30: 45 58 45 29 20 24 28 54 4f 50 29 2f 74 65 73 74 EXE) $(TOP)/test
5f40: 2f 70 65 72 6d 75 74 61 74 69 6f 6e 73 2e 74 65 /permutations.te
5f50: 73 74 20 76 61 6c 67 72 69 6e 64 20 24 28 54 45 st valgrind $(TE
5f60: 53 54 4f 50 54 53 29 0a 0a 23 20 41 20 76 65 72 STOPTS)..# A ver
5f70: 79 20 66 61 73 74 20 74 65 73 74 20 74 68 61 74 y fast test that
5f80: 20 63 68 65 63 6b 73 20 62 61 73 69 63 20 73 61 checks basic sa
5f90: 6e 69 74 79 2e 20 20 54 68 65 20 6e 61 6d 65 20 nity. The name
5fa0: 63 6f 6d 65 73 20 66 72 6f 6d 0a 23 20 74 68 65 comes from.# the
5fb0: 20 36 30 73 2d 65 72 61 20 65 6c 65 63 74 72 6f 60s-era electro
5fc0: 6e 69 63 73 20 74 65 73 74 69 6e 67 3a 20 20 22 nics testing: "
5fd0: 54 75 72 6e 20 69 74 20 6f 6e 20 61 6e 64 20 73 Turn it on and s
5fe0: 65 65 20 69 66 20 73 6d 6f 6b 65 0a 23 20 63 6f ee if smoke.# co
5ff0: 6d 65 73 20 6f 75 74 2e 22 0a 23 0a 73 6d 6f 6b mes out.".#.smok
6000: 65 74 65 73 74 3a 09 24 28 54 45 53 54 50 52 4f etest:.$(TESTPRO
6010: 47 53 29 20 66 75 7a 7a 63 68 65 63 6b 24 28 45 GS) fuzzcheck$(E
6020: 58 45 29 0a 09 2e 2f 74 65 73 74 66 69 78 74 75 XE).../testfixtu
6030: 72 65 24 28 45 58 45 29 20 24 28 54 4f 50 29 2f re$(EXE) $(TOP)/
6040: 74 65 73 74 2f 6d 61 69 6e 2e 74 65 73 74 20 24 test/main.test $
6050: 28 54 45 53 54 4f 50 54 53 29 0a 0a 23 20 54 68 (TESTOPTS)..# Th
6060: 65 20 6e 65 78 74 20 74 77 6f 20 72 75 6c 65 73 e next two rules
6070: 20 61 72 65 20 75 73 65 64 20 74 6f 20 73 75 70 are used to sup
6080: 70 6f 72 74 20 74 68 65 20 22 74 68 72 65 61 64 port the "thread
6090: 74 65 73 74 22 20 74 61 72 67 65 74 2e 20 42 75 test" target. Bu
60a0: 69 6c 64 69 6e 67 0a 23 20 74 68 72 65 61 64 74 ilding.# threadt
60b0: 65 73 74 20 72 75 6e 73 20 61 20 66 65 77 20 74 est runs a few t
60c0: 68 72 65 61 64 2d 73 61 66 65 74 79 20 74 65 73 hread-safety tes
60d0: 74 73 20 74 68 61 74 20 61 72 65 20 69 6d 70 6c ts that are impl
60e0: 65 6d 65 6e 74 65 64 20 69 6e 20 43 2e 20 54 68 emented in C. Th
60f0: 69 73 0a 23 20 74 61 72 67 65 74 20 69 73 20 69 is.# target is i
6100: 6e 76 6f 6b 65 64 20 62 79 20 74 68 65 20 72 65 nvoked by the re
6110: 6c 65 61 73 65 74 65 73 74 2e 74 63 6c 20 73 63 leasetest.tcl sc
6120: 72 69 70 74 2e 0a 23 20 0a 54 48 52 45 41 44 54 ript..# .THREADT
6130: 45 53 54 33 5f 53 52 43 20 3d 20 24 28 54 4f 50 EST3_SRC = $(TOP
6140: 29 2f 74 65 73 74 2f 74 68 72 65 61 64 74 65 73 )/test/threadtes
6150: 74 33 2e 63 20 20 20 20 5c 0a 20 20 20 20 20 20 t3.c \.
6160: 20 20 20 20 20 20 20 20 20 20 20 20 24 28 54 4f $(TO
6170: 50 29 2f 74 65 73 74 2f 74 74 33 5f 63 68 65 63 P)/test/tt3_chec
6180: 6b 70 6f 69 6e 74 2e 63 20 5c 0a 20 20 20 20 20 kpoint.c \.
6190: 20 20 20 20 20 20 20 20 20 20 20 20 20 24 28 54 $(T
61a0: 4f 50 29 2f 74 65 73 74 2f 74 74 33 5f 69 6e 64 OP)/test/tt3_ind
61b0: 65 78 2e 63 20 20 20 20 20 20 5c 0a 20 20 20 20 ex.c \.
61c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 24 28 $(
61d0: 54 4f 50 29 2f 74 65 73 74 2f 74 74 33 5f 76 61 TOP)/test/tt3_va
61e0: 63 75 75 6d 2e 63 20 20 20 20 20 20 5c 0a 20 20 cuum.c \.
61f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6200: 24 28 54 4f 50 29 2f 74 65 73 74 2f 74 74 33 5f $(TOP)/test/tt3_
6210: 73 74 72 65 73 73 2e 63 20 20 20 20 20 20 5c 0a stress.c \.
6220: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6230: 20 20 24 28 54 4f 50 29 2f 74 65 73 74 2f 74 74 $(TOP)/test/tt
6240: 33 5f 6c 6f 6f 6b 61 73 69 64 65 31 2e 63 0a 0a 3_lookaside1.c..
6250: 74 68 72 65 61 64 74 65 73 74 33 24 28 45 58 45 threadtest3$(EXE
6260: 29 3a 20 73 71 6c 69 74 65 33 2e 6f 20 24 28 54 ): sqlite3.o $(T
6270: 48 52 45 41 44 54 45 53 54 33 5f 53 52 43 29 20 HREADTEST3_SRC)
6280: 24 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f $(TOP)/src/test_
6290: 6d 75 6c 74 69 70 6c 65 78 2e 63 0a 09 24 28 54 multiplex.c..$(T
62a0: 43 43 58 29 20 24 28 54 4f 50 29 2f 74 65 73 74 CCX) $(TOP)/test
62b0: 2f 74 68 72 65 61 64 74 65 73 74 33 2e 63 20 24 /threadtest3.c $
62c0: 28 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 6d (TOP)/src/test_m
62d0: 75 6c 74 69 70 6c 65 78 2e 63 20 73 71 6c 69 74 ultiplex.c sqlit
62e0: 65 33 2e 6f 20 2d 6f 20 24 40 20 24 28 54 48 52 e3.o -o $@ $(THR
62f0: 45 41 44 4c 49 42 29 0a 0a 74 68 72 65 61 64 74 EADLIB)..threadt
6300: 65 73 74 3a 20 74 68 72 65 61 64 74 65 73 74 33 est: threadtest3
6310: 24 28 45 58 45 29 0a 09 2e 2f 74 68 72 65 61 64 $(EXE).../thread
6320: 74 65 73 74 33 24 28 45 58 45 29 0a 0a 54 45 53 test3$(EXE)..TES
6330: 54 5f 45 58 54 45 4e 53 49 4f 4e 20 3d 20 24 28 T_EXTENSION = $(
6340: 53 48 50 52 45 46 49 58 29 74 65 73 74 6c 6f 61 SHPREFIX)testloa
6350: 64 65 78 74 2e 24 28 53 4f 29 0a 24 28 54 45 53 dext.$(SO).$(TES
6360: 54 5f 45 58 54 45 4e 53 49 4f 4e 29 3a 20 24 28 T_EXTENSION): $(
6370: 54 4f 50 29 2f 73 72 63 2f 74 65 73 74 5f 6c 6f TOP)/src/test_lo
6380: 61 64 65 78 74 2e 63 0a 09 24 28 4d 4b 53 48 4c adext.c..$(MKSHL
6390: 49 42 29 20 24 28 54 4f 50 29 2f 73 72 63 2f 74 IB) $(TOP)/src/t
63a0: 65 73 74 5f 6c 6f 61 64 65 78 74 2e 63 20 2d 6f est_loadext.c -o
63b0: 20 24 28 54 45 53 54 5f 45 58 54 45 4e 53 49 4f $(TEST_EXTENSIO
63c0: 4e 29 0a 0a 65 78 74 65 6e 73 69 6f 6e 74 65 73 N)..extensiontes
63d0: 74 3a 20 74 65 73 74 66 69 78 74 75 72 65 24 28 t: testfixture$(
63e0: 45 58 45 29 20 24 28 54 45 53 54 5f 45 58 54 45 EXE) $(TEST_EXTE
63f0: 4e 53 49 4f 4e 29 0a 09 2e 2f 74 65 73 74 66 69 NSION).../testfi
6400: 78 74 75 72 65 24 28 45 58 45 29 20 24 28 54 4f xture$(EXE) $(TO
6410: 50 29 2f 74 65 73 74 2f 6c 6f 61 64 65 78 74 2e P)/test/loadext.
6420: 74 65 73 74 0a 0a 73 68 6f 77 64 62 24 28 45 58 test..showdb$(EX
6430: 45 29 3a 09 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f E):.$(TOP)/tool/
6440: 73 68 6f 77 64 62 2e 63 20 73 71 6c 69 74 65 33 showdb.c sqlite3
6450: 2e 6f 0a 09 24 28 54 43 43 29 20 2d 44 53 51 4c .o..$(TCC) -DSQL
6460: 49 54 45 5f 54 48 52 45 41 44 53 41 46 45 3d 30 ITE_THREADSAFE=0
6470: 20 2d 44 53 51 4c 49 54 45 5f 4f 4d 49 54 5f 4c -DSQLITE_OMIT_L
6480: 4f 41 44 5f 45 58 54 45 4e 53 49 4f 4e 20 2d 6f OAD_EXTENSION -o
6490: 20 73 68 6f 77 64 62 24 28 45 58 45 29 20 5c 0a showdb$(EXE) \.
64a0: 09 09 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 68 ..$(TOP)/tool/sh
64b0: 6f 77 64 62 2e 63 20 73 71 6c 69 74 65 33 2e 6f owdb.c sqlite3.o
64c0: 20 24 28 54 48 52 45 41 44 4c 49 42 29 0a 0a 73 $(THREADLIB)..s
64d0: 68 6f 77 73 74 61 74 34 24 28 45 58 45 29 3a 09 howstat4$(EXE):.
64e0: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 68 6f 77 $(TOP)/tool/show
64f0: 73 74 61 74 34 2e 63 20 73 71 6c 69 74 65 33 2e stat4.c sqlite3.
6500: 6f 0a 09 24 28 54 43 43 29 20 2d 44 53 51 4c 49 o..$(TCC) -DSQLI
6510: 54 45 5f 54 48 52 45 41 44 53 41 46 45 3d 30 20 TE_THREADSAFE=0
6520: 2d 44 53 51 4c 49 54 45 5f 4f 4d 49 54 5f 4c 4f -DSQLITE_OMIT_LO
6530: 41 44 5f 45 58 54 45 4e 53 49 4f 4e 20 2d 6f 20 AD_EXTENSION -o
6540: 73 68 6f 77 73 74 61 74 34 24 28 45 58 45 29 20 showstat4$(EXE)
6550: 5c 0a 09 09 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f \...$(TOP)/tool/
6560: 73 68 6f 77 73 74 61 74 34 2e 63 20 73 71 6c 69 showstat4.c sqli
6570: 74 65 33 2e 6f 20 24 28 54 48 52 45 41 44 4c 49 te3.o $(THREADLI
6580: 42 29 0a 0a 73 68 6f 77 6a 6f 75 72 6e 61 6c 24 B)..showjournal$
6590: 28 45 58 45 29 3a 09 24 28 54 4f 50 29 2f 74 6f (EXE):.$(TOP)/to
65a0: 6f 6c 2f 73 68 6f 77 6a 6f 75 72 6e 61 6c 2e 63 ol/showjournal.c
65b0: 20 73 71 6c 69 74 65 33 2e 6f 0a 09 24 28 54 43 sqlite3.o..$(TC
65c0: 43 29 20 2d 44 53 51 4c 49 54 45 5f 54 48 52 45 C) -DSQLITE_THRE
65d0: 41 44 53 41 46 45 3d 30 20 2d 44 53 51 4c 49 54 ADSAFE=0 -DSQLIT
65e0: 45 5f 4f 4d 49 54 5f 4c 4f 41 44 5f 45 58 54 45 E_OMIT_LOAD_EXTE
65f0: 4e 53 49 4f 4e 20 2d 6f 20 73 68 6f 77 6a 6f 75 NSION -o showjou
6600: 72 6e 61 6c 24 28 45 58 45 29 20 5c 0a 09 09 24 rnal$(EXE) \...$
6610: 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 68 6f 77 6a (TOP)/tool/showj
6620: 6f 75 72 6e 61 6c 2e 63 20 73 71 6c 69 74 65 33 ournal.c sqlite3
6630: 2e 6f 20 24 28 54 48 52 45 41 44 4c 49 42 29 0a .o $(THREADLIB).
6640: 0a 73 68 6f 77 77 61 6c 24 28 45 58 45 29 3a 09 .showwal$(EXE):.
6650: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 68 6f 77 $(TOP)/tool/show
6660: 77 61 6c 2e 63 20 73 71 6c 69 74 65 33 2e 6f 0a wal.c sqlite3.o.
6670: 09 24 28 54 43 43 29 20 2d 44 53 51 4c 49 54 45 .$(TCC) -DSQLITE
6680: 5f 54 48 52 45 41 44 53 41 46 45 3d 30 20 2d 44 _THREADSAFE=0 -D
6690: 53 51 4c 49 54 45 5f 4f 4d 49 54 5f 4c 4f 41 44 SQLITE_OMIT_LOAD
66a0: 5f 45 58 54 45 4e 53 49 4f 4e 20 2d 6f 20 73 68 _EXTENSION -o sh
66b0: 6f 77 77 61 6c 24 28 45 58 45 29 20 5c 0a 09 09 owwal$(EXE) \...
66c0: 24 28 54 4f 50 29 2f 74 6f 6f 6c 2f 73 68 6f 77 $(TOP)/tool/show
66d0: 77 61 6c 2e 63 20 73 71 6c 69 74 65 33 2e 6f 20 wal.c sqlite3.o
66e0: 24 28 54 48 52 45 41 44 4c 49 42 29 0a 0a 63 68 $(THREADLIB)..ch
66f0: 61 6e 67 65 73 65 74 24 28 45 58 45 29 3a 09 24 angeset$(EXE):.$
6700: 28 54 4f 50 29 2f 65 78 74 2f 73 65 73 73 69 6f (TOP)/ext/sessio
6710: 6e 2f 63 68 61 6e 67 65 73 65 74 2e 63 20 73 71 n/changeset.c sq
6720: 6c 69 74 65 33 2e 6f 0a 09 24 28 54 43 43 29 20 lite3.o..$(TCC)
6730: 2d 44 53 51 4c 49 54 45 5f 54 48 52 45 41 44 53 -DSQLITE_THREADS
6740: 41 46 45 3d 30 20 2d 44 53 51 4c 49 54 45 5f 4f AFE=0 -DSQLITE_O
6750: 4d 49 54 5f 4c 4f 41 44 5f 45 58 54 45 4e 53 49 MIT_LOAD_EXTENSI
6760: 4f 4e 20 2d 6f 20 63 68 61 6e 67 65 73 65 74 24 ON -o changeset$
6770: 28 45 58 45 29 20 5c 0a 09 09 24 28 54 4f 50 29 (EXE) \...$(TOP)
6780: 2f 65 78 74 2f 73 65 73 73 69 6f 6e 2f 63 68 61 /ext/session/cha
6790: 6e 67 65 73 65 74 2e 63 20 73 71 6c 69 74 65 33 ngeset.c sqlite3
67a0: 2e 6f 20 24 28 54 48 52 45 41 44 4c 49 42 29 0a .o $(THREADLIB).
67b0: 0a 66 74 73 33 76 69 65 77 24 28 45 58 45 29 3a .fts3view$(EXE):
67c0: 09 24 28 54 4f 50 29 2f 65 78 74 2f 66 74 73 33 .$(TOP)/ext/fts3
67d0: 2f 74 6f 6f 6c 2f 66 74 73 33 76 69 65 77 2e 63 /tool/fts3view.c
67e0: 20 73 71 6c 69 74 65 33 2e 6f 0a 09 24 28 54 43 sqlite3.o..$(TC
67f0: 43 29 20 2d 44 53 51 4c 49 54 45 5f 54 48 52 45 C) -DSQLITE_THRE
6800: 41 44 53 41 46 45 3d 30 20 2d 44 53 51 4c 49 54 ADSAFE=0 -DSQLIT
6810: 45 5f 4f 4d 49 54 5f 4c 4f 41 44 5f 45 58 54 45 E_OMIT_LOAD_EXTE
6820: 4e 53 49 4f 4e 20 2d 6f 20 66 74 73 33 76 69 65 NSION -o fts3vie
6830: 77 24 28 45 58 45 29 20 5c 0a 09 09 24 28 54 4f w$(EXE) \...$(TO
6840: 50 29 2f 65 78 74 2f 66 74 73 33 2f 74 6f 6f 6c P)/ext/fts3/tool
6850: 2f 66 74 73 33 76 69 65 77 2e 63 20 73 71 6c 69 /fts3view.c sqli
6860: 74 65 33 2e 6f 20 24 28 54 48 52 45 41 44 4c 49 te3.o $(THREADLI
6870: 42 29 0a 0a 72 6f 6c 6c 62 61 63 6b 2d 74 65 73 B)..rollback-tes
6880: 74 24 28 45 58 45 29 3a 09 24 28 54 4f 50 29 2f t$(EXE):.$(TOP)/
6890: 74 6f 6f 6c 2f 72 6f 6c 6c 62 61 63 6b 2d 74 65 tool/rollback-te
68a0: 73 74 2e 63 20 73 71 6c 69 74 65 33 2e 6f 0a 09 st.c sqlite3.o..
68b0: 24 28 54 43 43 29 20 2d 44 53 51 4c 49 54 45 5f $(TCC) -DSQLITE_
68c0: 54 48 52 45 41 44 53 41 46 45 3d 30 20 2d 44 53 THREADSAFE=0 -DS
68d0: 51 4c 49 54 45 5f 4f 4d 49 54 5f 4c 4f 41 44 5f QLITE_OMIT_LOAD_
68e0: 45 58 54 45 4e 53 49 4f 4e 20 2d 6f 20 72 6f 6c EXTENSION -o rol
68f0: 6c 62 61 63 6b 2d 74 65 73 74 24 28 45 58 45 29 lback-test$(EXE)
6900: 20 5c 0a 09 09 24 28 54 4f 50 29 2f 74 6f 6f 6c \...$(TOP)/tool
6910: 2f 72 6f 6c 6c 62 61 63 6b 2d 74 65 73 74 2e 63 /rollback-test.c
6920: 20 73 71 6c 69 74 65 33 2e 6f 20 24 28 54 48 52 sqlite3.o $(THR
6930: 45 41 44 4c 49 42 29 0a 0a 4c 6f 67 45 73 74 24 EADLIB)..LogEst$
6940: 28 45 58 45 29 3a 09 24 28 54 4f 50 29 2f 74 6f (EXE):.$(TOP)/to
6950: 6f 6c 2f 6c 6f 67 65 73 74 2e 63 20 73 71 6c 69 ol/logest.c sqli
6960: 74 65 33 2e 68 0a 09 24 28 54 43 43 29 20 2d 6f te3.h..$(TCC) -o
6970: 20 4c 6f 67 45 73 74 24 28 45 58 45 29 20 24 28 LogEst$(EXE) $(
6980: 54 4f 50 29 2f 74 6f 6f 6c 2f 6c 6f 67 65 73 74 TOP)/tool/logest
6990: 2e 63 0a 0a 77 6f 72 64 63 6f 75 6e 74 24 28 45 .c..wordcount$(E
69a0: 58 45 29 3a 09 24 28 54 4f 50 29 2f 74 65 73 74 XE):.$(TOP)/test
69b0: 2f 77 6f 72 64 63 6f 75 6e 74 2e 63 20 73 71 6c /wordcount.c sql
69c0: 69 74 65 33 2e 63 0a 09 24 28 54 43 43 29 20 2d ite3.c..$(TCC) -
69d0: 44 53 51 4c 49 54 45 5f 54 48 52 45 41 44 53 41 DSQLITE_THREADSA
69e0: 46 45 3d 30 20 2d 44 53 51 4c 49 54 45 5f 4f 4d FE=0 -DSQLITE_OM
69f0: 49 54 5f 4c 4f 41 44 5f 45 58 54 45 4e 53 49 4f IT_LOAD_EXTENSIO
6a00: 4e 20 2d 6f 20 77 6f 72 64 63 6f 75 6e 74 24 28 N -o wordcount$(
6a10: 45 58 45 29 20 5c 0a 09 09 24 28 54 4f 50 29 2f EXE) \...$(TOP)/
6a20: 74 65 73 74 2f 77 6f 72 64 63 6f 75 6e 74 2e 63 test/wordcount.c
6a30: 20 73 71 6c 69 74 65 33 2e 63 0a 0a 73 70 65 65 sqlite3.c..spee
6a40: 64 74 65 73 74 31 24 28 45 58 45 29 3a 09 24 28 dtest1$(EXE):.$(
6a50: 54 4f 50 29 2f 74 65 73 74 2f 73 70 65 65 64 74 TOP)/test/speedt
6a60: 65 73 74 31 2e 63 20 73 71 6c 69 74 65 33 2e 6f est1.c sqlite3.o
6a70: 0a 09 24 28 54 43 43 29 20 2d 49 2e 20 24 28 4f ..$(TCC) -I. $(O
6a80: 54 41 46 4c 41 47 53 29 20 2d 6f 20 73 70 65 65 TAFLAGS) -o spee
6a90: 64 74 65 73 74 31 24 28 45 58 45 29 20 24 28 54 dtest1$(EXE) $(T
6aa0: 4f 50 29 2f 74 65 73 74 2f 73 70 65 65 64 74 65 OP)/test/speedte
6ab0: 73 74 31 2e 63 20 73 71 6c 69 74 65 33 2e 6f 20 st1.c sqlite3.o
6ac0: 24 28 54 48 52 45 41 44 4c 49 42 29 20 0a 0a 72 $(THREADLIB) ..r
6ad0: 62 75 24 28 45 58 45 29 3a 20 24 28 54 4f 50 29 bu$(EXE): $(TOP)
6ae0: 2f 65 78 74 2f 72 62 75 2f 72 62 75 2e 63 20 24 /ext/rbu/rbu.c $
6af0: 28 54 4f 50 29 2f 65 78 74 2f 72 62 75 2f 73 71 (TOP)/ext/rbu/sq
6b00: 6c 69 74 65 33 72 62 75 2e 63 20 73 71 6c 69 74 lite3rbu.c sqlit
6b10: 65 33 2e 6f 20 0a 09 24 28 54 43 43 29 20 2d 49 e3.o ..$(TCC) -I
6b20: 2e 20 2d 6f 20 72 62 75 24 28 45 58 45 29 20 24 . -o rbu$(EXE) $
6b30: 28 54 4f 50 29 2f 65 78 74 2f 72 62 75 2f 72 62 (TOP)/ext/rbu/rb
6b40: 75 2e 63 20 73 71 6c 69 74 65 33 2e 6f 20 5c 0a u.c sqlite3.o \.
6b50: 09 20 20 24 28 54 48 52 45 41 44 4c 49 42 29 0a . $(THREADLIB).
6b60: 0a 6c 6f 61 64 66 74 73 3a 20 24 28 54 4f 50 29 .loadfts: $(TOP)
6b70: 2f 74 6f 6f 6c 2f 6c 6f 61 64 66 74 73 2e 63 20 /tool/loadfts.c
6b80: 6c 69 62 73 71 6c 69 74 65 33 2e 61 0a 09 24 28 libsqlite3.a..$(
6b90: 54 43 43 29 20 24 28 54 4f 50 29 2f 74 6f 6f 6c TCC) $(TOP)/tool
6ba0: 2f 6c 6f 61 64 66 74 73 2e 63 20 6c 69 62 73 71 /loadfts.c libsq
6bb0: 6c 69 74 65 33 2e 61 20 2d 6f 20 6c 6f 61 64 66 lite3.a -o loadf
6bc0: 74 73 20 24 28 54 48 52 45 41 44 4c 49 42 29 0a ts $(THREADLIB).
6bd0: 0a 23 20 54 68 69 73 20 74 61 72 67 65 74 20 77 .# This target w
6be0: 69 6c 6c 20 66 61 69 6c 20 69 66 20 74 68 65 20 ill fail if the
6bf0: 53 51 4c 69 74 65 20 61 6d 61 6c 67 61 6d 61 74 SQLite amalgamat
6c00: 69 6f 6e 20 63 6f 6e 74 61 69 6e 73 20 61 6e 79 ion contains any
6c10: 20 65 78 70 6f 72 74 65 64 0a 23 20 73 79 6d 62 exported.# symb
6c20: 6f 6c 73 20 74 68 61 74 20 64 6f 20 6e 6f 74 20 ols that do not
6c30: 62 65 67 69 6e 20 77 69 74 68 20 22 73 71 6c 69 begin with "sqli
6c40: 74 65 33 5f 22 2e 20 49 74 20 69 73 20 72 75 6e te3_". It is run
6c50: 20 61 73 20 70 61 72 74 20 6f 66 20 74 68 65 0a as part of the.
6c60: 23 20 72 65 6c 65 61 73 65 74 65 73 74 2e 74 63 # releasetest.tc
6c70: 6c 20 73 63 72 69 70 74 2e 0a 23 0a 63 68 65 63 l script..#.chec
6c80: 6b 73 79 6d 62 6f 6c 73 3a 20 73 71 6c 69 74 65 ksymbols: sqlite
6c90: 33 2e 6f 0a 09 6e 6d 20 2d 67 20 2d 2d 64 65 66 3.o..nm -g --def
6ca0: 69 6e 65 64 2d 6f 6e 6c 79 20 73 71 6c 69 74 65 ined-only sqlite
6cb0: 33 2e 6f 20 7c 20 67 72 65 70 20 2d 76 20 22 20 3.o | grep -v "
6cc0: 73 71 6c 69 74 65 33 5f 22 20 3b 20 74 65 73 74 sqlite3_" ; test
6cd0: 20 24 24 3f 20 2d 6e 65 20 30 0a 0a 23 20 42 75 $$? -ne 0..# Bu
6ce0: 69 6c 64 20 74 68 65 20 61 6d 61 6c 67 61 6d 61 ild the amalgama
6cf0: 74 69 6f 6e 2d 61 75 74 6f 63 6f 6e 66 20 70 61 tion-autoconf pa
6d00: 63 6b 61 67 65 2e 20 20 54 68 65 20 61 6d 61 6c ckage. The amal
6d10: 61 6d 67 61 74 69 6f 6e 2d 74 61 72 62 61 6c 6c amgation-tarball
6d20: 20 74 61 72 67 65 74 20 62 75 69 6c 64 73 0a 23 target builds.#
6d30: 20 61 20 74 61 72 62 61 6c 6c 20 6e 61 6d 65 64 a tarball named
6d40: 20 66 6f 72 20 74 68 65 20 76 65 72 73 69 6f 6e for the version
6d50: 20 6e 75 6d 62 65 72 2e 20 20 45 78 3a 20 20 73 number. Ex: s
6d60: 71 6c 69 74 65 2d 61 75 74 6f 63 6f 6e 66 2d 33 qlite-autoconf-3
6d70: 31 31 30 30 30 30 2e 74 61 72 2e 67 7a 2e 0a 23 110000.tar.gz..#
6d80: 20 54 68 65 20 73 6e 61 70 73 68 6f 74 2d 74 61 The snapshot-ta
6d90: 72 62 61 6c 6c 20 74 61 72 67 65 74 20 62 75 69 rball target bui
6da0: 6c 64 73 20 61 20 74 61 72 62 61 6c 6c 20 6e 61 lds a tarball na
6db0: 6d 65 64 20 62 79 20 74 68 65 20 53 48 41 31 20 med by the SHA1
6dc0: 68 61 73 68 0a 23 0a 61 6d 61 6c 67 61 6d 61 74 hash.#.amalgamat
6dd0: 69 6f 6e 2d 74 61 72 62 61 6c 6c 3a 20 73 71 6c ion-tarball: sql
6de0: 69 74 65 33 2e 63 0a 09 54 4f 50 3d 24 28 54 4f ite3.c..TOP=$(TO
6df0: 50 29 20 73 68 20 24 28 54 4f 50 29 2f 74 6f 6f P) sh $(TOP)/too
6e00: 6c 2f 6d 6b 61 75 74 6f 63 6f 6e 66 61 6d 61 6c l/mkautoconfamal
6e10: 2e 73 68 20 2d 2d 6e 6f 72 6d 61 6c 0a 0a 73 6e .sh --normal..sn
6e20: 61 70 73 68 6f 74 2d 74 61 72 62 61 6c 6c 3a 20 apshot-tarball:
6e30: 73 71 6c 69 74 65 33 2e 63 0a 09 54 4f 50 3d 24 sqlite3.c..TOP=$
6e40: 28 54 4f 50 29 20 73 68 20 24 28 54 4f 50 29 2f (TOP) sh $(TOP)/
6e50: 74 6f 6f 6c 2f 6d 6b 61 75 74 6f 63 6f 6e 66 61 tool/mkautoconfa
6e60: 6d 61 6c 2e 73 68 20 2d 2d 73 6e 61 70 73 68 6f mal.sh --snapsho
6e70: 74 0a 0a 0a 23 20 53 74 61 6e 64 61 72 64 20 69 t...# Standard i
6e80: 6e 73 74 61 6c 6c 20 61 6e 64 20 63 6c 65 61 6e nstall and clean
6e90: 75 70 20 74 61 72 67 65 74 73 0a 23 0a 69 6e 73 up targets.#.ins
6ea0: 74 61 6c 6c 3a 09 73 71 6c 69 74 65 33 20 6c 69 tall:.sqlite3 li
6eb0: 62 73 71 6c 69 74 65 33 2e 61 20 73 71 6c 69 74 bsqlite3.a sqlit
6ec0: 65 33 2e 68 0a 09 6d 76 20 73 71 6c 69 74 65 33 e3.h..mv sqlite3
6ed0: 20 2f 75 73 72 2f 62 69 6e 0a 09 6d 76 20 6c 69 /usr/bin..mv li
6ee0: 62 73 71 6c 69 74 65 33 2e 61 20 2f 75 73 72 2f bsqlite3.a /usr/
6ef0: 6c 69 62 0a 09 6d 76 20 73 71 6c 69 74 65 33 2e lib..mv sqlite3.
6f00: 68 20 2f 75 73 72 2f 69 6e 63 6c 75 64 65 0a 0a h /usr/include..
6f10: 63 6c 65 61 6e 3a 09 0a 09 72 6d 20 2d 66 20 2a clean:...rm -f *
6f20: 2e 6f 20 73 71 6c 69 74 65 33 20 73 71 6c 69 74 .o sqlite3 sqlit
6f30: 65 33 2e 65 78 65 20 6c 69 62 73 71 6c 69 74 65 e3.exe libsqlite
6f40: 33 2e 61 20 73 71 6c 69 74 65 33 2e 68 20 6f 70 3.a sqlite3.h op
6f50: 63 6f 64 65 73 2e 2a 0a 09 72 6d 20 2d 66 20 6c codes.*..rm -f l
6f60: 65 6d 6f 6e 20 6c 65 6d 6f 6e 2e 65 78 65 20 6c emon lemon.exe l
6f70: 65 6d 70 61 72 2e 63 20 70 61 72 73 65 2e 2a 20 empar.c parse.*
6f80: 73 71 6c 69 74 65 2a 2e 74 61 72 2e 67 7a 0a 09 sqlite*.tar.gz..
6f90: 72 6d 20 2d 66 20 6d 6b 6b 65 79 77 6f 72 64 68 rm -f mkkeywordh
6fa0: 61 73 68 20 6d 6b 6b 65 79 77 6f 72 64 68 61 73 ash mkkeywordhas
6fb0: 68 2e 65 78 65 20 6b 65 79 77 6f 72 64 68 61 73 h.exe keywordhas
6fc0: 68 2e 68 0a 09 72 6d 20 2d 66 20 24 28 50 55 42 h.h..rm -f $(PUB
6fd0: 4c 49 53 48 29 0a 09 72 6d 20 2d 66 20 2a 2e 64 LISH)..rm -f *.d
6fe0: 61 20 2a 2e 62 62 20 2a 2e 62 62 67 20 67 6d 6f a *.bb *.bbg gmo
6ff0: 6e 2e 6f 75 74 0a 09 72 6d 20 2d 72 66 20 74 73 n.out..rm -rf ts
7000: 72 63 20 74 61 72 67 65 74 5f 73 6f 75 72 63 65 rc target_source
7010: 0a 09 72 6d 20 2d 66 20 74 65 73 74 6c 6f 61 64 ..rm -f testload
7020: 65 78 74 2e 64 6c 6c 20 6c 69 62 74 65 73 74 6c ext.dll libtestl
7030: 6f 61 64 65 78 74 2e 73 6f 0a 09 72 6d 20 2d 66 oadext.so..rm -f
7040: 20 61 6d 61 6c 67 61 6d 61 74 69 6f 6e 2d 74 65 amalgamation-te
7050: 73 74 66 69 78 74 75 72 65 20 61 6d 61 6c 67 61 stfixture amalga
7060: 6d 61 74 69 6f 6e 2d 74 65 73 74 66 69 78 74 75 mation-testfixtu
7070: 72 65 2e 65 78 65 0a 09 72 6d 20 2d 66 20 66 74 re.exe..rm -f ft
7080: 73 33 2d 74 65 73 74 66 69 78 74 75 72 65 20 66 s3-testfixture f
7090: 74 73 33 2d 74 65 73 74 66 69 78 74 75 72 65 2e ts3-testfixture.
70a0: 65 78 65 0a 09 72 6d 20 2d 66 20 74 65 73 74 66 exe..rm -f testf
70b0: 69 78 74 75 72 65 20 74 65 73 74 66 69 78 74 75 ixture testfixtu
70c0: 72 65 2e 65 78 65 0a 09 72 6d 20 2d 66 20 74 68 re.exe..rm -f th
70d0: 72 65 61 64 74 65 73 74 33 20 74 68 72 65 61 64 readtest3 thread
70e0: 74 65 73 74 33 2e 65 78 65 0a 09 72 6d 20 2d 66 test3.exe..rm -f
70f0: 20 4c 6f 67 45 73 74 20 4c 6f 67 45 73 74 2e 65 LogEst LogEst.e
7100: 78 65 0a 09 72 6d 20 2d 66 20 66 74 73 33 76 69 xe..rm -f fts3vi
7110: 65 77 20 66 74 73 33 76 69 65 77 2e 65 78 65 0a ew fts3view.exe.
7120: 09 72 6d 20 2d 66 20 72 6f 6c 6c 62 61 63 6b 2d .rm -f rollback-
7130: 74 65 73 74 20 72 6f 6c 6c 62 61 63 6b 2d 74 65 test rollback-te
7140: 73 74 2e 65 78 65 0a 09 72 6d 20 2d 66 20 73 68 st.exe..rm -f sh
7150: 6f 77 64 62 20 73 68 6f 77 64 62 2e 65 78 65 0a owdb showdb.exe.
7160: 09 72 6d 20 2d 66 20 73 68 6f 77 6a 6f 75 72 6e .rm -f showjourn
7170: 61 6c 20 73 68 6f 77 6a 6f 75 72 6e 61 6c 2e 65 al showjournal.e
7180: 78 65 0a 09 72 6d 20 2d 66 20 73 68 6f 77 73 74 xe..rm -f showst
7190: 61 74 34 20 73 68 6f 77 73 74 61 74 34 2e 65 78 at4 showstat4.ex
71a0: 65 0a 09 72 6d 20 2d 66 20 73 68 6f 77 77 61 6c e..rm -f showwal
71b0: 20 73 68 6f 77 77 61 6c 2e 65 78 65 0a 09 72 6d showwal.exe..rm
71c0: 20 2d 66 20 63 68 61 6e 67 65 73 65 74 20 63 68 -f changeset ch
71d0: 61 6e 67 65 73 65 74 2e 65 78 65 0a 09 72 6d 20 angeset.exe..rm
71e0: 2d 66 20 73 70 65 65 64 74 65 73 74 31 20 73 70 -f speedtest1 sp
71f0: 65 65 64 74 65 73 74 31 2e 65 78 65 0a 09 72 6d eedtest1.exe..rm
7200: 20 2d 66 20 77 6f 72 64 63 6f 75 6e 74 20 77 6f -f wordcount wo
7210: 72 64 63 6f 75 6e 74 2e 65 78 65 0a 09 72 6d 20 rdcount.exe..rm
7220: 2d 66 20 72 62 75 20 72 62 75 2e 65 78 65 0a 09 -f rbu rbu.exe..
7230: 72 6d 20 2d 66 20 73 72 63 63 6b 31 20 73 72 63 rm -f srcck1 src
7240: 63 6b 31 2e 65 78 65 0a 09 72 6d 20 2d 66 20 73 ck1.exe..rm -f s
7250: 71 6c 69 74 65 33 2e 63 20 73 71 6c 69 74 65 33 qlite3.c sqlite3
7260: 2d 2a 2e 63 20 66 74 73 3f 61 6d 61 6c 2e 63 20 -*.c fts?amal.c
7270: 74 63 6c 73 71 6c 69 74 65 33 2e 63 0a 09 72 6d tclsqlite3.c..rm
7280: 20 2d 66 20 73 71 6c 69 74 65 33 72 63 2e 68 0a -f sqlite3rc.h.
7290: 09 72 6d 20 2d 66 20 73 68 65 6c 6c 2e 63 20 73 .rm -f shell.c s
72a0: 71 6c 69 74 65 33 65 78 74 2e 68 0a 09 72 6d 20 qlite3ext.h..rm
72b0: 2d 66 20 73 71 6c 69 74 65 33 5f 61 6e 61 6c 79 -f sqlite3_analy
72c0: 7a 65 72 20 73 71 6c 69 74 65 33 5f 61 6e 61 6c zer sqlite3_anal
72d0: 79 7a 65 72 2e 65 78 65 20 73 71 6c 69 74 65 33 yzer.exe sqlite3
72e0: 5f 61 6e 61 6c 79 7a 65 72 2e 63 0a 09 72 6d 20 _analyzer.c..rm
72f0: 2d 66 20 73 71 6c 69 74 65 2d 2a 2d 6f 75 74 70 -f sqlite-*-outp
7300: 75 74 2e 76 73 69 78 0a 09 72 6d 20 2d 66 20 6d ut.vsix..rm -f m
7310: 70 74 65 73 74 65 72 20 6d 70 74 65 73 74 65 72 ptester mptester
7320: 2e 65 78 65 0a 09 72 6d 20 2d 66 20 66 75 7a 7a .exe..rm -f fuzz
7330: 65 72 73 68 65 6c 6c 20 66 75 7a 7a 65 72 73 68 ershell fuzzersh
7340: 65 6c 6c 2e 65 78 65 0a 09 72 6d 20 2d 66 20 66 ell.exe..rm -f f
7350: 75 7a 7a 63 68 65 63 6b 20 66 75 7a 7a 63 68 65 uzzcheck fuzzche
7360: 63 6b 2e 65 78 65 0a 09 72 6d 20 2d 66 20 73 71 ck.exe..rm -f sq
7370: 6c 64 69 66 66 20 73 71 6c 64 69 66 66 2e 65 78 ldiff sqldiff.ex
7380: 65 0a 09 72 6d 20 2d 66 20 66 74 73 35 2e 2a 20 e..rm -f fts5.*
7390: 66 74 73 35 70 61 72 73 65 2e 2a 0a fts5parse.*.