2000-09-30 09:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2000-09-30 09:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* contrib/mysql/mysql.c
|
||||
* minor change for support of Win32
|
||||
+ contrib/mysql/make_b32.bat
|
||||
+ contrib/mysql/makefile.bc
|
||||
+ makefiles added for Borland C
|
||||
|
||||
2000-09-30 13:28 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
|
||||
*source/rtl/tbrowse.prg
|
||||
* moved browse init to New() method. TBrowseNew() function is now empty and simply returns
|
||||
|
||||
26
harbour/contrib/mysql/make_b32.bat
Normal file
26
harbour/contrib/mysql/make_b32.bat
Normal file
@@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
if "%1" == "clean" goto CLEAN
|
||||
if "%1" == "CLEAN" goto CLEAN
|
||||
|
||||
:BUILD
|
||||
|
||||
make -fmakefile.bc %1 %2 %3 > make_b32.log
|
||||
if errorlevel 1 goto BUILD_ERR
|
||||
|
||||
:BUILD_OK
|
||||
|
||||
copy ..\..\lib\b32\mysql.lib ..\..\lib\*.* > nul
|
||||
goto EXIT
|
||||
|
||||
:BUILD_ERR
|
||||
|
||||
notepad make_b32.log
|
||||
goto EXIT
|
||||
|
||||
:CLEAN
|
||||
|
||||
goto EXIT
|
||||
|
||||
:EXIT
|
||||
|
||||
31
harbour/contrib/mysql/makefile.bc
Normal file
31
harbour/contrib/mysql/makefile.bc
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
# makefile for Borland C/C++ 32 bits
|
||||
# Building of mysql.lib - Harbour API to mySQL
|
||||
|
||||
INCLUDE_DIR = ..\..\include
|
||||
|
||||
BIN_DIR = ..\..\bin\b32
|
||||
OBJ_DIR = ..\..\obj\b32
|
||||
LIB_DIR = ..\..\lib\b32
|
||||
|
||||
$(LIB_DIR)\mysql.lib : \
|
||||
$(OBJ_DIR)\tmysql.obj \
|
||||
$(OBJ_DIR)\tsqlbrw.obj \
|
||||
$(OBJ_DIR)\mysql.obj
|
||||
|
||||
$(OBJ_DIR)\tmysql.c : tmysql.prg
|
||||
$(OBJ_DIR)\tmysql.obj : $(OBJ_DIR)\tmysql.c
|
||||
$(OBJ_DIR)\tsqlbrw.c : tsqlbrw.prg
|
||||
$(OBJ_DIR)\tsqlbrw.obj : $(OBJ_DIR)\tsqlbrw.c
|
||||
$(OBJ_DIR)\mysql.obj : mysql.c
|
||||
|
||||
.c.obj:
|
||||
bcc32 $(CLIBFLAGS) -c -O2 -I$(INCLUDE_DIR) -DHB_OS_WIN_32_USED -o$@ $<
|
||||
tlib $(LIB_DIR)\mysql.lib -+$@,,
|
||||
|
||||
.prg.c:
|
||||
$(BIN_DIR)\harbour.exe $< -q0 -w -es2 -gc0 -n -i$(INCLUDE_DIR) -o$@
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
|
||||
/* NOTE: we need this to prevent base types redefinition */
|
||||
#define _CLIPDEFS_H
|
||||
#if defined(HB_OS_WIN_32_USED)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "extend.api"
|
||||
#include "item.api"
|
||||
|
||||
Reference in New Issue
Block a user