* external/sqlite3/Makefile
* Don't build it for linux and darwin.
* contrib/hbsqlit3/Makefile
* Changed to plain standard external dependency search method.
+ Added searching in local sqlite3 copy for win and os2.
41 lines
634 B
Makefile
41 lines
634 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
LIBNAME=sqlite3
|
|
|
|
ifeq ($(HB_WITHOUT_SQLIT3),)
|
|
ifeq ($(HB_ARCHITECTURE),dos)
|
|
HB_WITHOUT_SQLIT3=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),bsd)
|
|
HB_WITHOUT_SQLIT3=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),hpux)
|
|
HB_WITHOUT_SQLIT3=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),linux)
|
|
HB_WITHOUT_SQLIT3=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),darwin)
|
|
HB_WITHOUT_SQLIT3=yes
|
|
endif
|
|
endif
|
|
|
|
ifneq ($(HB_WITHOUT_SQLIT3),yes)
|
|
C_SOURCES =\
|
|
_sqlite3.c \
|
|
|
|
include $(TOP)$(ROOT)config/header.cf
|
|
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
|
|
install::
|
|
$(INSTALL_RULE_HEADERS)
|
|
|
|
else
|
|
include $(TOP)$(ROOT)config/none.cf
|
|
endif
|