/ Check-in [7b510f59]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Changes to Makefile.in to allow testfixture to be built with SQLITE_USER_AUTHENTICATION.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7b510f59fd2cf68331c35ef6b4c2bcf092adf1120ea22be74d1bab1f42a171f5
User & Date: dan 2018-11-28 08:24:41
Context
2018-11-28
11:09
Follow-up to [0bf0fd242b93c3bd30]: only reset the pager when adding a new codec, not when overwriting an existing codec. Also, improve a comment in the pcache1 subsystem. check-in: 5c040fdb user: drh tags: trunk
08:24
Changes to Makefile.in to allow testfixture to be built with SQLITE_USER_AUTHENTICATION. check-in: 7b510f59 user: dan tags: trunk
08:09
Remove -DSQLITE_USER_AUTHENTICATION from the "Unlock-Notify" configuration. Create a dedicated "User-Auth" configuration for testing this feature. check-in: 8c41024f user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

    28     28   # are provide so that these aspects of the build process can be changed
    29     29   # on the "make" command-line.  Ex:  "make CC=clang CFLAGS=-fsanitize=undefined"
    30     30   #
    31     31   CC = @CC@
    32     32   CFLAGS = @CPPFLAGS@ @CFLAGS@
    33     33   TCC = ${CC} ${CFLAGS} -I. -I${TOP}/src -I${TOP}/ext/rtree -I${TOP}/ext/icu
    34     34   TCC += -I${TOP}/ext/fts3 -I${TOP}/ext/async -I${TOP}/ext/session
           35  +TCC += -I${TOP}/ext/userauth
    35     36   
    36     37   # Define this for the autoconf-based build, so that the code knows it can
    37     38   # include the generated config.h
    38     39   #
    39     40   TCC += -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite
    40     41   
    41     42   # Define -DNDEBUG to compile without debugging (i.e., for production usage)
................................................................................
   183    184            memdb.lo memjournal.lo \
   184    185            mutex.lo mutex_noop.lo mutex_unix.lo mutex_w32.lo \
   185    186            notify.lo opcodes.lo os.lo os_unix.lo os_win.lo \
   186    187            pager.lo parse.lo pcache.lo pcache1.lo pragma.lo prepare.lo printf.lo \
   187    188            random.lo resolve.lo rowset.lo rtree.lo \
   188    189            sqlite3session.lo select.lo sqlite3rbu.lo status.lo stmt.lo \
   189    190            table.lo threads.lo tokenize.lo treeview.lo trigger.lo \
   190         -         update.lo upsert.lo util.lo vacuum.lo \
          191  +         update.lo userauth.lo upsert.lo util.lo vacuum.lo \
   191    192            vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbemem.lo vdbesort.lo \
   192    193            vdbetrace.lo wal.lo walker.lo where.lo wherecode.lo whereexpr.lo \
   193    194            window.lo utf.lo vtab.lo
   194    195   
   195    196   # Object files for the amalgamation.
   196    197   #
   197    198   LIBOBJS1 = sqlite3.lo
................................................................................
   352    353     $(TOP)/ext/rtree/rtree.h \
   353    354     $(TOP)/ext/rtree/rtree.c \
   354    355     $(TOP)/ext/rtree/geopoly.c
   355    356   SRC += \
   356    357     $(TOP)/ext/session/sqlite3session.c \
   357    358     $(TOP)/ext/session/sqlite3session.h
   358    359   SRC += \
          360  +  $(TOP)/ext/userauth/userauth.c \
          361  +  $(TOP)/ext/userauth/sqlite3userauth.h
          362  +SRC += \
   359    363     $(TOP)/ext/rbu/sqlite3rbu.h \
   360    364     $(TOP)/ext/rbu/sqlite3rbu.c
   361    365   SRC += \
   362    366     $(TOP)/ext/misc/json1.c \
   363    367     $(TOP)/ext/misc/stmt.c
   364    368   
   365    369   # Generated source code files
................................................................................
   451    455     $(TOP)/ext/misc/regexp.c \
   452    456     $(TOP)/ext/misc/remember.c \
   453    457     $(TOP)/ext/misc/series.c \
   454    458     $(TOP)/ext/misc/spellfix.c \
   455    459     $(TOP)/ext/misc/totype.c \
   456    460     $(TOP)/ext/misc/unionvtab.c \
   457    461     $(TOP)/ext/misc/wholenumber.c \
   458         -  $(TOP)/ext/misc/zipfile.c
          462  +  $(TOP)/ext/misc/zipfile.c \
          463  +  $(TOP)/ext/userauth/userauth.c
   459    464   
   460    465   # Source code to the library files needed by the test fixture
   461    466   #
   462    467   TESTSRC2 = \
   463    468     $(TOP)/src/attach.c \
   464    469     $(TOP)/src/backup.c \
   465    470     $(TOP)/src/bitvec.c \
................................................................................
   557    562   EXTHDR += \
   558    563     $(TOP)/ext/rtree/rtree.h \
   559    564     $(TOP)/ext/rtree/geopoly.c
   560    565   EXTHDR += \
   561    566     $(TOP)/ext/icu/sqliteicu.h
   562    567   EXTHDR += \
   563    568     $(TOP)/ext/rtree/sqlite3rtree.h
          569  +EXTHDR += \
          570  +  $(TOP)/ext/userauth/sqlite3userauth.h
   564    571   
   565    572   # executables needed for testing
   566    573   #
   567    574   TESTPROGS = \
   568    575     testfixture$(TEXE) \
   569    576     sqlite3$(TEXE) \
   570    577     sqlite3_analyzer$(TEXE) \
................................................................................
  1114   1121   
  1115   1122   fts3_write.lo:	$(TOP)/ext/fts3/fts3_write.c $(HDR) $(EXTHDR)
  1116   1123   	$(LTCOMPILE) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_write.c
  1117   1124   
  1118   1125   rtree.lo:	$(TOP)/ext/rtree/rtree.c $(HDR) $(EXTHDR)
  1119   1126   	$(LTCOMPILE) -DSQLITE_CORE -c $(TOP)/ext/rtree/rtree.c
  1120   1127   
  1121         -sqlite3session.lo:	$(TOP)/ext/session/sqlite3session.c $(HDR) $(EXTHDR)
         1128  +sqlite3session.lo:	$(TOP)/ext/userauth/userauth.c $(HDR) $(EXTHDR)
         1129  +	$(LTCOMPILE) -DSQLITE_CORE -c $(TOP)/ext/userauth/userauth.c
         1130  +
         1131  +userauth.lo:	$(TOP)/ext/session/sqlite3session.c $(HDR) $(EXTHDR)
  1122   1132   	$(LTCOMPILE) -DSQLITE_CORE -c $(TOP)/ext/session/sqlite3session.c
  1123   1133   
  1124   1134   json1.lo:	$(TOP)/ext/misc/json1.c
  1125   1135   	$(LTCOMPILE) -DSQLITE_CORE -c $(TOP)/ext/misc/json1.c
  1126   1136   
  1127   1137   stmt.lo:	$(TOP)/ext/misc/stmt.c
  1128   1138   	$(LTCOMPILE) -DSQLITE_CORE -c $(TOP)/ext/misc/stmt.c