Sorry my mistakes.
but
http://www.xtech.com.cn/down/include.rar with bcc55,bcc582 works.
//---------------------
makefile.bc :
INCLUDE_DIR = d:\borland\bcc55\include;d:\harbour30\include;d:\mysqlinclude
BIN_DIR = d:\harbour30\bin
OBJ_DIR = obj
LIB_DIR = lib
$(LIB_DIR)\mysql.lib :\
$(OBJ_DIR)\tmysql.obj \
$(OBJ_DIR)\mysql.obj
$(OBJ_DIR)\tmysql.c : tmysql.prg
$(OBJ_DIR)\tmysql.obj : $(OBJ_DIR)\tmysql.c
$(OBJ_DIR)\mysql.obj : mysql.c
.c.obj:
\borland\bcc55\bin\bcc32 $(CLIBFLAGS) -c -O2 -I$(INCLUDE_DIR) -DHB_OS_WIN_32_USED -o$@ $<
\borland\bcc55\bin\tlib $(LIB_DIR)\mysql.lib -+$@,,
.prg.c:
$(BIN_DIR)\harbour.exe $< -q0 -w -es2 -gc0 -n -i$(INCLUDE_DIR) -o$@
//-----------------------------
make_b32.bat:
@echo off
rem
rem $Id: make_b32.bat,v 1.1 2003/02/03 05:19:18 walito Exp $
rem
if "%1" == "clean" goto CLEAN
if "%1" == "CLEAN" goto CLEAN
:BUILD
D:\borland\bcc55\bin\make -fmakefile.bc %1 %2 %3 > make_b32.log
if errorlevel 1 goto BUILD_ERR
:BUILD_OK
copy lib\mysql.lib *.* > nul
goto EXIT
:BUILD_ERR
notepad make_b32.log
goto EXIT
:CLEAN
if exist lib\mysql.lib del lib\mysql.lib
if exist lib\mysql.bak del lib\mysql.bak
if exist obj\mysql.obj del obj\mysql.obj
if exist obj\tmysql.c del obj\tmysql.c
if exist obj\tmysql.obj del obj\tmysql.obj
goto EXIT
:EXIT