rm -f testfixture$(TEXE) test.db
rm -rf doc
rm -f common.tcl
- rm -f sqlite3.dll sqlite3.lib
+ rm -f sqlite3.dll sqlite3.lib sqlite3.def
distclean: clean
rm -f config.log config.status libtool Makefile config.h
+
+#
+# Windows section
+#
+dll: sqlite3.dll
+
+REAL_LIBOBJ = $(LIBOBJ:%.lo=.libs/%.o)
+
+$(REAL_LIBOBJ): $(LIBOBJ)
+
+sqlite3.def: $(REAL_LIBOBJ)
+ echo 'EXPORTS' >sqlite3.def
+ nm $(REAL_LIBOBJ) | grep ' T ' | grep ' _sqlite3_' \
+ | sed 's/^.* _//' >>sqlite3.def
+
+sqlite3.dll: $(REAL_LIBOBJ) sqlite3.def
+ $(TCC) -shared -o sqlite3.dll sqlite3.def \
+ -Wl,"--strip-all" $(REAL_LIBOBJ)
-C Add\sa\sTRACE\smacro\sto\sthe\sFTS1\smodule\sfor\stroubleshooting.\s\sTurned\soff\sby\ndefault.\s(CVS\s3388)
-D 2006-09-02T20:58:26
-F Makefile.in 659b63368cfbb95a224c9d2f2a9897802d96a4ea
+C Changes\sto\sthe\sMakefile.in\sso\sthat\sMinGW\susers\scan\sbuild\sa\sDLL.\s\sTicket\s#1955.\s(CVS\s3389)
+D 2006-09-02T22:14:12
+F Makefile.in cabd42d34340f49260bc2a7668c38eba8d4cfd99
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
F VERSION ef6abd4b2095b0f378b428ed251e16f0213fcf3f
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 61148f4c36255c4ed3552f888fa75252b300589d
-R 047544ba02c59392188ec6883b4588cb
+P d4923e98c66ae03d899f633e5e309471f5695abb
+R d829b8762af2a72f56db333e1db29bd2
U drh
-Z ad8f2586cf13efa1b155ad298401ac97
+Z b65c57dac37a62be54424983aa5a8361
-d4923e98c66ae03d899f633e5e309471f5695abb
\ No newline at end of file
+7279ddd08444d54712f738d997c5d11f6af064c1
\ No newline at end of file