/ Check-in [7279ddd0]
Login

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

Overview
Comment:Changes to the Makefile.in so that MinGW users can build a DLL. Ticket #1955. (CVS 3389)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7279ddd08444d54712f738d997c5d11f6af064c1
User & Date: drh 2006-09-02 22:14:12
Context
2006-09-02
22:14
Fix bugs in test scripts so that fulltest will pass. (CVS 3390) check-in: 367bd837 user: drh tags: trunk
22:14
Changes to the Makefile.in so that MinGW users can build a DLL. Ticket #1955. (CVS 3389) check-in: 7279ddd0 user: drh tags: trunk
20:58
Add a TRACE macro to the FTS1 module for troubleshooting. Turned off by default. (CVS 3388) check-in: d4923e98 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

   661    661   	rm -f lemon$(BEXE) lempar.c parse.* sqlite*.tar.gz
   662    662   	rm -f mkkeywordhash$(BEXE) keywordhash.h
   663    663   	rm -f $(PUBLISH)
   664    664   	rm -f *.da *.bb *.bbg gmon.out
   665    665   	rm -f testfixture$(TEXE) test.db
   666    666   	rm -rf doc
   667    667   	rm -f common.tcl
   668         -	rm -f sqlite3.dll sqlite3.lib
          668  +	rm -f sqlite3.dll sqlite3.lib sqlite3.def
   669    669   
   670    670   distclean:	clean
   671    671   	rm -f config.log config.status libtool Makefile config.h
          672  +
          673  +#
          674  +# Windows section
          675  +#
          676  +dll: sqlite3.dll
          677  +
          678  +REAL_LIBOBJ = $(LIBOBJ:%.lo=.libs/%.o)
          679  +
          680  +$(REAL_LIBOBJ): $(LIBOBJ)
          681  +
          682  +sqlite3.def: $(REAL_LIBOBJ)
          683  +	echo 'EXPORTS' >sqlite3.def
          684  +	nm $(REAL_LIBOBJ) | grep ' T ' | grep ' _sqlite3_' \
          685  +		| sed 's/^.* _//' >>sqlite3.def
          686  +
          687  +sqlite3.dll: $(REAL_LIBOBJ) sqlite3.def
          688  +	$(TCC) -shared -o sqlite3.dll sqlite3.def \
          689  +		-Wl,"--strip-all" $(REAL_LIBOBJ)