1#!/bin/sh 2# 3# This script is used to compile SQLite into a shared library on Linux. 4# 5# Two separate shared libraries are generated. "sqlite3.so" is the core 6# library. "tclsqlite3.so" contains the TCL bindings and is the 7# library that is loaded into TCL in order to run SQLite. 8# 9CFLAGS=-O2 -Wall 10make fts2amal.c 11echo gcc $CFLAGS -shared fts2amal.c -o fts2.so 12gcc $CFLAGS -shared fts2amal.c -o fts2.so 13strip fts2.so 14