-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
68 lines (58 loc) · 1.83 KB
/
Makefile
File metadata and controls
68 lines (58 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/make
#
#####
# Documentation builds require Tcl librarys, version 8.6 or later.
# The TCLINC and TCLFLAGS macros are appropriate for the default Tcl
# development libraries on Ubuntu. You may need to make adjustments.
#
TCLINC = -I/usr/include/tcl8.6
TCLFLAGS = -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lm -lpthread -lz
# Alternative TCL settings:
#
#TCLINC = -I$(HOME)/tcl/include
#TCLFLAGS = -static $(HOME)/tcl/lib/libtcl8.6.a -ldl -lm -lpthread -lz
#
#TCLINC = -I$(HOME)/tcl/include
#TCLFLAGS = -L$(HOME)/lib -ltcl8.7 -ldl -lm -lpthread -lz
#
# The altenative settings will work if you build your on TCL as follows:
#
# # unpack the tarball (tcl 8.6 or later)
# cd unix
# ./configure --prefix=$(HOME)/tcl
# make install
#
# That will install the necessary tcl libraries in $(HOME)/tcl.
####
#### The toplevel directory of the documentation source.
# Change to something different if building out-of-tree
#
DOC = .
#### The toplevel directory of the program source code.
#
SRC = ../sqlite
#### The directory in which has been run "make sqlite3.c" for the
# SQLite source code. The documentation generator scripts look
# for files "sqlite3.h", "tclsqlite3.c" and "sqltclsh" in this
# directory.
# Set up the SQLite build using:
#
# cd $(BLD)
# $(SRC)/configure
# make tclsqlite3.c sqltclsh
#
BLD = ../sqlite
#### The toplevel directory of the TH3 test harness sources
# Leave blank if TH3 is not available.
#
TH3 =
#### The toplevel directory of the SQLLogicTest (SLT) test
# harness sources. Leave blank if SLT is not available.
#
SLT =
#### A C-compiler for building utility programs to run locally
#
CC = gcc -g -Wall -I$(BLD)
# You should not have to change anything below this line
###############################################################################
include $(DOC)/main.mk