Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/Makefile.linux-gcc

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/make 1 #!/usr/make
2 # 2 #
3 # Makefile for SQLITE 3 # Makefile for SQLITE
4 # 4 #
5 # This is a template makefile for SQLite. Most people prefer to 5 # This is a template makefile for SQLite. Most people prefer to
6 # use the autoconf generated "configure" script to generate the 6 # use the autoconf generated "configure" script to generate the
7 # makefile automatically. But that does not work for everybody 7 # makefile automatically. But that does not work for everybody
8 # and in every situation. If you are having problems with the 8 # and in every situation. If you are having problems with the
9 # "configure" script, you might want to try this makefile as an 9 # "configure" script, you might want to try this makefile as an
10 # alternative. Create a copy of this file, edit the parameters 10 # alternative. Create a copy of this file, edit the parameters
11 # below and type "make". 11 # below and type "make".
12 # 12 #
13 13
14 #### The directory where to find the mingw32ce tools
15 MINGW32CE = /opt/mingw32ce/bin
16
17 #### The target prefix of the mingw32ce tools
18 TARGET = arm-wince-mingw32ce
19
20 #### The toplevel directory of the source tree. This is the directory 14 #### The toplevel directory of the source tree. This is the directory
21 # that contains this "Makefile.in" and the "configure.in" script. 15 # that contains this "Makefile.in" and the "configure.in" script.
22 # 16 #
23 TOP = ../sqlite 17 TOP = ../sqlite
24 18
25 #### C Compiler and options for use in building executables that 19 #### C Compiler and options for use in building executables that
26 # will run on the platform that is doing the build. 20 # will run on the platform that is doing the build.
27 # 21 #
28 BCC = gcc -g -O2 22 BCC = gcc -g -O2
29 #BCC = /opt/ancic/bin/c89 -0 23 #BCC = /opt/ancic/bin/c89 -0
30 24
31 #### If the target operating system supports the "usleep()" system 25 #### If the target operating system supports the "usleep()" system
32 # call, then define the HAVE_USLEEP macro for all C modules. 26 # call, then define the HAVE_USLEEP macro for all C modules.
33 # 27 #
34 USLEEP = 28 #USLEEP =
35 #USLEEP = -DHAVE_USLEEP=1 29 USLEEP = -DHAVE_USLEEP=1
36 30
37 #### If you want the SQLite library to be safe for use within a 31 #### If you want the SQLite library to be safe for use within a
38 # multi-threaded program, then define the following macro 32 # multi-threaded program, then define the following macro
39 # appropriately: 33 # appropriately:
40 # 34 #
41 THREADSAFE = -DTHREADSAFE=1 35 #THREADSAFE = -DTHREADSAFE=1
42 #THREADSAFE = -DTHREADSAFE=0 36 THREADSAFE = -DTHREADSAFE=0
43 37
44 #### Specify any extra linker options needed to make the library 38 #### Specify any extra linker options needed to make the library
45 # thread safe 39 # thread safe
46 # 40 #
47 #THREADLIB = -lpthread 41 #THREADLIB = -lpthread
48 THREADLIB = 42 THREADLIB =
49 43
50 #### Specify any extra libraries needed to access required functions. 44 #### Specify any extra libraries needed to access required functions.
51 # 45 #
52 #TLIBS = -lrt # fdatasync on Solaris 8 46 #TLIBS = -lrt # fdatasync on Solaris 8
53 TLIBS = 47 TLIBS =
54 48
55 #### Leave SQLITE_DEBUG undefined for maximum speed. Use SQLITE_DEBUG=1 49 #### Leave SQLITE_DEBUG undefined for maximum speed. Use SQLITE_DEBUG=1
56 # to check for memory leaks. Use SQLITE_DEBUG=2 to print a log of all 50 # to check for memory leaks. Use SQLITE_DEBUG=2 to print a log of all
57 # malloc()s and free()s in order to track down memory leaks. 51 # malloc()s and free()s in order to track down memory leaks.
58 # 52 #
59 # SQLite uses some expensive assert() statements in the inner loop. 53 # SQLite uses some expensive assert() statements in the inner loop.
60 # You can make the library go almost twice as fast if you compile 54 # You can make the library go almost twice as fast if you compile
61 # with -DNDEBUG=1 55 # with -DNDEBUG=1
62 # 56 #
63 #OPTS = -DSQLITE_DEBUG=2 57 #OPTS = -DSQLITE_DEBUG=2
64 #OPTS = -DSQLITE_DEBUG=1 58 #OPTS = -DSQLITE_DEBUG=1
65 #OPTS = 59 #OPTS =
66 OPTS = -DNDEBUG=1 -DSQLITE_OS_WIN=1 -D_WIN32_WCE=1 60 OPTS = -DNDEBUG=1
67 #OPTS += -DHAVE_FDATASYNC=1 61 OPTS += -DHAVE_FDATASYNC=1
68 62
69 #### The suffix to add to executable files. ".exe" for windows. 63 #### The suffix to add to executable files. ".exe" for windows.
70 # Nothing for unix. 64 # Nothing for unix.
71 # 65 #
72 EXE = .exe 66 #EXE = .exe
73 #EXE = 67 EXE =
74 68
75 #### C Compile and options for use in building executables that 69 #### C Compile and options for use in building executables that
76 # will run on the target platform. This is usually the same 70 # will run on the target platform. This is usually the same
77 # as BCC, unless you are cross-compiling. 71 # as BCC, unless you are cross-compiling.
78 # 72 #
79 #TCC = gcc -O6 73 TCC = gcc -O6
80 #TCC = gcc -g -O0 -Wall 74 #TCC = gcc -g -O0 -Wall
81 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage 75 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
82 #TCC = /opt/mingw/bin/i386-mingw32-gcc -O6 76 #TCC = /opt/mingw/bin/i386-mingw32-gcc -O6
83 TCC = $(MINGW32CE)/$(TARGET)-gcc -O2
84 #TCC = /opt/ansic/bin/c89 -O +z -Wl,-a,archive 77 #TCC = /opt/ansic/bin/c89 -O +z -Wl,-a,archive
85 78
86 #### Tools used to build a static library. 79 #### Tools used to build a static library.
87 # 80 #
88 #AR = ar cr 81 AR = ar cr
89 #AR = /opt/mingw/bin/i386-mingw32-ar cr 82 #AR = /opt/mingw/bin/i386-mingw32-ar cr
90 AR = $(MINGW32CE)/$(TARGET)-ar cr 83 RANLIB = ranlib
91 #RANLIB = ranlib
92 #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib 84 #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib
93 RANLIB = $(MINGW32CE)/$(TARGET)-ranlib
94 85
95 #MKSHLIB = gcc -shared 86 MKSHLIB = gcc -shared
96 #SO = so 87 SO = so
97 #SHPREFIX = lib 88 SHPREFIX = lib
98 MKSHLIB = $(MINGW32CE)/$(TARGET)-gcc -shared 89 # SO = dll
99 SO = dll 90 # SHPREFIX =
100 SHPREFIX =
101 91
102 #### Extra compiler options needed for programs that use the TCL library. 92 #### Extra compiler options needed for programs that use the TCL library.
103 # 93 #
104 #TCL_FLAGS = 94 #TCL_FLAGS =
105 #TCL_FLAGS = -DSTATIC_BUILD=1 95 #TCL_FLAGS = -DSTATIC_BUILD=1
106 TCL_FLAGS = -I/home/drh/tcltk/8.5linux 96 TCL_FLAGS = -I/home/drh/tcltk/8.5linux
107 #TCL_FLAGS = -I/home/drh/tcltk/8.5win -DSTATIC_BUILD=1 97 #TCL_FLAGS = -I/home/drh/tcltk/8.5win -DSTATIC_BUILD=1
108 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux 98 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux
109 99
110 #### Linker options needed to link against the TCL library. 100 #### Linker options needed to link against the TCL library.
111 # 101 #
112 #LIBTCL = -ltcl -lm -ldl 102 #LIBTCL = -ltcl -lm -ldl
113 LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl 103 LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl
114 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt 104 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt
115 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc 105 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc
116 106
117 #### Additional objects for SQLite library when TCL support is enabled. 107 #### Additional objects for SQLite library when TCL support is enabled.
118 TCLOBJ = 108 #TCLOBJ =
119 #TCLOBJ = tclsqlite.o 109 TCLOBJ = tclsqlite.o
120 110
121 #### Compiler options needed for programs that use the readline() library. 111 #### Compiler options needed for programs that use the readline() library.
122 # 112 #
123 READLINE_FLAGS = 113 READLINE_FLAGS =
124 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline 114 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline
125 115
126 #### Linker options needed by programs using readline() must link against. 116 #### Linker options needed by programs using readline() must link against.
127 # 117 #
128 LIBREADLINE = 118 LIBREADLINE =
129 #LIBREADLINE = -static -lreadline -ltermcap 119 #LIBREADLINE = -static -lreadline -ltermcap
130 120
131 #### Which "awk" program provides nawk compatibilty 121 #### Which "awk" program provides nawk compatibilty
132 # 122 #
133 # NAWK = nawk 123 # NAWK = nawk
134 NAWK = awk 124 NAWK = awk
135 125
136 # You should not have to change anything below this line 126 # You should not have to change anything below this line
137 ############################################################################### 127 ###############################################################################
138 include $(TOP)/main.mk 128 include $(TOP)/main.mk
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/Makefile.in ('k') | third_party/sqlite/sqlite-src-3070603/Makefile.vxworks » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698