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

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

Issue 9110047: The complete work-in-progress SQLite recover virtual table. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/sqlite/src/create_tables » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 # SQLite uses some expensive assert() statements in the inner loop. 53 # SQLite uses some expensive assert() statements in the inner loop.
54 # 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
55 # with -DNDEBUG=1 55 # with -DNDEBUG=1
56 # 56 #
57 #OPTS = -DSQLITE_DEBUG=2 57 #OPTS = -DSQLITE_DEBUG=2
58 #OPTS = -DSQLITE_DEBUG=1 58 #OPTS = -DSQLITE_DEBUG=1
59 #OPTS = 59 #OPTS =
60 60
61 # These flags match those for SQLITE_CFLAGS in config.mk. 61 # These flags match those for SQLITE_CFLAGS in config.mk.
62 62
63 OPTS += -DNDEBUG 63 #OPTS += -DNDEBUG
64 OPTS += -DSQLITE_CORE 64 OPTS += -DSQLITE_CORE
65 OPTS += -DSQLITE_ENABLE_FTS2 -DSQLITE_ENABLE_BROKEN_FTS2 65 OPTS += -DSQLITE_ENABLE_FTS2 -DSQLITE_ENABLE_BROKEN_FTS2
66 OPTS += -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 66 OPTS += -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
67 OPTS += -DHAVE_USLEEP=1 67 OPTS += -DHAVE_USLEEP=1
68 68
69 # Additional SQLite tests. 69 # Additional SQLite tests.
70 OPTS += -DSQLITE_MEMDEBUG=1 70 OPTS += -DSQLITE_MEMDEBUG=1
71 71
72 # Don't include these ones, they break the SQLite tests. 72 # Don't include these ones, they break the SQLite tests.
73 # -DSQLITE_OMIT_ATTACH=1 \ 73 # -DSQLITE_OMIT_ATTACH=1 \
74 # -DSQLITE_OMIT_LOAD_EXTENSION=1 \ 74 # -DSQLITE_OMIT_LOAD_EXTENSION=1 \
75 # -DSQLITE_OMIT_VACUUM=1 \ 75 # -DSQLITE_OMIT_VACUUM=1 \
76 # -DSQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1 \ 76 # -DSQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1 \
77 77
78 SHELL_ICU = $(TOP)/src/shell_icu_linux.c -licuuc 78 SHELL_ICU = $(TOP)/src/shell_icu_linux.c -licuuc
79 SHELL_ICU =
79 80
80 # TODO(shess) I can't see why I need this setting. 81 # TODO(shess) I can't see why I need this setting.
81 OPTS += -DOS_UNIX=1 82 OPTS += -DOS_UNIX=1
82 83
83 #### The suffix to add to executable files. ".exe" for windows. 84 #### The suffix to add to executable files. ".exe" for windows.
84 # Nothing for unix. 85 # Nothing for unix.
85 # 86 #
86 #EXE = .exe 87 #EXE = .exe
87 EXE = 88 EXE =
88 89
89 #### C Compile and options for use in building executables that 90 #### C Compile and options for use in building executables that
90 # will run on the target platform. This is usually the same 91 # will run on the target platform. This is usually the same
91 # as BCC, unless you are cross-compiling. 92 # as BCC, unless you are cross-compiling.
92 # 93 #
93 TCC = gcc -O6 94 #TCC = gcc -O6
94 #TCC = gcc -g -O0 -Wall 95 TCC = gcc -g -O0 -Wall
95 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage 96 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
96 #TCC = /opt/mingw/bin/i386-mingw32-gcc -O6 97 #TCC = /opt/mingw/bin/i386-mingw32-gcc -O6
97 #TCC = /opt/ansic/bin/c89 -O +z -Wl,-a,archive 98 #TCC = /opt/ansic/bin/c89 -O +z -Wl,-a,archive
98 99
99 #### Tools used to build a static library. 100 #### Tools used to build a static library.
100 # 101 #
101 AR = ar cr 102 AR = ar cr
102 #AR = /opt/mingw/bin/i386-mingw32-ar cr 103 #AR = /opt/mingw/bin/i386-mingw32-ar cr
103 RANLIB = ranlib 104 RANLIB = ranlib
104 #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib 105 #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib
(...skipping 18 matching lines...) Expand all
123 #LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl 124 #LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl
124 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt 125 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt
125 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc 126 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc
126 127
127 #### Additional objects for SQLite library when TCL support is enabled. 128 #### Additional objects for SQLite library when TCL support is enabled.
128 #TCLOBJ = 129 #TCLOBJ =
129 TCLOBJ = tclsqlite.o 130 TCLOBJ = tclsqlite.o
130 131
131 #### Compiler options needed for programs that use the readline() library. 132 #### Compiler options needed for programs that use the readline() library.
132 # 133 #
133 READLINE_FLAGS = 134 #READLINE_FLAGS =
134 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline 135 READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline
135 136
136 #### Linker options needed by programs using readline() must link against. 137 #### Linker options needed by programs using readline() must link against.
137 # 138 #
138 LIBREADLINE = 139 #LIBREADLINE =
139 #LIBREADLINE = -static -lreadline -ltermcap 140 LIBREADLINE = -lreadline -ltermcap
140 141
141 #### Which "awk" program provides nawk compatibilty 142 #### Which "awk" program provides nawk compatibilty
142 # 143 #
143 # NAWK = nawk 144 # NAWK = nawk
144 NAWK = awk 145 NAWK = awk
145 146
146 # You should not have to change anything below this line 147 # You should not have to change anything below this line
147 ############################################################################### 148 ###############################################################################
148 include $(TOP)/main.mk 149 include $(TOP)/main.mk
OLDNEW
« no previous file with comments | « no previous file | third_party/sqlite/src/create_tables » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698