Documentation Source Text

Hex Artifact Content
Login

Artifact b19e945d731b605a60590af0cfba1e2f8e5a1e37:


0000: 23 21 2f 75 73 72 2f 6d 61 6b 65 0a 23 0a 23 20  #!/usr/make.#.# 
0010: 4d 61 6b 65 66 69 6c 65 20 66 6f 72 20 53 51 4c  Makefile for SQL
0020: 69 74 65 20 44 6f 63 75 6d 65 6e 74 61 74 69 6f  ite Documentatio
0030: 6e 0a 23 0a 0a 23 23 23 23 20 54 68 65 20 74 6f  n.#..#### The to
0040: 70 6c 65 76 65 6c 20 64 69 72 65 63 74 6f 72 79  plevel directory
0050: 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74   of the document
0060: 61 74 69 6f 6e 20 73 6f 75 72 63 65 2e 0a 23 0a  ation source..#.
0070: 44 4f 43 20 3d 20 2e 0a 0a 23 23 23 23 20 54 68  DOC = ...#### Th
0080: 65 20 74 6f 70 6c 65 76 65 6c 20 64 69 72 65 63  e toplevel direc
0090: 74 6f 72 79 20 6f 66 20 74 68 65 20 70 72 6f 67  tory of the prog
00a0: 72 61 6d 20 73 6f 75 72 63 65 20 63 6f 64 65 2e  ram source code.
00b0: 0a 23 0a 53 52 43 20 3d 20 2e 2e 2f 73 71 6c 69  .#.SRC = ../sqli
00c0: 74 65 0a 0a 23 23 23 23 20 50 6f 69 6e 74 65 72  te..#### Pointer
00d0: 20 74 6f 20 74 68 65 20 74 63 6c 73 71 6c 69 74   to the tclsqlit
00e0: 65 33 2e 63 20 61 6d 61 6c 67 61 6d 61 74 69 6f  e3.c amalgamatio
00f0: 6e 20 73 6f 75 72 63 65 20 66 69 6c 65 0a 23 0a  n source file.#.
0100: 54 43 4c 53 51 4c 49 54 45 33 43 20 3d 20 2e 2e  TCLSQLITE3C = ..
0110: 2f 62 6c 64 2f 74 63 6c 73 71 6c 69 74 65 33 2e  /bld/tclsqlite3.
0120: 63 0a 0a 23 23 23 23 20 54 68 65 20 74 6f 70 6c  c..#### The topl
0130: 65 76 65 6c 20 64 69 72 65 63 74 6f 72 79 20 6f  evel directory o
0140: 66 20 74 68 65 20 54 48 33 20 74 65 73 74 20 68  f the TH3 test h
0150: 61 72 6e 65 73 73 20 73 6f 75 72 63 65 73 0a 23  arness sources.#
0160: 20 20 20 20 4c 65 61 76 65 20 62 6c 61 6e 6b 20      Leave blank 
0170: 69 66 20 54 48 33 20 69 73 20 6e 6f 74 20 61 76  if TH3 is not av
0180: 61 69 6c 61 62 6c 65 2e 0a 23 0a 54 48 33 20 3d  ailable..#.TH3 =
0190: 0a 0a 23 23 23 23 20 54 68 65 20 74 6f 70 6c 65  ..#### The tople
01a0: 76 65 6c 20 64 69 72 65 63 74 6f 72 79 20 6f 66  vel directory of
01b0: 20 74 68 65 20 53 51 4c 4c 6f 67 69 63 54 65 73   the SQLLogicTes
01c0: 74 20 28 53 4c 54 29 20 74 65 73 74 0a 23 20 20  t (SLT) test.#  
01d0: 20 20 68 61 72 6e 65 73 73 20 73 6f 75 72 63 65    harness source
01e0: 73 2e 20 20 4c 65 61 76 65 20 62 6c 61 6e 6b 20  s.  Leave blank 
01f0: 69 66 20 53 4c 54 20 69 73 20 6e 6f 74 20 61 76  if SLT is not av
0200: 61 69 6c 61 62 6c 65 2e 0a 23 0a 53 4c 54 20 3d  ailable..#.SLT =
0210: 0a 0a 23 23 23 23 20 41 20 43 2d 63 6f 6d 70 69  ..#### A C-compi
0220: 6c 65 72 20 66 6f 72 20 62 75 69 6c 64 69 6e 67  ler for building
0230: 20 75 74 69 6c 69 74 79 20 70 72 6f 67 72 61 6d   utility program
0240: 73 20 74 6f 20 72 75 6e 20 6c 6f 63 61 6c 6c 79  s to run locally
0250: 0a 23 0a 43 43 20 3d 20 67 63 63 20 2d 67 20 2d  .#.CC = gcc -g -
0260: 57 61 6c 6c 0a 0a 23 23 23 23 20 45 78 74 72 61  Wall..#### Extra
0270: 20 43 2d 63 6f 6d 70 69 6c 65 72 20 66 6c 61 67   C-compiler flag
0280: 73 20 6e 65 65 64 65 64 20 74 6f 20 63 6f 6d 70  s needed to comp
0290: 69 6c 65 20 54 43 4c 53 48 0a 23 0a 54 43 4c 49  ile TCLSH.#.TCLI
02a0: 4e 43 20 3d 0a 54 43 4c 46 4c 41 47 53 20 3d 20  NC =.TCLFLAGS = 
02b0: 2d 6c 64 6c 20 2d 6c 6d 20 2d 6c 70 74 68 72 65  -ldl -lm -lpthre
02c0: 61 64 20 2d 6c 74 63 6c 20 2d 6c 7a 0a 0a 23 23  ad -ltcl -lz..##
02d0: 23 23 20 45 78 74 72 61 20 43 2d 63 6f 6d 70 69  ## Extra C-compi
02e0: 6c 65 72 20 66 6c 61 67 73 20 6e 65 65 64 65 64  ler flags needed
02f0: 20 74 6f 20 63 6f 6d 70 69 6c 65 20 61 20 54 43   to compile a TC
0300: 4c 20 65 78 74 65 6e 73 69 6f 6e 20 74 68 61 74  L extension that
0310: 0a 23 20 20 20 20 69 73 20 73 74 75 62 73 20 65  .#    is stubs e
0320: 6e 61 62 6c 65 64 2e 0a 23 0a 54 43 4c 53 54 55  nabled..#.TCLSTU
0330: 42 46 4c 41 47 53 20 3d 20 2d 6c 64 6c 20 2d 6c  BFLAGS = -ldl -l
0340: 6d 20 2d 6c 70 74 68 72 65 61 64 20 2d 6c 74 63  m -lpthread -ltc
0350: 6c 73 74 75 62 20 2d 6c 7a 0a 0a 23 23 23 23 20  lstub -lz..#### 
0360: 57 68 69 63 68 20 22 61 77 6b 22 20 70 72 6f 67  Which "awk" prog
0370: 72 61 6d 20 70 72 6f 76 69 64 65 73 20 6e 61 77  ram provides naw
0380: 6b 20 63 6f 6d 70 61 74 69 62 69 6c 74 79 0a 23  k compatibilty.#
0390: 0a 23 20 4e 41 57 4b 20 3d 20 6e 61 77 6b 0a 4e  .# NAWK = nawk.N
03a0: 41 57 4b 20 3d 20 61 77 6b 0a 0a 23 20 59 6f 75  AWK = awk..# You
03b0: 20 73 68 6f 75 6c 64 20 6e 6f 74 20 68 61 76 65   should not have
03c0: 20 74 6f 20 63 68 61 6e 67 65 20 61 6e 79 74 68   to change anyth
03d0: 69 6e 67 20 62 65 6c 6f 77 20 74 68 69 73 20 6c  ing below this l
03e0: 69 6e 65 0a 23 23 23 23 23 23 23 23 23 23 23 23  ine.############
03f0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0400: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0410: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0420: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0430: 23 23 23 0a 69 6e 63 6c 75 64 65 20 24 28 44 4f  ###.include $(DO
0440: 43 29 2f 6d 61 69 6e 2e 6d 6b 0a                 C)/main.mk.