* contrib/make_b32_all.bat
* contrib/make_gcc_all.sh
* contrib/make_vc_all.bat
+ contrib/hbsqlit2
+ contrib/hbsqlit2/Makefile
+ contrib/hbsqlit2/make_b32.bat
+ contrib/hbsqlit2/make_vc.bat
+ contrib/hbsqlit2/make_gcc.sh
+ contrib/hbsqlit2/common.mak
+ contrib/hbsqlit2/hbsqlit2.c
+ contrib/hbsqlit2/hbsqlit2.ch
+ contrib/hbsqlit2/LICENSE.txt
+ contrib/hbsqlit2/TODO.txt
+ contrib/hbsqlit2/readme.txt
+ contrib/hbsqlit2/attach.c
+ contrib/hbsqlit2/auth.c
+ contrib/hbsqlit2/btree.c
+ contrib/hbsqlit2/btree.h
+ contrib/hbsqlit2/btree_rb.c
+ contrib/hbsqlit2/build.c
+ contrib/hbsqlit2/config.h
+ contrib/hbsqlit2/copy.c
+ contrib/hbsqlit2/date.c
+ contrib/hbsqlit2/delete.c
+ contrib/hbsqlit2/encode.c
+ contrib/hbsqlit2/expr.c
+ contrib/hbsqlit2/func.c
+ contrib/hbsqlit2/hash.c
+ contrib/hbsqlit2/hash.h
+ contrib/hbsqlit2/insert.c
+ contrib/hbsqlit2/main.c
+ contrib/hbsqlit2/opcodes.c
+ contrib/hbsqlit2/opcodes.h
+ contrib/hbsqlit2/os.c
+ contrib/hbsqlit2/os.h
+ contrib/hbsqlit2/pager.c
+ contrib/hbsqlit2/pager.h
+ contrib/hbsqlit2/parse.c
+ contrib/hbsqlit2/parse.h
+ contrib/hbsqlit2/pragma.c
+ contrib/hbsqlit2/printf.c
+ contrib/hbsqlit2/random.c
+ contrib/hbsqlit2/select.c
+ contrib/hbsqlit2/sqlite.h
+ contrib/hbsqlit2/sqliteInt.h
+ contrib/hbsqlit2/table.c
+ contrib/hbsqlit2/tokenize.c
+ contrib/hbsqlit2/trigger.c
+ contrib/hbsqlit2/update.c
+ contrib/hbsqlit2/util.c
+ contrib/hbsqlit2/vacuum.c
+ contrib/hbsqlit2/vdbe.c
+ contrib/hbsqlit2/vdbe.h
+ contrib/hbsqlit2/vdbeaux.c
+ contrib/hbsqlit2/vdbeInt.h
+ contrib/hbsqlit2/where.c
+ contrib/hbsqlit2/tests/bld_b32.bat
+ contrib/hbsqlit2/tests/bld_vc.bat
+ contrib/hbsqlit2/tests/example.db
+ contrib/hbsqlit2/tests/hbsqlite.prg
+ Added hbsqlit2 SQLite 2.x interface library.
With kind permission from the author:
Alejandro de Gárate <alex_degarate/at/hotmail.com>
+ Some renames were done here too to better fit into
the contrib structure.
+ Added std make files.
+ Added to 'all' make files.
+ Added foreign SQLite 2.8.16 (final 2.x version)
source code to the repository.
Compiles with an okay amount of warnings under BCC but
doesn't compile in C++ mode in MSVC (due to missing
casts).
; NOTE: I've added this because this is the original
SQLite Harbour interface, clean and working
implementation, and SQLite 2 is incompatible
with 3, and some may need to access existing
2.x databases from Harbour.
78 lines
2.6 KiB
Bash
Executable File
78 lines
2.6 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
# ---------------------------------------------------------------
|
|
# Partly based on harbour/make_gcc.sh by :
|
|
# Copyright 2007 Przemyslaw Czerpak (druzus/at/priv.onet.pl),
|
|
# See doc/license.txt for licensing terms.
|
|
# ---------------------------------------------------------------
|
|
|
|
if [ -z "$HB_ARCHITECTURE" ]; then
|
|
if [ "$OSTYPE" = "msdosdjgpp" ]; then
|
|
hb_arch="dos"
|
|
else
|
|
hb_arch=`uname -s | tr -d "[-]" | tr '[A-Z]' '[a-z]' 2>/dev/null`
|
|
case "$hb_arch" in
|
|
*windows*|*mingw32*|msys*) hb_arch="w32" ;;
|
|
*cygwin*) hb_arch="cyg" ;;
|
|
*dos) hb_arch="dos" ;;
|
|
*bsd) hb_arch="bsd" ;;
|
|
esac
|
|
fi
|
|
export HB_ARCHITECTURE="$hb_arch" _HB_ARCH_SAVED=1
|
|
fi
|
|
|
|
#**************************************************************
|
|
|
|
if [ -z "$HB_CC_NAME" ]; then
|
|
case "$HB_ARCHITECTURE" in
|
|
w32) HB_CC_NAME="mingw" ;;
|
|
dos) HB_CC_NAME="djgpp" ;;
|
|
*) HB_CC_NAME="gcc" ;;
|
|
esac
|
|
export HB_CC_NAME _HB_CC_NAME_SAVED=1
|
|
fi
|
|
|
|
#**************************************************************
|
|
|
|
_HB_DIRS="hbbmcdx hbbtree hbclipsm hbct hbgt hbmisc hbmsql hbmzip hbnf hbtip hbsqlit2 hbsqlit3 hbtpathy hbvpdf xhb"
|
|
|
|
case "$HB_ARCHITECTURE" in
|
|
w32|cyg|os2)
|
|
_HB_DIRS_ADD="gtwvg hbole hbodbc hbw32 hbw32ddr hbwhat32 hbziparch rddado"
|
|
;;
|
|
*)
|
|
_HB_DIRS_ADD=;;
|
|
esac
|
|
|
|
if [ "${HB_INC_APOLLO}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbapollo"; fi;
|
|
if [ "${HB_INC_FIREBIRD}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbfbird "; fi;
|
|
if [ "${HB_INC_FREEIMAGE}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbfimage"; fi;
|
|
if [ "${HB_INC_GD}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbgd "; fi;
|
|
if [ "${HB_INC_MYSQL}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbmysql "; fi;
|
|
if [ "${HB_INC_PGSQL}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbpgsql "; fi;
|
|
if [ "${HB_INC_ADS}" != "" ]; then _HB_DIRS="${_HB_DIRS} rddads "; fi;
|
|
if [ "${HB_INC_LIBHARU}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbhpdf "; fi;
|
|
if [ "${HB_INC_CURL}" != "" ]; then _HB_DIRS="${_HB_DIRS} hbcurl "; fi;
|
|
|
|
_HB_DIRS="${_HB_DIRS} ${_HB_DIRS_ADD}"
|
|
|
|
#**************************************************************
|
|
|
|
for n in ${_HB_DIRS}; do
|
|
if [ -d $n ]; then
|
|
echo Entering $n ... \( $1 $2 $3 $4 $5\)
|
|
cd $n
|
|
[ -f ./make_gcc.sh ] && ${SHELL} -c "./make_gcc.sh $1 $2 $3 $4 $5"
|
|
cd ..
|
|
fi
|
|
done
|
|
|
|
#**************************************************************
|
|
|
|
if [ -n "$_HB_CC_NAME_SAVED" ]; then unset HB_CC_NAME _HB_CC_NAME_SAVED; fi
|
|
if [ -n "$_HB_ARCH_SAVED" ]; then unset HB_ARCHITECTURE _HB_ARCH_SAVED; fi
|