Files
harbour-core/harbour-RC1/contrib/hbpgsql/Makefile
2008-06-04 05:13:20 +00:00

24 lines
398 B
Makefile

#
# $Id$
#
ROOT = ../../
C_SOURCES=\
postgres.c \
PRG_SOURCES=\
tpostgre.prg \
pgrdd.prg \
PRG_HEADERS=\
postgres.ch \
LIBNAME=hbpgsql
include $(TOP)$(ROOT)config/lib.cf
PG_DIRS = /usr/local/pgsql/include /usr/local/pgsql/include/libpq \
/usr/include/pgsql /usr/include/postgresql /postgres/include
CFLAGS += $(foreach d, $(PG_DIRS), $(if $(wildcard $(d)/libpq-fe.h),-I$(d),))