summaryrefslogtreecommitdiff
path: root/B/os2_16
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:14:22 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:14:22 +0900
commit70b67e7e430bf0ce5dd66850082ecbdf8313ffd7 (patch)
tree32e329de8dc8ba2395bb962f1695b4702ef11fe7 /B/os2_16
parenta83fc9cd1e8b00df9de50d6285680a8e19d419f1 (diff)
downloadlzop-70b67e7e430bf0ce5dd66850082ecbdf8313ffd7.tar.gz
lzop-70b67e7e430bf0ce5dd66850082ecbdf8313ffd7.tar.bz2
lzop-70b67e7e430bf0ce5dd66850082ecbdf8313ffd7.zip
Diffstat (limited to 'B/os2_16')
-rw-r--r--B/os2_16/mc.bat22
-rw-r--r--B/os2_16/sc.cmd21
-rw-r--r--B/os2_16/wc.bat20
-rw-r--r--B/os2_16/wc.cmd20
4 files changed, 83 insertions, 0 deletions
diff --git a/B/os2_16/mc.bat b/B/os2_16/mc.bat
new file mode 100644
index 0000000..56ef9b4
--- /dev/null
+++ b/B/os2_16/mc.bat
@@ -0,0 +1,22 @@
+@echo // Copyright (C) 1996-2010 Markus F.X.J. Oberhumer
+@echo //
+@echo // OS/2 16-bit
+@echo // Microsoft C/C++
+@echo //
+@call b\prepare.bat
+@if "%BECHO%"=="n" echo off
+
+
+set CC=cl -nologo -AL -G2
+%CC% -D__OS2__ -O -W3 %CFI% -c src\*.c
+@if errorlevel 1 goto error
+%CC% -Lp -F 2000 -Fm -Fe%BEXE% *.obj %BLDLIBS% /link /noe
+@if errorlevel 1 goto error
+
+
+@call b\done.bat
+@goto end
+:error
+@echo ERROR during build!
+:end
+@call b\unset.bat
diff --git a/B/os2_16/sc.cmd b/B/os2_16/sc.cmd
new file mode 100644
index 0000000..01aae28
--- /dev/null
+++ b/B/os2_16/sc.cmd
@@ -0,0 +1,21 @@
+@echo // Copyright (C) 1996-2010 Markus F.X.J. Oberhumer
+@echo //
+@echo // OS/2 16-bit
+@echo // Symantec C/C++
+@echo //
+@call b\prepare.cmd
+@if "%BECHO%"=="n" echo off
+
+
+sc -c -mlo -2 -o -w- %CFI% @b\src.rsp
+@if errorlevel 1 goto error
+link @b\win32\sc.rsp,%BEXE%,,lzo/noi/map
+@if errorlevel 1 goto error
+
+
+@call b\done.cmd
+@goto end
+:error
+@echo ERROR during build!
+:end
+@call b\unset.cmd
diff --git a/B/os2_16/wc.bat b/B/os2_16/wc.bat
new file mode 100644
index 0000000..89b980d
--- /dev/null
+++ b/B/os2_16/wc.bat
@@ -0,0 +1,20 @@
+@echo // Copyright (C) 1996-2010 Markus F.X.J. Oberhumer
+@echo //
+@echo // OS/2 16-bit
+@echo // Watcom C/C++
+@echo //
+@call b\prepare.bat
+@if "%BECHO%"=="n" echo off
+
+
+set WCL=-zq -bt#os2 -l#os2 %CFI% %WCL_W%
+wcl -ml -2 -ox -k0x2000 -fm -Fe#%BEXE% src\*.c %BLDLIBS%
+@if errorlevel 1 goto error
+
+
+@call b\done.bat
+@goto end
+:error
+@echo ERROR during build!
+:end
+@call b\unset.bat
diff --git a/B/os2_16/wc.cmd b/B/os2_16/wc.cmd
new file mode 100644
index 0000000..5cc64e7
--- /dev/null
+++ b/B/os2_16/wc.cmd
@@ -0,0 +1,20 @@
+@echo // Copyright (C) 1996-2010 Markus F.X.J. Oberhumer
+@echo //
+@echo // OS/2 16-bit
+@echo // Watcom C/C++
+@echo //
+@call b\prepare.cmd
+@if "%BECHO%"=="n" echo off
+
+
+set WCL=-zq -bt#os2 -l#os2 %CFI% %WCL_W%
+wcl -ml -2 -ox -k0x2000 -fm -Fe#%BEXE% src\*.c %BLDLIBS%
+@if errorlevel 1 goto error
+
+
+@call b\done.cmd
+@goto end
+:error
+@echo ERROR during build!
+:end
+@call b\unset.cmd