* contrib/hbgt/Makefile
* contrib/hbgt/common.mak
- contrib/hbgt/strdiff.c
+ contrib/hbgt/strdiffg.c
- contrib/hbgt/charmix.c
+ contrib/hbgt/charmixg.c
- contrib/hbgt/asciisum.c
+ contrib/hbgt/asciisgt.c
- contrib/hbgt/ascpos.c
+ contrib/hbgt/ascposgt.c
* contrib/hbgf/hbgfos2/Makefile
- contrib/hbgf/hbgfos2/tmenuitm.prg
+ contrib/hbgf/hbgfos2/tmenuit.prg
! Some files renamed to collide with each other on
non-GNU make systems.
* contrib/examples/hscript/cgi.ch
* contrib/examples/hscript/dir.hs
* contrib/examples/hscript/multiply.hs
* contrib/examples/hscript/ugly.hs
* contrib/examples/hscript/hello.hs
* contrib/examples/guestbk/guestbk.ini
+ Added SVN headers.
+ source/rtl/gtalleg/common.mak
+ source/rtl/gtalleg/make_gcc.sh
+ source/rtl/gtalleg/make_b32.bat
+ source/rtl/gtalleg/make_vc.bat
+ Added non-GNU make file as an ugly hack to
build them on Windows systems.
- tests/altd.prg
+ tests/altdtest.prg
* Rename.
* include/hbver.h
* harbour-ce-spec
* harbour-w32-spec
* harbour.spec
* Version changed to '1.0.1dev'.
Trunk will need to be synced to tag/1.0.
* common.mak
+ Added version to harbour.dll: harbour-101-b32/vc.dll
; Work in progress. Pls comment.
74 lines
2.5 KiB
Batchfile
74 lines
2.5 KiB
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
set HB_ROOT=..\..\..
|
|
set HB_MAKEFILE=..\..\..\contrib\mtpl_vc.mak
|
|
|
|
if not "%HB_INC_ALLEGRO%%HB_DIR_ALLEGRO%" == "" goto DIR_OK
|
|
|
|
echo ---------------------------------------------------------------
|
|
echo IMPORTANT: You'll need Advantage Client Engine (5.0 or upper)
|
|
echo and this envvar to be set to successfully build this library:
|
|
echo set HB_INC_ALLEGRO=C:\allegro\include
|
|
echo or
|
|
echo set HB_DIR_ALLEGRO=C:\allegro
|
|
echo if you want to generate .lib for the .dll.
|
|
echo ---------------------------------------------------------------
|
|
goto POST_EXIT
|
|
|
|
:DIR_OK
|
|
|
|
if "%HB_INC_ALLEGRO%" == "" set HB_INC_ALLEGRO=%HB_DIR_ALLEGRO%\include
|
|
set CFLAGS=-I"%HB_INC_ALLEGRO%"
|
|
set _HB_DLL_NAME=alleg
|
|
if exist "%HB_DIR_ALLEGRO%\lib\%_HB_DLL_NAME%.lib" set _HB_DLL_DIR=%HB_DIR_ALLEGRO%\lib
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
call ..\..\..\contrib\mtpl_vc.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%HB_DIR_ALLEGRO%" == "" goto POST_EXIT
|
|
|
|
set _HB_INSTALL_PREFIX=%HB_INSTALL_PREFIX%
|
|
if "%_HB_INSTALL_PREFIX%" == "" set _HB_INSTALL_PREFIX=..\..
|
|
set _HB_LIB_INSTALL=%HB_LIB_INSTALL%
|
|
if "%_HB_LIB_INSTALL%" == "" set _HB_LIB_INSTALL=%_HB_INSTALL_PREFIX%\lib
|
|
|
|
if "%1" == "clean" goto POST_CLEAN
|
|
if "%1" == "Clean" goto POST_CLEAN
|
|
if "%1" == "CLEAN" goto POST_CLEAN
|
|
if "%1" == "install" goto POST_INSTALL
|
|
if "%1" == "Install" goto POST_INSTALL
|
|
if "%1" == "INSTALL" goto POST_INSTALL
|
|
|
|
:POST_BUILD
|
|
|
|
rem Use supplied .lib file.
|
|
if not exist ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.lib copy "%_HB_DLL_DIR%\%_HB_DLL_NAME%.lib" ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.lib > nul
|
|
goto POST_EXIT
|
|
|
|
:POST_CLEAN
|
|
|
|
if exist ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.lib del ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.lib > nul
|
|
if exist ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.exp del ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.exp > nul
|
|
if exist %_HB_LIB_INSTALL%\%_HB_DLL_NAME%.lib del %_HB_LIB_INSTALL%\%_HB_DLL_NAME%.lib > nul
|
|
goto POST_EXIT
|
|
|
|
:POST_INSTALL
|
|
|
|
if exist %_HB_LIB_INSTALL%\%_HB_DLL_NAME%.lib del %_HB_LIB_INSTALL%\%_HB_DLL_NAME%.lib
|
|
if exist ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.lib copy ..\..\..\lib\%_HB_CC_NAME%\%_HB_DLL_NAME%.lib %_HB_LIB_INSTALL%
|
|
goto POST_EXIT
|
|
|
|
:POST_EXIT
|
|
|
|
set CFLAGS=
|
|
set _HB_DLL_NAME=
|
|
set _HB_DLL_DIR=
|
|
set _HB_INSTALL_PREFIX=
|
|
set _HB_LIB_INSTALL=
|