8000 commit of sqlite 3.6.0 · codeguru85/sqlcipher@617ed01 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 617ed01

Browse files
committed
commit of sqlite 3.6.0
0 parents  commit 617ed01

File tree

597 files changed

+309864
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

597 files changed

+309864
-0
lines changed

Makefile.in

Lines changed: 756 additions & 0 deletions
Large diffs are not rendered by default.

Makefile.linux-gcc

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
#!/usr/make
2+
#
3+
# Makefile for SQLITE
4+
#
5+
# This is a template makefile for SQLite. Most people prefer to
6+
# use the autoconf generated "configure" script to generate the
7+
# makefile automatically. But that does not work for everybody
8+
# and in every situation. If you are having problems with the
9+
# "configure" script, you might want to try this makefile as an
10+
# alternative. Create a copy of this file, edit the parameters
11+
# below and type "make".
12+
#
13+
14+
#### The toplevel directory of the source tree. This is the directory
15+
# that contains this "Makefile.in" and the "configure.in" script.
16+
#
17+
TOP = ../sqlite
18+
19+
#### C Compiler and options for use in building executables that
20+
# will run on the platform that is doing the build.
21+
#
22+
BCC = gcc -g -O2
23+
#BCC = /opt/ancic/bin/c89 -0
24+
25+
#### If the target operating system supports the "usleep()" system
26+
# call, then define the HAVE_USLEEP macro for all C modules.
27+
#
28+
#USLEEP =
29+
USLEEP = -DHAVE_USLEEP=1
30+
31+
#### If you want the SQLite library to be safe for use within a
32+
# multi-threaded program, then define the following macro
33+
# appropriately:
34+
#
35+
#THREADSAFE = -DTHREADSAFE=1
36+
THREADSAFE = -DTHREADSAFE=0
37+
38+
#### Specify any extra linker options needed to make the library
39+
# thread safe
40+
#
41+
#THREADLIB = -lpthread
42+
THREADLIB =
43+
44+
#### Specify any extra libraries needed to access required functions.
45+
#
46+
#TLIBS = -lrt # fdatasync on Solaris 8
47+
TLIBS =
48+
49+
#### Leave SQLITE_DEBUG undefined for maximum speed. Use SQLITE_DEBUG=1
50+
# to check for memory leaks. Use SQLITE_DEBUG=2 to print a log of all
51+
# malloc()s and free()s in order to track down memory leaks.
52+
#
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
55+
# with -DNDEBUG=1
56+
#
57+
#OPTS = -DSQLITE_DEBUG=2
58+
#OPTS = -DSQLITE_DEBUG=1
59+
#OPTS =
60+
OPTS = -DNDEBUG=1
61+
OPTS += -DHAVE_FDATASYNC=1
62+
63+
#### The suffix to add to executable files. ".exe" for windows.
64+
# Nothing for unix.
65+
#
66+
#EXE = .exe
67+
EXE =
68+
69+
#### C Compile and options for use in building executables that
70+
# will run on the target platform. This is usually the same
71+
# as BCC, unless you are cross-compiling.
72+
#
73+
TCC = gcc -O6
74+
#TCC = gcc -g -O0 -Wall
75+
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
76+
#TCC = /opt/mingw/bin/i386-mingw32-gcc -O6
77+
#TCC = /opt/ansic/bin/c89 -O +z -Wl,-a,archive
78+
79+
#### Tools used to build a static library.
80+
#
81+
AR = ar cr
82+
#AR = /opt/mingw/bin/i386-mingw32-ar cr
83+
RANLIB = ranlib
84+
#RANLIB = /opt/mingw/bin/i386-mingw32-ranlib
85+
86+
MKSHLIB = gcc -shared
87+
SO = so
88+
SHPREFIX = lib
89+
# SO = dll
90+
# SHPREFIX =
91+
92+
#### Extra compiler options needed for programs that use the TCL library.
93+
#
94+
#TCL_FLAGS =
95+
#TCL_FLAGS = -DSTATIC_BUILD=1
96+
TCL_FLAGS = -I/home/drh/tcltk/8.4linux
97+
#TCL_FLAGS = -I/home/drh/tcltk/8.4win -DSTATIC_BUILD=1
98+
#TCL_FLAGS = -I/home/drh/tcltk/8.3hpux
99+
100+
#### Linker options needed to link against the TCL library.
101+
#
102+
#LIBTCL = -ltcl -lm -ldl
103+
LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl
104+
#LIBTCL = /home/drh/tcltk/8.4win/libtcl84s.a -lmsvcrt
105+
#LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc
106+
107+
#### Additional objects for SQLite library when TCL support is enabled.
108+
#TCLOBJ =
109+
TCLOBJ = tclsqlite.o
110+
111+
#### Compiler options needed for programs that use the readline() library.
112+
#
113+
READLINE_FLAGS =
114+
#READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline
115+
116+
#### Linker options needed by programs using readline() must link against.
117+
#
118+
LIBREADLINE =
119+
#LIBREADLINE = -static -lreadline -ltermcap
120+
121+
#### Which "awk" program provides nawk compatibilty
122+
#
123+
# NAWK = nawk
124+
NAWK = awk
125+
126+
# You should not have to change anything below this line
127+
###############################################################################
128+
include $(TOP)/main.mk

README

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
This directory contains source code to
2+
3+
SQLite: An Embeddable SQL Database Engine
4+
5+
To compile the project, first create a directory in which to place
6+
the build products. It is recommended, but not required, that the
7+
build directory be separate from the source directory. Cd into the
8+
build directory and then from the build directory run the configure
9+
script found at the root of the source tree. Then run "make".
10+
11+
For example:
12+
13+
tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite"
14+
mkdir bld ;# Build will occur in a sibling directory
15+
cd bld ;# Change to the build directory
16+
../sqlite/configure ;# Run the configure script
17+
make ;# Run the makefile.
18+
make install ;# (Optional) Install the build products
19+
20+
The configure script uses autoconf 2.61 and libtool. If the configure
21+
script does not work out for you, there is a generic makefile named
22+
"Makefile.linux-gcc" in the top directory of the source tree that you
23+
can copy and edit to suit your needs. Comments on the generic makefile
24+
show what changes are needed.
25+
26+
The linux binaries on the website are created using the generic makefile,
27+
not the configure script.
28+
The windows binaries on the website are created using MinGW32 configured
29+
as a cross-compiler running under Linux. For details, see the ./publish.sh
30+
script at the top-level of the source tree.
31+
32+
Contacts:
33+
34+
http://www.sqlite.org/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.6.0