-
Notifications
You must be signed in to change notification settings - Fork 17
/
mkos2.bat
44 lines (37 loc) · 1.04 KB
/
mkos2.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@echo off
REM This will build everything that can be built:
REM - XYZ Modem library (p95.dll)
REM - libdes (if present and a supported compiler is being used)
REM - Kermit/2 (k2.exe) and associated utilities (k2clip, k2dc, rlogin, telnetpm, textps, setup)
REM - Any TC/IP backends that can be built (cko32i41.dll, cko32i20.dll)
REM - The Dialer (k95dial.exe) - only if zinc is available
REM To collect build artifacts, run mkdist-os2
if "%BUILD_ZINC%" == "yes" goto :buildzinc
goto :buildp
:buildzinc
REM The OS/2 binaries and libs distributed with OpenZinc *seem* fine for Watcom
REM echo Building OpenZinc...
REM call mkzinc.bat
:buildp
if "%CKF_XYZ%" == "no" goto :buildkermit
cd kermit\p95
call mkos2.bat
cd ..\..
if "%CKF_LIBDES%" NEQ "yes" goto :buildkermit
REM How do we build this?
REM cd libdes
REM call mknt.bat
REM cd ..
:buildkermit
echo Building Kermit/2
cd kermit\k95
call mkos2.bat
call mkdist-os2.bat
if "%CKF_ZINC%" == "no" goto :nozinc
echo Building the Dialer...
cd ..\dialer
call mkos2.bat
call mkdist-os2.bat
:nozinc
cd ..\..\
echo Done!