* harbour/bin/pack_src.sh
+ harbour/contrib/pgsql/Changelog
+ harbour/contrib/pgsql/Makefile
+ harbour/contrib/pgsql/README
+ harbour/contrib/pgsql/make_b32.bat
+ harbour/contrib/pgsql/makefile.bc
+ harbour/contrib/pgsql/pgrdd.prg
+ harbour/contrib/pgsql/postgres.c
+ harbour/contrib/pgsql/postgres.ch
+ harbour/contrib/pgsql/tpostgre.prg
+ harbour/contrib/pgsql/tstpgrdd.prg
+ harbour/contrib/pgsql/tests/Makefile
+ harbour/contrib/pgsql/tests/async.prg
+ harbour/contrib/pgsql/tests/cache.prg
+ harbour/contrib/pgsql/tests/dbf2pg.prg
+ harbour/contrib/pgsql/tests/simple.prg
+ harbour/contrib/pgsql/tests/stress.prg
+ harbour/contrib/pgsql/tests/test.prg
+ added Postgres SQL library - code borrowed from xHarbour
* harbour/source/rtl/empty.c
+ added support for HASH items
* harbour/source/rtl/itemseri.c
+ added SYMBOL items serialization
32 lines
842 B
Plaintext
32 lines
842 B
Plaintext
|
|
# makefile for Borland C/C++ 32 bits
|
|
# Building of libhbpg.lib - Harbour API to postgres
|
|
|
|
# Postgresql running under Cygwin/Windows, unmark the line bellow to compile.
|
|
# PG_DIR = ..\..\..\cygwin\usr\src\postgresql-7.4.5
|
|
|
|
PG_DIR = C:\PostgreSQL
|
|
|
|
INCLUDE_DIR = ..\..\include
|
|
INCLUDE_PQ = $(PG_DIR)\include
|
|
|
|
BIN_DIR = c:\xharbour\bin
|
|
OBJ_DIR = ..\..\obj\b32
|
|
LIB_DIR = ..\..\lib\b32
|
|
|
|
$(LIB_DIR)\libhbpg.lib : \
|
|
$(OBJ_DIR)\TPostgres.obj \
|
|
$(OBJ_DIR)\postgres.obj
|
|
|
|
$(OBJ_DIR)\TPostgres.c : TPostgres.prg
|
|
$(OBJ_DIR)\TPostgres.obj : $(OBJ_DIR)\TPostgres.c
|
|
$(OBJ_DIR)\postgres.obj : postgres.c
|
|
|
|
.c.obj:
|
|
bcc32 $(CLIBFLAGS) -c -O2 -I$(INCLUDE_DIR) -I$(INCLUDE_PQ) -DHB_OS_WIN_32_USED -DPG_DIAG_INTERNAL_POSITION -o$@ $<
|
|
tlib $(LIB_DIR)\libhbpg.lib -+$@,,
|
|
|
|
.prg.c:
|
|
$(BIN_DIR)\harbour.exe $< -q0 -a -w -es2 -gc0 -n -i$(INCLUDE_DIR) -o$@
|
|
|