1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Rename the test_stat.c source file to dbstat.c and rework the makefiles to

make dbstat.c a first-class source module.

FossilOrigin-Name: a24480a474993f82ff58edbe12d2093c59b1a2dc
This commit is contained in:
drh
2015-05-04 18:31:09 +00:00
parent 84ab95395e
commit 1a4a680a38
8 changed files with 83 additions and 106 deletions

View File

@ -28,16 +28,12 @@
#
set addstatic 1
set linemacros 0
set srcdir {}
for {set i 0} {$i<[llength $argv]} {incr i} {
set x [lindex $argv $i]
if {[regexp {^-+nostatic$} $x]} {
set addstatic 0
} elseif {[regexp {^-+linemacros} $x]} {
set linemacros 1
} elseif {[regexp {^-+srcdir} $x]} {
incr i
set srcdir [lindex $argv $i]
} else {
error "unknown command-line option: $x"
}
@ -372,11 +368,9 @@ foreach file {
rtree.c
icu.c
fts3_icu.c
dbstat.c
} {
copy_file tsrc/$file
}
if {$srcdir!=""} {
copy_file $srcdir/test_stat.c
}
close $out