* include/hbthread.h
* src/vm/fm.c
! Tweaks to allow msvcarm 2003 build.
* src/vm/maindllp/dllpcode.c
* src/vm/maindllh.c
! Deleted (AFAIK unnecessary) HB_EXPORT to make msvcarm 2003 happy.
* src/common/hbgete.c
* src/rtl/net.c
! Fixed missing #include hbwince.h.
* external/sqlite3/Makefile
- Disabled for msvcarm 2003.
* contrib/gtalleg/Makefile
- Disabled for msvcarm.
* contrib/hbodbc/Makefile
* contrib/rddsql/sddodbc/Makefile
! Do not force sql.h header for msvcarm 2003.
* contrib/rddbmcdx/hbbmcdx.h
! Fixed HB_EXTERN placement to make msvcarm 2003 happy.
* contrib/hbct/ctnet.c
* contrib/xhb/hbsyslog.c
* contrib/xhb/hbserv.c
* contrib/hbtpathy/tpwin.c
* contrib/hbnf/getenvrn.c
* contrib/hbwin/wapi_winuser.c
* contrib/hbwin/olecore.c
* contrib/hbwin/win_dlg.c
! Fixed to make them compile on msvcarm 2003.
* config/wce/msvcarm.mk
* utils/hbmk2/hbmk2.prg
! Fixed warning option for msvcarm 2003.
* utils/hbmk2/hbmk2.prg
! Fixed type causing RTE with msvcarm targets.
; NOTE: hbcurl doesn't build with msvcarm 2003, so either
don't enable it, or experiment with HB_USER_CFLAGS=-U_WIN32_WCE
hack. The problem lies somewhere in libcurl headers,
not Harbour code.
76 lines
1.9 KiB
Makefile
76 lines
1.9 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
LIBNAME := sqlite3
|
|
|
|
HB_BUILD_WARN := no
|
|
HB_BUILD_MODE := c
|
|
|
|
C_SOURCES := \
|
|
sqlite3.c \
|
|
|
|
# decide if it's supported at all
|
|
HB_SUPPORTED := yes
|
|
ifeq ($(HB_COMPILER),poccarm)
|
|
HB_SUPPORTED := no
|
|
endif
|
|
# NOTE: old msvcarm can't cope with some PP directives. [vszakats]
|
|
ifeq ($(HB_COMPILER),msvcarm)
|
|
ifneq ($(filter $(HB_COMPILER_VER),600 700 710),)
|
|
HB_SUPPORTED := no
|
|
endif
|
|
endif
|
|
# NOTE: dos based watcom runs out of memory. [vszakats]
|
|
ifeq ($(HB_HOST_PLAT)-$(HB_COMPILER),dos-watcom)
|
|
HB_SUPPORTED := no
|
|
endif
|
|
# NOTE: disable *nix builds on non-*nix platforms. [vszakats]
|
|
ifeq ($(HB_HOST_PLAT_UNIX),)
|
|
ifneq ($(HB_PLATFORM_UNIX),)
|
|
HB_SUPPORTED := no
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_SUPPORTED),yes)
|
|
|
|
_DET_DSP_NAME := sqlite3
|
|
_DET_VAR_INC_ := HB_INC_SQLITE3
|
|
_DET_VAR_HAS_ := HB_HAS_SQLITE3
|
|
_DET_FLT_PLAT :=
|
|
_DET_FLT_COMP :=
|
|
_DET_INC_DEFP := /usr/include
|
|
_DET_INC_LOCL := $(realpath $(TOP)$(ROOT)external/sqlite3)
|
|
_DET_INC_HEAD := /sqlite3.h
|
|
include $(TOP)$(ROOT)config/detfun.mk
|
|
|
|
ifneq ($(HB_HAS_SQLITE3_LOCAL),)
|
|
|
|
ifeq ($(HB_PLATFORM),wce)
|
|
HB_CFLAGS += -D_WIN32_WCE
|
|
endif
|
|
ifeq ($(HB_PLATFORM),dos)
|
|
# DJGPP and OpenWatcom in DOS aren't correctly recognized by SQLite,
|
|
# so we're forcing the next best available option. This will cause missing
|
|
# externals though. [vszakats]
|
|
HB_CFLAGS += -DSQLITE_OS_OTHER
|
|
endif
|
|
ifeq ($(HB_PLATFORM)-$(HB_COMPILER),linux-watcom)
|
|
# Watcom Linux builds cannot use system header files
|
|
HB_CFLAGS += -DSQLITE_OS_OTHER
|
|
endif
|
|
|
|
include $(TOP)$(ROOT)config/lib.mk
|
|
else
|
|
HB_SKIP_REASON := unused
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|
|
else
|
|
HB_SKIP_REASON := platform or compiler not supported
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|