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

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

Issue 1753993002: [sqlite] Allow recover.c to compile independently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 # Don't include these ones, they break the SQLite tests. 75 # Don't include these ones, they break the SQLite tests.
76 # -DSQLITE_OMIT_ATTACH=1 \ 76 # -DSQLITE_OMIT_ATTACH=1 \
77 # -DSQLITE_OMIT_LOAD_EXTENSION=1 \ 77 # -DSQLITE_OMIT_LOAD_EXTENSION=1 \
78 # -DSQLITE_OMIT_VACUUM=1 \ 78 # -DSQLITE_OMIT_VACUUM=1 \
79 # -DSQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1 \ 79 # -DSQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1 \
80 80
81 # TODO(shess) I can't see why I need this setting. 81 # TODO(shess) I can't see why I need this setting.
82 OPTS += -DOS_UNIX=1 82 OPTS += -DOS_UNIX=1
83 83
84 # The recover virtual table is not generally enabled. Enable it for testing
85 # purposes.
86 OPTS += -DDEFAULT_ENABLE_RECOVER=1
87
Scott Hess - ex-Googler 2016/03/02 01:12:08 Was only needed to testfixture, moved to main.mk.
88 # Support for loading Chromium ICU data in sqlite3. 84 # Support for loading Chromium ICU data in sqlite3.
89 ifeq ($(shell uname -s),Darwin) 85 ifeq ($(shell uname -s),Darwin)
90 SHELL_ICU = 86 SHELL_ICU =
91 else 87 else
92 SHELL_ICU = $(TOP)/src/shell_icu_linux.c -licuuc 88 SHELL_ICU = $(TOP)/src/shell_icu_linux.c -licuuc
93 endif 89 endif
94 90
95 #### The suffix to add to executable files. ".exe" for windows. 91 #### The suffix to add to executable files. ".exe" for windows.
96 # Nothing for unix. 92 # Nothing for unix.
97 # 93 #
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline 142 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline
147 143
148 #### Linker options needed by programs using readline() must link against. 144 #### Linker options needed by programs using readline() must link against.
149 # 145 #
150 LIBREADLINE = 146 LIBREADLINE =
151 #LIBREADLINE = -static -lreadline -ltermcap 147 #LIBREADLINE = -static -lreadline -ltermcap
152 148
153 # You should not have to change anything below this line 149 # You should not have to change anything below this line
154 ############################################################################### 150 ###############################################################################
155 include $(TOP)/main.mk 151 include $(TOP)/main.mk
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698