* config/global.cf
! Fixed 'sh' HB_SHELL detection. Problem experienced with
Cygwin GNU Make, where SHLVL isn't defined on the first
level. Now also checking for SHELL=/bin/sh to detect sh
shell.
* tests/multifnc/Makefile
* external/sqlite3/Makefile
* external/libhpdf/Makefile
* external/libpng/Makefile
* contrib/gtalleg/Makefile
* contrib/hbodbc/Makefile
* contrib/hbtpathy/Makefile
* contrib/hbsqlit3/Makefile
* contrib/hbblat/Makefile
* contrib/hbqt/Makefile
* contrib/hbfbird/Makefile
* contrib/hbxbp/Makefile
* contrib/hbcurl/Makefile
* contrib/gtqtc/Makefile
* contrib/rddsql/sddfb/Makefile
* contrib/rddsql/sddodbc/Makefile
* contrib/rddado/Makefile
* contrib/gtwvg/Makefile
* contrib/rddads/Makefile
* contrib/hbfimage/Makefile
* contrib/hbtip/Makefile
* contrib/hbwin/Makefile
* contrib/hbssl/Makefile
* source/vm/Makefile
* source/vm/vmmt/Makefile
* source/rtl/gtdos/Makefile
* source/rtl/gtwin/Makefile
* source/rtl/gtxwc/Makefile
* source/rtl/gtcrs/Makefile
* source/rtl/gttrm/Makefile
* source/rtl/Makefile
* source/rtl/gtos2/Makefile
* source/rtl/gtsln/Makefile
* source/rtl/gtgui/Makefile
* source/rtl/gtwvt/Makefile
* source/rdd/Makefile
* source/rdd/dbffpt/Makefile
! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER/HB_COMMERCE
variables work in case we're relying on autodetection.
; TODO: May need to do this for a few other cases where detection is relying
on some additional variables. Like HB_XBUILD, which needs to be
cleaned further, maybe autodetection added.
; NOTE: Above changes mean that from now on for basic build usage it's
enough to have the compiler in PATH and to issue a simple 'make'
or 'mingw32-make' (or whatever GNU Make is called in that environment),
and make process should just work. IOW, no need to go through
"starter" scripts in root (make_gnu.*).
54 lines
971 B
Makefile
54 lines
971 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../
|
|
|
|
include $(TOP)$(ROOT)config/global.cf
|
|
|
|
HB_BUILD_WARN := no
|
|
HB_BUILD_MODE := c
|
|
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
HB_USER_CFLAGS += -D_WIN32_WCE
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),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_USER_CFLAGS += -DSQLITE_OS_OTHER
|
|
endif
|
|
|
|
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
|