SQLite

Check-in [55bb56d336]
Login

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

Overview
Comment:More updates to the nmake makefile.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 55bb56d33632eac65bf401dc1f98324b20fb0718
User & Date: shaneh 2011-06-17 07:22:09.126
Context
2011-06-17
15:54
Force almagamation gen scripts to use unix line endings for consistency across platforms. (check-in: a4adc7f78b user: shaneh tags: trunk)
07:22
More updates to the nmake makefile. (check-in: 55bb56d336 user: shaneh tags: trunk)
07:07
Add Microsoft nmake compatible makefile; update a few test cases for Windows. (check-in: a7590af65f user: shaneh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to Makefile.msc.
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
  $(TOP)\ext\rtree\sqlite3rtree.h

# This is the default Makefile target.  The objects listed here
# are what get build when you type just "make" with no arguments.
#
all:	sqlite3.h libsqlite3.lib sqlite3.exe libtclsqlite3.lib

Makefile: $(TOP)\Makefile.in
	.\config.status

sqlite3.pc: $(TOP)\sqlite3.pc.in
	.\config.status

libsqlite3.lib:	$(LIBOBJ)
	$(LTLIB) -OUT:$@ $(LIBOBJ) $(TLIBS)

libtclsqlite3.lib:	tclsqlite.lo libsqlite3.lib
	$(LTLIB) /LIBPATH:$(TCLLIBDIR) -OUT:$@ $** $(LIBTCL:tcl=tclstub) $(TLIBS)

sqlite3.exe:	$(TOP)\src\shell.c libsqlite3.lib sqlite3.h







<
<
<
<
<
<







418
419
420
421
422
423
424






425
426
427
428
429
430
431
  $(TOP)\ext\rtree\sqlite3rtree.h

# This is the default Makefile target.  The objects listed here
# are what get build when you type just "make" with no arguments.
#
all:	sqlite3.h libsqlite3.lib sqlite3.exe libtclsqlite3.lib







libsqlite3.lib:	$(LIBOBJ)
	$(LTLIB) -OUT:$@ $(LIBOBJ) $(TLIBS)

libtclsqlite3.lib:	tclsqlite.lo libsqlite3.lib
	$(LTLIB) /LIBPATH:$(TCLLIBDIR) -OUT:$@ $** $(LIBTCL:tcl=tclstub) $(TLIBS)

sqlite3.exe:	$(TOP)\src\shell.c libsqlite3.lib sqlite3.h
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865

#
# Windows section
#
dll: sqlite3.dll

sqlite3.def: $(LIBOBJ)
	echo $(LIBOBJ) > real.txt
	echo $(LIBOBJ) > lib.txt
	echo 'EXPORTS' >sqlite3.def
	dumpbin /symbols $(LIBOBJ) \
		| $(NAWK) "/SECT.*_sqlite3_/ { sub(/^.* _/,\"\");print }" \
		| sort >>sqlite3.def

sqlite3.dll: $(LIBOBJ) sqlite3.def
	$(TCC) -LD -Fo$@ /DEF:sqlite3.def $(LIBOBJ)







<
<







844
845
846
847
848
849
850


851
852
853
854
855
856
857

#
# Windows section
#
dll: sqlite3.dll

sqlite3.def: $(LIBOBJ)


	echo 'EXPORTS' >sqlite3.def
	dumpbin /symbols $(LIBOBJ) \
		| $(NAWK) "/SECT.*_sqlite3_/ { sub(/^.* _/,\"\");print }" \
		| sort >>sqlite3.def

sqlite3.dll: $(LIBOBJ) sqlite3.def
	$(TCC) -LD -Fo$@ /DEF:sqlite3.def $(LIBOBJ)