* external/sqlite3/Makefile
* external/libhpdf/Makefile
* external/libpng/Makefile
* config/global.cf
* Remaining TABs deleted.
54 lines
973 B
Makefile
54 lines
973 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
|