* make_gnu.bat
+ Minor adjustment to support OS/2 cross-builds.
* source/rtl/gtwvt/gtwvt.c
* Minor adjustment to casting to Windows type.
* contrib/hbfimage/Makefile
- Disabled for OS/2.
* bin/postinst.cmd
+ Synced with .bat. 'copy' replaced by 'xcopy'.
* config/os2/watcom.cf
+ Added fix (from win/watcom.cf) to swap dirseps
for wcc386 as it cannot accept forward slashes.
Przemek, please adapt this for Linux, as it's
probably not needed there.
41 lines
1.4 KiB
Batchfile
41 lines
1.4 KiB
Batchfile
@rem
|
|
@rem $Id$
|
|
@rem
|
|
|
|
@echo off
|
|
|
|
rem ---------------------------------------------------------------
|
|
rem Copyright 2009 Viktor Szakats (harbour.01 syenar.hu)
|
|
rem Copyright 2003 Przemyslaw Czerpak (druzus / at / priv.onet.pl)
|
|
rem simple script run after Harbour make install to finish install
|
|
rem process
|
|
rem
|
|
rem See COPYING for licensing terms.
|
|
rem ---------------------------------------------------------------
|
|
|
|
echo Generating %HB_BIN_INSTALL%\hbmk.cfg...
|
|
echo # Harbour Make configuration> %HB_BIN_INSTALL%\hbmk.cfg
|
|
echo # Generated by Harbour build process>> %HB_BIN_INSTALL%\hbmk.cfg
|
|
echo.>> %HB_BIN_INSTALL%\hbmk.cfg
|
|
echo libpaths=../contrib/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
|
|
echo libpaths=../contrib/rddsql/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
|
|
echo libpaths=../addins/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
|
|
echo libpaths=../examples/%%{hb_name}>> %HB_BIN_INSTALL%\hbmk.cfg
|
|
|
|
rem ; Post-build installation
|
|
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y ChangeLog* "%HB_INSTALL_PREFIX%\" > nul
|
|
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y COPYING "%HB_INSTALL_PREFIX%\" > nul
|
|
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y ERRATA "%HB_INSTALL_PREFIX%\" > nul
|
|
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y INSTALL "%HB_INSTALL_PREFIX%\" > nul
|
|
if not "%HB_INSTALL_PREFIX%" == "" xcopy /y TODO "%HB_INSTALL_PREFIX%\" > nul
|
|
|
|
goto INST_%HB_ARCHITECTURE%
|
|
|
|
:INST_OS2
|
|
|
|
rem OS/2 post install part
|
|
goto END
|
|
|
|
:INST_
|
|
:END
|