* harbour/bin/hb-func.sh
+ added support for rddsql and sdd* libraries in hb* scripts
* harbour/harbour-win-spec
* harbour/harbour-wce-spec
! added rddnsx library
* harbour/mpkg_rpm.sh
* harbour/harbour.spec
+ added harbour-fbird RPM and support for sqlrdd and sdd* libraries
* harbour/contrib/rddsql/sddpg/Makefile
+ added other paths checking for postgresql header files
* harbour/contrib/rddsql/sddfb/Makefile
! fixed file name
* harbour/contrib/rddsql/sddpg/pgsqldd.c
* harbour/contrib/rddsql/sddfb/fbirddd.c
* cleanup init symbol declaration
! casting for C++ compilation
* added missing const in some char * declarations
* harbour/contrib/rddsql/sddfb/fbirddd.c
* changed some parameters passed to firebird functions.
Mindaugas please verify me because these modifications changes
the code behavior. I do not know FireBird API and I modified it to
only pass C++ compilation checking error messages. At least these
lines should be checked: 233, 236, 244, 245, 260, 261, 440, 445
If possible please also check casting I added in in other lines
because it may hide some mistakes.
28 lines
536 B
Makefile
28 lines
536 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../../
|
|
|
|
LIBNAME=sddpg
|
|
|
|
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=\
|
|
pgsqldd.c \
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
else
|
|
include $(TOP)$(ROOT)config/none.cf
|
|
endif
|