* harbour/contrib/hbmysql/Makefile
* harbour/contrib/hbodbc/Makefile
* harbour/contrib/hbsqlit3/Makefile
* harbour/contrib/hbfbird/Makefile
* harbour/contrib/hbcurl/Makefile
* harbour/contrib/hbhpdf/Makefile
* harbour/contrib/hbpgsql/Makefile
* harbour/contrib/hbfimage/Makefile
* harbour/contrib/hbgd/Makefile
* harbour/contrib/hbgf/hbgfgtk/Makefile
* do not add default system include directory to C_USR during testing
for foreign header files when HB_XBUILD variable is set - protection
against including wrong header files in cross builds
* harbour/contrib/hbtpathy/ChangeLog
* changed SVN EOL style to 'native'
* harbour/contrib/hbbmcdx/bmdbfcdx.c
* pacified warning
41 lines
725 B
Makefile
41 lines
725 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
LIBNAME=hbpgsql
|
|
|
|
ifeq ($(HB_INC_PGSQL),)
|
|
ifeq ($(HB_XBUILD),)
|
|
HB_INC_PGSQL = /usr/include /usr/local/pgsql/include /usr/local/pgsql/include/libpq /usr/include/pgsql /usr/include/postgresql /postgres/include
|
|
endif
|
|
endif
|
|
|
|
HB_INC_PGSQL_OK += $(foreach d, $(HB_INC_PGSQL), $(if $(wildcard $(d)/libpq-fe.h),$(d),))
|
|
|
|
ifneq ($(strip $(HB_INC_PGSQL_OK)),)
|
|
|
|
C_USR += $(foreach d, $(HB_INC_PGSQL_OK), -I$(d))
|
|
|
|
C_SOURCES=\
|
|
postgres.c \
|
|
|
|
PRG_SOURCES=\
|
|
tpostgre.prg \
|
|
pgrdd.prg \
|
|
|
|
PRG_HEADERS=\
|
|
postgres.ch \
|
|
|
|
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
|