/ Check-in [0bd8fd35]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Remove unnecessary dependencies from the sqlite3_analyzer targets in makefiles.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0bd8fd352d290637d8c4d4fb76e8dd28f0149fa0
User & Date: drh 2011-09-21 18:29:49
Context
2011-09-21
20:10
Minor tweaks to the TCL code for sqlite3_analyzer. check-in: 3a261f38 user: drh tags: trunk
18:29
Remove unnecessary dependencies from the sqlite3_analyzer targets in makefiles. check-in: 0bd8fd35 user: drh tags: trunk
17:04
Fix the sqlite3_analyzer target in the configure-generated Makefile. check-in: 256cdbdc user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

   889    889   	echo "#define TCLSH 2" > $@
   890    890   	cat sqlite3.c $(TOP)/src/test_stat.c $(TOP)/src/tclsqlite.c >> $@
   891    891   	echo "static const char *tclsh_main_loop(void){" >> $@
   892    892   	echo "static const char *zMainloop = " >> $@
   893    893   	$(NAWK) -f $(TOP)/tool/tostr.awk $(TOP)/tool/spaceanal.tcl >> $@
   894    894   	echo "; return zMainloop; }" >> $@
   895    895   
   896         -sqlite3_analyzer$(TEXE): sqlite3_analyzer.c spaceanal_tcl.h
          896  +sqlite3_analyzer$(TEXE): sqlite3_analyzer.c
   897    897   	$(LTLINK) sqlite3_analyzer.c -o $@ $(LIBTCL) $(TLIBS)
   898    898   
   899    899   # Standard install and cleanup targets
   900    900   #
   901    901   lib_install:	libsqlite3.la
   902    902   	$(INSTALL) -d $(DESTDIR)$(libdir)
   903    903   	$(LTINSTALL) libsqlite3.la $(DESTDIR)$(libdir)

Changes to main.mk.

   522    522   	echo "#define TCLSH 2" > $@
   523    523   	cat sqlite3.c $(TOP)/src/test_stat.c $(TOP)/src/tclsqlite.c >> $@
   524    524   	echo "static const char *tclsh_main_loop(void){" >> $@
   525    525   	echo "static const char *zMainloop = " >> $@
   526    526   	$(NAWK) -f $(TOP)/tool/tostr.awk $(TOP)/tool/spaceanal.tcl >> $@
   527    527   	echo "; return zMainloop; }" >> $@
   528    528   
   529         -sqlite3_analyzer$(EXE): sqlite3_analyzer.c spaceanal_tcl.h
          529  +sqlite3_analyzer$(EXE): sqlite3_analyzer.c
   530    530   	$(TCCX) $(TCL_FLAGS) sqlite3_analyzer.c -o $@ $(LIBTCL) $(THREADLIB) 
   531    531   
   532    532   # Rules to build the 'testfixture' application.
   533    533   #
   534    534   TESTFIXTURE_FLAGS  = -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1
   535    535   TESTFIXTURE_FLAGS += -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE 
   536    536