aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-11-23 16:08:49 +0000
committerdan <Dan Kennedy>2022-11-23 16:08:49 +0000
commitc32e16643d8c364db7dcddafa83037c977ab797e (patch)
tree1f32f76f5c491255521b8cb88ce1af87090e7c15 /src
parent91a81316b9b184126b3546b332b36749209d34bf (diff)
parent63b74e02a70b499d3783b1116e49840cb7a97e87 (diff)
downloadsqlite-c32e16643d8c364db7dcddafa83037c977ab797e.tar.gz
sqlite-c32e16643d8c364db7dcddafa83037c977ab797e.zip
Update Makefile.in to include new target "sqlite3r.c". For generating "sqlite3r.c" and "sqlite3r.h", versions of the amalgamation that include the recover extension. To build the shell tool against these files, add -DSQLITE_HAVE_SQLITE3R.
FossilOrigin-Name: 5f135575b923cb59947667071c6af9ff14063c933cedf37d6c2a0a1b86c85032
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 7f7ec779d..e1f0ecfcd 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -1066,9 +1066,11 @@ INCLUDE ../ext/expert/sqlite3expert.c
#define SQLITE_SHELL_HAVE_RECOVER 0
#endif
#if SQLITE_SHELL_HAVE_RECOVER
-INCLUDE ../ext/recover/dbdata.c
INCLUDE ../ext/recover/sqlite3recover.h
+# ifndef SQLITE_HAVE_SQLITE3R
+INCLUDE ../ext/recover/dbdata.c
INCLUDE ../ext/recover/sqlite3recover.c
+# endif
#endif
#if defined(SQLITE_ENABLE_SESSION)