File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / sqlite3 / tool / build-shell.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 17:04:17 2012 UTC (12 years, 10 months ago) by misho
Branches: sqlite3, MAIN
CVS tags: v3_7_10, HEAD
sqlite3

    1: #!/bin/sh
    2: #
    3: # This script demonstrates how to do a full-featured build of the sqlite3
    4: # command-line shell on Linux.
    5: #
    6: # SQLite source code should be in a sibling directory named "sqlite".  For
    7: # example, put SQLite sources in ~/sqlite/sqlite and run this script from
    8: # ~/sqlite/bld.  There should be an appropriate Makefile in the current
    9: # directory as well.
   10: #
   11: make sqlite3.c
   12: gcc -o sqlite3 -g -Os -I. \
   13:    -DSQLITE_THREADSAFE=0 \
   14:    -DSQLITE_ENABLE_VFSTRACE \
   15:    -DSQLITE_ENABLE_STAT2 \
   16:    -DSQLITE_ENABLE_FTS3 \
   17:    -DSQLITE_ENABLE_RTREE \
   18:    -DHAVE_READLINE \
   19:    -DHAVE_USLEEP=1 \
   20:    ../sqlite/src/shell.c ../sqlite/src/test_vfstrace.c \
   21:    sqlite3.c -ldl -lreadline -lncurses

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>