clarify trace message for raw key
[sqlcipher.git] / Makefile.arm-wince-mingw32ce-gcc
blob323b7ea482f4929621c2f4d8ac749e175ea4c92f
1 #!/usr/make
3 # Makefile for SQLITE
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".
14 #### The directory where to find the mingw32ce tools
15 MINGW32CE = /opt/mingw32ce/bin
17 #### The target prefix of the mingw32ce tools
18 TARGET = arm-wince-mingw32ce
20 #### The toplevel directory of the source tree. This is the directory
21 # that contains this "Makefile.in" and the "configure.in" script.
23 TOP = ../sqlite
25 #### C Compiler and options for use in building executables that
26 # will run on the platform that is doing the build.
28 BCC = gcc -g -O2
29 #BCC = /opt/ancic/bin/c89 -0
31 #### If the target operating system supports the "usleep()" system
32 # call, then define the HAVE_USLEEP macro for all C modules.
34 USLEEP =
35 #USLEEP = -DHAVE_USLEEP=1
37 #### If you want the SQLite library to be safe for use within a
38 # multi-threaded program, then define the following macro
39 # appropriately:
41 THREADSAFE = -DTHREADSAFE=1
42 #THREADSAFE = -DTHREADSAFE=0
44 #### Specify any extra linker options needed to make the library
45 # thread safe
47 #THREADLIB = -lpthread
48 THREADLIB =
50 #### Specify any extra libraries needed to access required functions.
52 #TLIBS = -lrt # fdatasync on Solaris 8
53 TLIBS =
55 #### 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
57 # malloc()s and free()s in order to track down memory leaks.
59 # SQLite uses some expensive assert() statements in the inner loop.
60 # You can make the library go almost twice as fast if you compile
61 # with -DNDEBUG=1
63 #OPTS = -DSQLITE_DEBUG=2
64 #OPTS = -DSQLITE_DEBUG=1
65 #OPTS =
66 OPTS = -DNDEBUG=1 -DSQLITE_OS_WIN=1 -D_WIN32_WCE=1
67 #OPTS += -DHAVE_FDATASYNC=1
69 #### The suffix to add to executable files. ".exe" for windows.
70 # Nothing for unix.
72 EXE = .exe
73 #EXE =
75 #### C Compile and options for use in building executables that
76 # will run on the target platform. This is usually the same
77 # as BCC, unless you are cross-compiling.
79 #TCC = gcc -O6
80 #TCC = gcc -g -O0 -Wall
81 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
82 #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
86 #### Tools used to build a static library.
88 #AR = ar cr
89 #AR = /opt/mingw/bin/i386-mingw32-ar cr
90 AR = $(MINGW32CE)/$(TARGET)-ar cr
91 #RANLIB = ranlib
92 #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib
93 RANLIB = $(MINGW32CE)/$(TARGET)-ranlib
95 #MKSHLIB = gcc -shared
96 #SO = so
97 #SHPREFIX = lib
98 MKSHLIB = $(MINGW32CE)/$(TARGET)-gcc -shared
99 SO = dll
100 SHPREFIX =
102 #### Extra compiler options needed for programs that use the TCL library.
104 #TCL_FLAGS =
105 #TCL_FLAGS = -DSTATIC_BUILD=1
106 TCL_FLAGS = -I/home/drh/tcltk/8.5linux
107 #TCL_FLAGS = -I/home/drh/tcltk/8.5win -DSTATIC_BUILD=1
108 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux
110 #### Linker options needed to link against the TCL library.
112 #LIBTCL = -ltcl -lm -ldl
113 LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl
114 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt
115 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc
117 #### Additional objects for SQLite library when TCL support is enabled.
118 TCLOBJ =
119 #TCLOBJ = tclsqlite.o
121 #### Compiler options needed for programs that use the readline() library.
123 READLINE_FLAGS =
124 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline
126 #### Linker options needed by programs using readline() must link against.
128 LIBREADLINE =
129 #LIBREADLINE = -static -lreadline -ltermcap
131 #### Which "awk" program provides nawk compatibilty
133 # NAWK = nawk
134 NAWK = awk
136 # You should not have to change anything below this line
137 ###############################################################################
138 include $(TOP)/main.mk