Files
harbour-core/harbour/contrib/rddsql/sddpg/Makefile
Viktor Szakats 4d624238d2 2009-09-11 11:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * contrib/rddsql/sddpg/Makefile
  * contrib/hbpgsql/Makefile
    + Added pgsql84 default support.
2009-09-11 09:36:28 +00:00

31 lines
740 B
Makefile

#
# $Id$
#
ROOT := ../../../
include $(TOP)$(ROOT)config/global.mk
LIBNAME := sddpg
C_SOURCES := \
pgsqldd.c \
_DET_DSP_NAME := postgresql
_DET_VAR_INC_ := HB_INC_PGSQL
_DET_VAR_HAS_ := HB_HAS_PGSQL
_DET_FLT_PLAT :=
_DET_FLT_COMP :=
_DET_INC_DEFP := /usr/include /usr/local/pgsql/include /usr/local/pgsql/include/libpq
_DET_INC_DEFP += /usr/include/pgsql /usr/include/postgresql /postgres/include /opt/local/include/postgresql84 /opt/local/include/postgresql83
_DET_INC_HEAD := /libpq-fe.h
include $(TOP)$(ROOT)config/detfun.mk
ifneq ($(HB_HAS_PGSQL),)
HB_CFLAGS += $(foreach d,$(HB_HAS_PGSQL),-I$(d))
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := $(_DET_RES_TEXT)
include $(TOP)$(ROOT)config/none.mk
endif