2008-11-11 03:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

+ contrib/examples/rl
  + contrib/examples/rl/Makefile
  + contrib/examples/rl/hbmk_b32.bat
  + contrib/examples/rl/hbmk_vc.bat
  + contrib/examples/rl/readme.txt
    + Added build files for Clipper RL utility.
      (if someone remembers :)

  * contrib/examples/guestbk/hbmk_vc.bat
  * contrib/examples/pp/hbmk_vc.bat
  * contrib/examples/pe/hbmk_vc.bat
  * contrib/examples/dbu/hbmk_b32.bat
  * contrib/examples/dbu/hbmk_vc.bat
  * contrib/examples/hscript/hbmk_vc.bat
  * utils/hbdoc/hbmk_b32.bat
  * utils/hbdoc/hbmk_vc.bat
  * utils/hbmake/hbmk_b32.bat
  * utils/hbmake/hbmk_vc.bat
    % Removed winspool.lib from liblists.
    % Removed '/subsystem:console' from MSVC commandlines.
    + Added gtwvt.lib + gdi32.lib to liblists.
      (work in progress)

  * contrib/examples/dbu/readme.txt
    * Minor.

  * contrib/examples/pe/editorhi.prg
    ! Fixed stupid s&r error which broke compilation.
      [TOMERGE 1.0]
This commit is contained in:
Viktor Szakats
2008-11-11 02:15:10 +00:00
parent 57e48a64b0
commit 4f7b0310d3
17 changed files with 158 additions and 13 deletions

View File

@@ -8,6 +8,37 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-11-11 03:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/examples/rl
+ contrib/examples/rl/Makefile
+ contrib/examples/rl/hbmk_b32.bat
+ contrib/examples/rl/hbmk_vc.bat
+ contrib/examples/rl/readme.txt
+ Added build files for Clipper RL utility.
(if someone remembers :)
* contrib/examples/guestbk/hbmk_vc.bat
* contrib/examples/pp/hbmk_vc.bat
* contrib/examples/pe/hbmk_vc.bat
* contrib/examples/dbu/hbmk_b32.bat
* contrib/examples/dbu/hbmk_vc.bat
* contrib/examples/hscript/hbmk_vc.bat
* utils/hbdoc/hbmk_b32.bat
* utils/hbdoc/hbmk_vc.bat
* utils/hbmake/hbmk_b32.bat
* utils/hbmake/hbmk_vc.bat
% Removed winspool.lib from liblists.
% Removed '/subsystem:console' from MSVC commandlines.
+ Added gtwvt.lib + gdi32.lib to liblists.
(work in progress)
* contrib/examples/dbu/readme.txt
* Minor.
* contrib/examples/pe/editorhi.prg
! Fixed stupid s&r error which broke compilation.
[TOMERGE 1.0]
2008-11-11 02:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hbmk.bat
+ Added '-shared' support for MSVC.

View File

@@ -33,7 +33,7 @@ if exist hb_dbu.dif patch -N -i hb_dbu.dif
..\..\..\bin\harbour -q -n -l -i..\..\..\include %HB_DIR_DBU%\DBUUTIL.PRG
..\..\..\bin\harbour -q -n -l -i..\..\..\include %HB_DIR_DBU%\DBUVIEW.PRG
bcc32 -O2 -I..\..\..\include -L..\..\..\lib dbu.c dbucopy.c dbuedit.c dbuhelp.c dbuindx.c dbunet.c dbustru.c dbuutil.c dbuview.c hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib
bcc32 -O2 -I..\..\..\include -L..\..\..\lib dbu.c dbucopy.c dbuedit.c dbuhelp.c dbuindx.c dbunet.c dbustru.c dbuutil.c dbuview.c hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib
del *.obj

View File

@@ -33,7 +33,7 @@ if exist hb_dbu.dif patch -N -i hb_dbu.dif
..\..\..\bin\harbour -q -n -l -i..\..\..\include %HB_DIR_DBU%\DBUUTIL.PRG
..\..\..\bin\harbour -q -n -l -i..\..\..\include %HB_DIR_DBU%\DBUVIEW.PRG
cl -nologo -O2 -W3 -I..\..\..\include dbu.c dbucopy.c dbuedit.c dbuhelp.c dbuindx.c dbunet.c dbustru.c dbuutil.c dbuview.c /link /subsystem:CONSOLE /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib gdi32.lib
cl -nologo -O2 -W3 -I..\..\..\include dbu.c dbucopy.c dbuedit.c dbuhelp.c dbuindx.c dbunet.c dbustru.c dbuutil.c dbuview.c /link /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib gdi32.lib
del *.obj

View File

@@ -5,7 +5,7 @@
Copy the full content of /SOURCE/DBU from your original
CA-Cl*pper installation, and run the batch file to compile.
If DBU source is present in this directory, it will be
If source code is present in this directory, it will be
patched by hb_dbu.dif to make the original code run better
under various platforms. This patch is optional, you can
delete it if you want.

View File

@@ -5,7 +5,7 @@ rem
..\..\..\bin\harbour /n /i..\..\..\include\ guestbk inifiles testcgi
cl -nologo -O2 -W3 -I..\..\..\include guestbk.c inifiles.c testcgi.c /link /subsystem:console /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib winspool.lib
cl -nologo -O2 -W3 -I..\..\..\include guestbk.c inifiles.c testcgi.c /link /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib gdi32.lib
del *.obj
del guestbk.c inifiles.c testcgi.c

View File

@@ -6,7 +6,7 @@ rem
rem NOTE: This sample program needs hbnf.lib from contrib/hbnf
..\..\..\bin\harbour hscript /n /i..\..\..\include
cl -nologo -O2 -W3 -I..\..\..\include hscript.c /link /subsystem:console /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib hbnf.lib user32.lib winspool.lib
cl -nologo -O2 -W3 -I..\..\..\include hscript.c /link /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib hbnf.lib user32.lib gdi32.lib
del *.obj
del hscript.c

View File

@@ -15,8 +15,8 @@
#define EXPORT
#define IFANY( x ) IIF( (x) != NIL )
#define IFNIL( x ) IIF( (x) == NIL )
#define IFANY( x ) IF ( (x) != NIL )
#define IFNIL( x ) IF ( (x) == NIL )
#define IIFNIL( isnil, notnil ) IIF(notnil==NIL, isnil, notnil)
#define EDIT_LOWER 0 // convert to lowercase

View File

@@ -5,7 +5,7 @@ rem
..\..\..\bin\harbour /n /i..\..\..\include\ pe editorhi
cl -nologo -O2 -W3 -I..\..\..\include pe.c editorhi.c editorlo.c /link /subsystem:console /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib winspool.lib
cl -nologo -O2 -W3 -I..\..\..\include pe.c editorhi.c editorlo.c /link /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib gdi32.lib
del *.obj
del pe.c editorhi.c

View File

@@ -3,7 +3,7 @@ rem
rem $Id$
rem
cl -nologo -O2 -W3 -I..\..\..\include pp.c hbppcomp.c hbppcore.c hbpptbl.c hbpragma.c /link /subsystem:console /libpath:..\..\..\lib hbcommon.lib
cl -nologo -O2 -W3 -I..\..\..\include pp.c hbppcomp.c hbppcore.c hbpptbl.c hbpragma.c /link /libpath:..\..\..\lib hbcommon.lib
del *.obj

View File

@@ -0,0 +1,30 @@
#
# $Id$
#
ROOT = ../../../
PRG_SOURCES=\
RLBACK.PRG \
RLDIALG.PRG \
RLFRONT.PRG \
PRG_MAIN=RLFRONT.PRG
LIBS=\
hbdebug \
hbvm \
hbrtl \
hblang \
hbrdd \
hbrtl \
hbvm \
hbmacro \
hbpp \
rddntx \
rddcdx \
rddfpt \
hbsix \
hbcommon \
include $(TOP)$(ROOT)config/bin.cf

View File

@@ -0,0 +1,36 @@
@echo off
rem
rem $Id$
rem
set HB_DIR_RL=%CLIPPER_DIR%\SOURCE\RL
if exist "%HB_DIR_RL%\RLFRONT.PRG" goto DIR_OK
set HB_DIR_RL=.
if exist "%HB_DIR_RL%\RLFRONT.PRG" goto DIR_OK_LOCAL
echo ---------------------------------------------------------------
echo IMPORTANT: You'll either need to copy the original CA-Cl*pper
echo RL sources to this directory, or set the location of
echo your original CA-Cl*pper installation (with RL sources
echo in SOURCE\RL):
echo set CLIPPER_DIR=C:\CLIPPER5
echo ---------------------------------------------------------------
goto EXIT
:DIR_OK_LOCAL
if exist hb_rl.dif patch -N -i hb_rl.dif
:DIR_OK
..\..\..\bin\harbour -q -n -l -i..\..\..\include %HB_DIR_RL%\RLBACK.PRG %HB_DIR_RL%\RLDIALG.PRG %HB_DIR_RL%\RLFRONT.PRG
bcc32 -O2 -I..\..\..\include -L..\..\..\lib -erl.exe rlfront.c rlback.c rldialg.c hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib
del *.obj
del rlback.c rldialg.c rlfront.c
rl
:EXIT

View File

@@ -0,0 +1,35 @@
@echo off
rem
rem $Id$
rem
set HB_DIR_RL=%CLIPPER_DIR%\SOURCE\RL
if exist "%HB_DIR_RL%\RLFRONT.PRG" goto DIR_OK
set HB_DIR_RL=.
if exist "%HB_DIR_RL%\RLFRONT.PRG" goto DIR_OK_LOCAL
echo ---------------------------------------------------------------
echo IMPORTANT: You'll either need to copy the original CA-Cl*pper
echo RL sources to this directory, or set the location of
echo your original CA-Cl*pper installation (with RL sources
echo in SOURCE\RL):
echo set CLIPPER_DIR=C:\CLIPPER5
echo ---------------------------------------------------------------
goto EXIT
:DIR_OK_LOCAL
if exist hb_rl.dif patch -N -i hb_rl.dif
:DIR_OK
..\..\..\bin\harbour -q -n -l -i..\..\..\include %HB_DIR_RL%\RLBACK.PRG %HB_DIR_RL%\RLDIALG.PRG %HB_DIR_RL%\RLFRONT.PRG
cl -nologo -O2 -W3 -I..\..\..\include rlfront.c rlback.c rldialg.c /link /out:rl.exe /libpath:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib gdi32.lib
del *.obj
del rlback.c rldialg.c rlfront.c
rl
:EXIT

View File

@@ -0,0 +1,13 @@
/*
* $Id$
*/
Copy the full content of /SOURCE/RL from your original
CA-Cl*pper installation, and run the batch file to compile.
If source code is present in this directory, it will be
patched by hb_rl.dif to make the original code run better
under various platforms. This patch is optional, you can
delete it if you want.
[vszakats]

View File

@@ -5,7 +5,7 @@ rem
..\..\bin\harbour -w3 -q -n -km -l -i..\..\include hbdoc ft_funcs genasc genchm genhpc genhtm genng genos2 genpdf1 genrtf gentrf
bcc32 -O2 -I..\..\include -L..\..\lib hbdoc.c ft_funcs.c genasc.c genchm.c genhpc.c genhtm.c genng.c genos2.c genpdf1.c genrtf.c gentrf.c hbdfrdln.c hbvm.lib hbrtl.lib gtwin.lib hbnulrdd.lib hbmacro.lib hbcommon.lib
bcc32 -O2 -I..\..\include -L..\..\lib hbdoc.c ft_funcs.c genasc.c genchm.c genhpc.c genhtm.c genng.c genos2.c genpdf1.c genrtf.c gentrf.c hbdfrdln.c hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hbnulrdd.lib hbmacro.lib hbcommon.lib
del *.obj
del hbdoc.c ft_funcs.c genasc.c genchm.c genhpc.c genhtm.c genng.c genos2.c genpdf1.c genrtf.c gentrf.c

View File

@@ -5,7 +5,7 @@ rem
..\..\bin\harbour -w3 -q -n -km -l -i..\..\include hbdoc ft_funcs genasc genchm genhpc genhtm genng genos2 genpdf1 genrtf gentrf
cl -nologo -O2 -W3 -I..\..\include hbdoc.c ft_funcs.c genasc.c genchm.c genhpc.c genhtm.c genng.c genos2.c genpdf1.c genrtf.c gentrf.c hbdfrdln.c /link /subsystem:CONSOLE /libpath:..\..\lib hbvm.lib hbrtl.lib gtwin.lib hbnulrdd.lib hbmacro.lib hbcommon.lib user32.lib
cl -nologo -O2 -W3 -I..\..\include hbdoc.c ft_funcs.c genasc.c genchm.c genhpc.c genhtm.c genng.c genos2.c genpdf1.c genrtf.c gentrf.c hbdfrdln.c /link /libpath:..\..\lib hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hbnulrdd.lib hbmacro.lib hbcommon.lib user32.lib
del *.obj
del hbdoc.c ft_funcs.c genasc.c genchm.c genhpc.c genhtm.c genng.c genos2.c genpdf1.c genrtf.c gentrf.c

View File

@@ -5,7 +5,7 @@ rem
..\..\bin\harbour -w3 -q -n -km -l -i..\..\include hbmake
bcc32 -O2 -I..\..\include -L..\..\lib hbmake.c hbmfrdln.c hbmgauge.c hbmlang.c hbvm.lib hbrtl.lib gtwin.lib hbnulrdd.lib hbmacro.lib hbcommon.lib
bcc32 -O2 -I..\..\include -L..\..\lib hbmake.c hbmfrdln.c hbmgauge.c hbmlang.c hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hbnulrdd.lib hbmacro.lib hbcommon.lib
del *.obj
del hbmake.c

View File

@@ -5,7 +5,7 @@ rem
..\..\bin\harbour -w3 -q -n -km -l -i..\..\include hbmake
cl -nologo -O2 -W3 -I..\..\include hbmake.c hbmfrdln.c hbmgauge.c hbmlang.c /link /subsystem:CONSOLE /libpath:..\..\lib hbvm.lib hbrtl.lib gtwin.lib hbnulrdd.lib hbmacro.lib hbcommon.lib user32.lib
cl -nologo -O2 -W3 -I..\..\include hbmake.c hbmfrdln.c hbmgauge.c hbmlang.c /link /libpath:..\..\lib hbvm.lib hbrtl.lib gtwin.lib gtwvt.lib hbnulrdd.lib hbmacro.lib hbcommon.lib user32.lib
del *.obj
del hbmake.c