From: drh Date: Sat, 2 Sep 2006 22:14:11 +0000 (+0000) Subject: Changes to the Makefile.in so that MinGW users can build a DLL. Ticket #1955. (CVS... X-Git-Tag: version-3.6.10~2778 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79dc6691ded5b127459c412614e84eaad1445d2c;p=thirdparty%2Fsqlite.git Changes to the Makefile.in so that MinGW users can build a DLL. Ticket #1955. (CVS 3389) FossilOrigin-Name: 7279ddd08444d54712f738d997c5d11f6af064c1 --- diff --git a/Makefile.in b/Makefile.in index f13555a679..70c9a025b4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -665,7 +665,25 @@ clean: 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) diff --git a/manifest b/manifest index db5d90aeb2..b0ab72c042 100644 --- a/manifest +++ b/manifest @@ -1,6 +1,6 @@ -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 @@ -395,7 +395,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9 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 diff --git a/manifest.uuid b/manifest.uuid index 85f1c86e69..fb5be9f483 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -d4923e98c66ae03d899f633e5e309471f5695abb \ No newline at end of file +7279ddd08444d54712f738d997c5d11f6af064c1 \ No newline at end of file