* external/sqlite3/sqlite3.c
* external/sqlite3/Makefile
! Fixed DJGPP compilation, with extra cmdline macro.
There are still some missing symols at link phase.
Submitted as bug: 'sqlite - Ticket #3910'
http://www.sqlite.org/cvstrac/tktview?tn=3910
+ Enabled sqlite3 lib for dos platform. It also
compiles with owatcom.
- contrib/hbsqlit3/tests/authorizer.prg
+ contrib/hbsqlit3/tests/sl3_test.prg
- contrib/hbsqlit3/tests/sqlite3_test.prg
+ contrib/hbsqlit3/tests/authoriz.prg
! Renamed long filenames to short ones.
49 lines
729 B
Makefile
49 lines
729 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
HB_BUILD_WARN = no
|
|
HB_BUILD_MODE = c
|
|
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
HB_USER_CFLAGS += -D_WIN32_WCE
|
|
endif
|
|
ifeq ($(HB_COMPILER),djgpp)
|
|
HB_USER_CFLAGS += -DSQLITE_OS_OTHER
|
|
endif
|
|
|
|
ROOT = ../../
|
|
|
|
LIBNAME=sqlite3
|
|
|
|
ifeq ($(HB_WITH_SQLITE3),)
|
|
ifeq ($(HB_ARCHITECTURE),win)
|
|
HB_WITH_SQLITE3=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
HB_WITH_SQLITE3=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),os2)
|
|
HB_WITH_SQLITE3=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),dos)
|
|
HB_WITH_SQLITE3=yes
|
|
endif
|
|
ifeq ($(HB_COMPILER),mingwarm)
|
|
HB_WITH_SQLITE3=no
|
|
endif
|
|
ifeq ($(HB_COMPILER),poccarm)
|
|
HB_WITH_SQLITE3=no
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_WITH_SQLITE3),yes)
|
|
C_SOURCES =\
|
|
sqlite3.c \
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
|
|
else
|
|
include $(TOP)$(ROOT)config/none.cf
|
|
endif
|