* make_b32.bat
* tests/rddtest/make_c52.bat
* tests/run_prg.bat
* tests/hbmk_gnu.bat
* tests/hbmk_vc.bat
* tests/hbmk_b32.bat
* tests/run_prg_all.bat
* bin/hbmk.bat
* bin/hbmk_os2.cmd
* bin/postinst.bat
* make_vc.bat
* make_gnu_os2.cmd
* make_gnu.bat
* contrib/make_b32_all.bat
* contrib/mtpl_b32.bat
* contrib/make_vc_all.bat
* contrib/mtpl_vc.bat
* contrib/examples/pp/hbmk.bat
* contrib/examples/guestbk/hbmk.bat
* contrib/examples/pe/hbmk.bat
* contrib/examples/hbsqlit2/tests/hbmk.bat
* contrib/examples/uhttpd/hbmk.bat
* contrib/examples/dbu/hbmk.bat
* contrib/examples/terminal/hbmk.bat
* contrib/examples/terminal/hbmk_trm_appn.bat
* contrib/examples/hscript/hbmk.bat
* contrib/examples/rl/hbmk.bat
* utils/hbdoc/hbmk.bat
* utils/hbextern/make_c5x.bat
* utils/hbmake/hbmk.bat
* utils/hbtest/make_c5x.bat
* utils/hbtest/make_xpp.bat
* Minor formatting.
* Cleanups to refer to simply 'hbmk'.
; TODO: Add support for other than bcc/msvc compiler for
HB_USER_LIBS. Change HB_USER_LIBS settings to
contain the raw lib list without extensions.
This is where batch capabilities end, so this
might need a .prg rewrite.
39 lines
1.4 KiB
Batchfile
39 lines
1.4 KiB
Batchfile
@rem
|
|
@rem $Id$
|
|
@rem
|
|
|
|
@echo off
|
|
|
|
rem Minimal initialization of environment variables for OS2 GCC build
|
|
rem for further information about see make_gnu.bat
|
|
|
|
if "%HB_ARCHITECTURE%" == "" set HB_ARCHITECTURE=os2
|
|
if "%HB_COMPILER%" == "" set HB_COMPILER=gcc
|
|
|
|
|
|
rem In GCC3.2.2 the TCP/IP headers and libraries scheme have been changed.
|
|
rem The default is the current OS/2 tcpip toolkit (BSD 4.4 based).
|
|
rem To target the older OS/2 tcpip stack (BSD 4.3 based) and create
|
|
rem binaries which can be executed also on older OS2 versions you must
|
|
rem define TCPV40HDRS before including any TCP/IP headers and make
|
|
rem sure usr/lib/tcpipv4 is searched before usr/lib (this is to
|
|
rem get the right libsocket). It is recommended to use the -D
|
|
rem compiler option for the define and either the LIBRARY_PATH or
|
|
rem the -L compiler/linker option for the library.
|
|
rem For building Harbour you can also use HB_USER_LDFLAGS environment variable,
|
|
rem f.e.
|
|
rem SET HB_USER_LDFLAGS=-Le:\usr\lib\tcpipv4
|
|
rem
|
|
rem If you are using newer OS2 version with tcp/ip stack >= 4.1
|
|
rem (eComStation, for example) and you do not need backward binary
|
|
rem compatibility then you can disable it by setting HB_OS2_TCP32
|
|
rem environment variable, f.e.
|
|
rem SET HB_OS2_TCP32=yes
|
|
|
|
if "%HB_OS2_TCP32%" == "yes" goto tcp32
|
|
if "%HB_OS2_TCP32%" == "YES" goto tcp32
|
|
set HB_USER_CFLAGS=-DTCPV40HDRS %HB_USER_CFLAGS%
|
|
:tcp32
|
|
|
|
make -r %1 %2 %3 %4 %5 %6 %7 %8 %9 > make_gnu.log
|