* contrib/hbapollo/Makefile
* contrib/hbcurl/Makefile
* contrib/hbfbird/Makefile
* contrib/hbfimage/Makefile
* contrib/hbgd/Makefile
* contrib/hbhpdf/Makefile
* contrib/hbmysql/Makefile
* contrib/hbpgsql/Makefile
* contrib/rddads/Makefile
! Fixed a macro check to make autodetection really work.
So the previous TOFIX (2008-06-30 19:20 UTC+0200) is
now cleared.
* contrib/hbgf/hbgfgtk/Makefile
+ Added header detection. (default: /usr/include)
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipcom.cpp
* contrib/hbziparch/hbzipnew.cpp
! Pacified Linux warnings.
* Some formatting.
37 lines
644 B
Makefile
37 lines
644 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ifeq ($(HB_INC_PGSQL),)
|
|
HB_INC_PGSQL = /usr/local/pgsql/include /usr/local/pgsql/include/libpq /usr/include/pgsql /usr/include/postgresql /postgres/include
|
|
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))
|
|
|
|
ROOT = ../../
|
|
|
|
C_SOURCES=\
|
|
postgres.c \
|
|
|
|
PRG_SOURCES=\
|
|
tpostgre.prg \
|
|
pgrdd.prg \
|
|
|
|
PRG_HEADERS=\
|
|
postgres.ch \
|
|
|
|
LIBNAME=hbpgsql
|
|
|
|
include $(TOP)$(ROOT)config/header.cf
|
|
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
|
|
install::
|
|
$(INSTALL_RULE_HEADERS)
|
|
|
|
endif
|