]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add the ability to generate assembly listing files using the MSVC makefile.
authormistachkin <mistachkin@noemail.net>
Fri, 6 Sep 2013 21:41:11 +0000 (21:41 +0000)
committermistachkin <mistachkin@noemail.net>
Fri, 6 Sep 2013 21:41:11 +0000 (21:41 +0000)
FossilOrigin-Name: 6caa2cd10421a85db6740fb2ae8a42b573959562

Makefile.msc
manifest
manifest.uuid

index 6e32eb512499aa983ea8cd97cdf654773fb27d85..761de56d67b0486b56857e1a0ea64efbbba4a187 100644 (file)
@@ -25,6 +25,13 @@ USE_ICU = 0
 USE_CRT_DLL = 0
 !ENDIF
 
+# Set this non-0 to generate assembly code listings for the source code
+# files.
+#
+!IFNDEF USE_LISTINGS
+USE_LISTINGS = 0
+!ENDIF
+
 # Set this non-0 to attempt setting the native compiler automatically
 # for cross-compiling the command line tools needed during the compilation
 # process.
@@ -181,6 +188,13 @@ NSDKLIBPATH = $(NSDKLIBPATH:\\=\)
 #
 BCC = $(NCC) -W3
 
+# Check if assembly code listings should be generated for the source
+# code files to be compiled.
+#
+!IF $(USE_LISTINGS)!=0
+BCC = $(BCC) -FAcs
+!ENDIF
+
 # Check if the native library paths should be used when compiling
 # the command line tools used during the compilation process.  If
 # so, set the necessary macro now.
@@ -196,6 +210,13 @@ NLTLIBPATHS = "/LIBPATH:$(NCRTLIBPATH)" "/LIBPATH:$(NSDKLIBPATH)"
 TCC = $(CC) -W3 -DSQLITE_OS_WIN=1 -I$(TOP) -I$(TOP)\src -fp:precise
 RCC = $(RC) -DSQLITE_OS_WIN=1 -I$(TOP) -I$(TOP)\src
 
+# Check if assembly code listings should be generated for the source
+# code files to be compiled.
+#
+!IF $(USE_LISTINGS)!=0
+TCC = $(TCC) -FAcs
+!ENDIF
+
 # When compiling the library for use in the WinRT environment,
 # the following compile-time options must be used as well to
 # disable use of Win32 APIs that are not available and to enable
@@ -1285,7 +1306,7 @@ sqlite3_analyzer.exe:     sqlite3_analyzer.c $(LIBRESOBJS)
 
 clean:
        del /Q *.lo *.ilk *.lib *.obj *.pdb sqlite3.exe libsqlite3.lib
-       del /Q *.da *.bb *.bbg gmon.out
+       del /Q *.cod *.da *.bb *.bbg gmon.out
        del /Q sqlite3.h opcodes.c opcodes.h
        del /Q lemon.exe lempar.c parse.*
        del /Q mkkeywordhash.exe keywordhash.h
index 6da51c98433d3866adafb427f91b1ff6d1a96bf6..ea4e76fd565002353688ea92f9fa03dc4d8f7adf 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,9 +1,9 @@
-C When\sconverting\sfrom\sa\sBLOB\svalue\sin\sthe\stointeger()\sand\storeal()\sSQL\sfunctions,\smake\ssure\sthat\sendianness\sof\sthe\smachine\sdoes\snot\smatter.
-D 2013-09-06T20:30:53.365
+C Add\sthe\sability\sto\sgenerate\sassembly\slisting\sfiles\susing\sthe\sMSVC\smakefile.
+D 2013-09-06T21:41:11.484
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 5e41da95d92656a5004b03d3576e8b226858a28e
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
-F Makefile.msc a97163524522cd829cb91bcf900d07608e025502
+F Makefile.msc bf73c5d1f39a132901cc0a9aea88e724cd0340ad
 F Makefile.vxworks db21ed42a01d5740e656b16f92cb5d8d5e5dd315
 F README cd04a36fbc7ea56932a4052d7d0b7f09f27c33d6
 F VERSION a8d1f6839521130dc73c5408cdd24bcfd791df34
@@ -1110,7 +1110,7 @@ F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
 F tool/wherecosttest.c f407dc4c79786982a475261866a161cd007947ae
 F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac
-P e1814452faa698946ef77f06a42665277ee59cc1
-R 134c8f8ed3149356b5cf5475063a56e8
+P 94c4cdc50d2753c859e494d53cebd09edd2e5663
+R 6b551c6dae3914b271288c70374acb57
 U mistachkin
-Z b7db7274557533e42de3d2876d1a3f58
+Z c5c612cbd00cecdaa9ef5d871289b004
index 95adfb0cad7362d13e40235d4da2fcf6562744fb..aec120a35d48f03d30f54f73034ed926beb5bc42 100644 (file)
@@ -1 +1 @@
-94c4cdc50d2753c859e494d53cebd09edd2e5663
\ No newline at end of file
+6caa2cd10421a85db6740fb2ae8a42b573959562
\ No newline at end of file