-
Notifications
You must be signed in to change notification settings - Fork 17
/
mk.bat
45 lines (37 loc) · 1015 Bytes
/
mk.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
45
@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 - C-Kermit GUI (k95g.exe)
REM - C-Kermit Console (k95.exe) and associated utilities (iksd.exe, iksdsvc.exe, k95d.exe, rlogin.exe, telnet.exe, textps.exe, se.exe)
REM - The Dialer (k95dial.exe) and registry tool (k95regtl.exe) - only if zinc has been built.
REM To collect build artifacts, run mkdist
echo Clean distribution folders...
call clean-dist.bat
if "%BUILD_ZINC%" == "yes" goto :buildzinc
goto :buildp
:buildzinc
echo Building OpenZinc...
call mkzinc.bat
:buildp
if "%CKF_XYZ%" == "no" goto :buildkermit
cd kermit\p95
call mknt.bat
cd ..\..
if "%CKF_LIBDES%" NEQ "yes" goto :buildkermit
cd libdes
call mknt.bat
cd ..
:buildkermit
echo Building C-Kermit
cd kermit\k95
call mk.bat
call mkdist.bat
if "%CKF_ZINC%" == "no" goto :nozinc
echo Building the Dialer...
cd ..\dialer
call mk.bat
call mkdist.bat
:nozinc
cd ..\..\
echo Done!