-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LZO Version 2.10 from http://www.oberhumer.com/opensource/lzo/
- Loading branch information
Evan A Mavrin
committed
Mar 20, 2022
0 parents
commit f289550
Showing
306 changed files
with
96,818 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Authors of the LZO data compression library: | ||
|
||
Markus F.X.J. Oberhumer. Invented, designed and implemented LZO. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Simple make drivers for DOS, Windows, OS/2 and other systems | ||
============================================================ | ||
|
||
This directory contains a bunch of simple build scripts - I've tried | ||
to make them as foolproof as possible. | ||
|
||
To build LZO for your system type 'b\OS\COMPILER' in the base directory, | ||
e.g. 'b\win32\vc.bat' will build the Win32 Visual C/C++ version. | ||
|
||
After building do a basic test by running 'lzotest.exe -mlzo COPYING'. | ||
util\check.sh is an example of a more thorough test driver. | ||
|
||
Please send me your additional/improved versions. | ||
|
||
|
||
Overview: | ||
--------- | ||
|
||
b\dos32\bc_pp.bat Borland C/C++ (1) | ||
b\dos32\dj2.bat djgpp v2 + gcc (1) | ||
b\dos32\dm.bat Digital Mars C/C++ (1) | ||
b\dos32\emx.bat emx + gcc (1) | ||
b\dos32\sc.bat Symantec C/C++ (1) | ||
b\dos32\wc.bat Watcom C/C++ (1) | ||
|
||
b\os2\emx.bat emx + gcc (1) | ||
b\os2\wc.bat Watcom C/C++ (1) | ||
|
||
b\win32\bc.bat Borland C/C++ (1) | ||
b\win32\cygwin.bat Cygwin + gcc (1) | ||
b\win32\dm.bat Digital Mars C/C++ (1) | ||
b\win32\ic.bat Intel C/C++ (1) | ||
b\win32\mingw.bat MinGW + gcc (1) | ||
b\win32\mwerks.bat Metrowerks CodeWarrior C/C++ (1) | ||
b\win32\pellesc.bat Pelles C (1) | ||
b\win32\pgi.bat Portland Group PGI C/C++ (1) | ||
b\win32\rsxnt.bat rsxnt + gcc (1) | ||
b\win32\sc.bat Symantec C/C++ (1) | ||
b\win32\vc.bat Visual C/C++ (1) | ||
b\win32\vc_dll.bat Visual C/C++ (DLL version) (1) | ||
b\win32\wc.bat Watcom C/C++ (1) | ||
|
||
b\win64\ic.bat Intel C/C++ (Itanium) | ||
b\win64\ic_dll.bat Intel C/C++ (Itanium) (DLL version) | ||
b\win64\vc.bat Visual C/C++ (AMD64 or Itanium) | ||
b\win64\vc_dll.bat Visual C/C++ (AMD64 or Itanium) (DLL version) | ||
|
||
|
||
Notes: | ||
(1) includes support for i386 assembler versions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@del /q *.def *.err *.exp *.map *.o *.obj *.res *.tds > nul 2> nul | ||
@del /q liblzo2.a lzo2.a lzo2.dll lzo2.lib > nul 2> nul | ||
@del /q a.exe a.out dict.exe lzopack.exe precomp.exe precomp2.exe simple.exe > nul 2> nul | ||
@del /q lzotest.exe testmini.exe > nul 2> nul |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@echo // | ||
@echo // Building LZO was successful. All done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@echo // Copyright (C) 1996-2017 Markus F.X.J. Oberhumer | ||
@echo // | ||
@echo // DOS 32-bit | ||
@echo // Borland C/C++ + Borland PowerPack 1.0 (DPMI32) | ||
@echo // | ||
@call b\prepare.bat | ||
@if "%BECHO%"=="n" echo off | ||
|
||
|
||
set CC=bcc32 -WX | ||
set CF=-O2 -w -w-aus %CFI% -Iinclude\lzo %CFASM% | ||
set LF=%BLIB% | ||
|
||
%CC% %CF% -Isrc -c @b\src.rsp | ||
@if errorlevel 1 goto error | ||
tlib %BLIB% @b\win32\bc.rsp | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -ls -Iexamples examples\dict.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -ls -Iexamples examples\lzopack.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -ls -Iexamples examples\precomp.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -ls -Iexamples examples\precomp2.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -ls -Iexamples examples\simple.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -ls -Ilzotest lzotest\lzotest.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -ls -Iminilzo minilzo\testmini.c minilzo\minilzo.c | ||
@if errorlevel 1 goto error | ||
|
||
|
||
@call b\done.bat | ||
@goto end | ||
:error | ||
@echo ERROR during build! | ||
:end | ||
@call b\unset.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@echo // Copyright (C) 1996-2017 Markus F.X.J. Oberhumer | ||
@echo // | ||
@echo // DOS 32-bit | ||
@echo // djgpp2 + gcc | ||
@echo // | ||
@call b\prepare.bat | ||
@if "%BECHO%"=="n" echo off | ||
|
||
|
||
set BLIB=lib%BNAME%.a | ||
set CC=gcc | ||
set CF=@b/dos32/dj2.opt %CFI% %CFASM% | ||
set LF=%BLIB% -s | ||
|
||
%CC% %CF% -c @b\src.rsp | ||
@if errorlevel 1 goto error | ||
%CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S | ||
@if errorlevel 1 goto error | ||
ar rcs %BLIB% @b/win32/cygwin.rsp | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -o dict.exe examples/dict.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o lzopack.exe examples/lzopack.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o precomp.exe examples/precomp.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o precomp2.exe examples/precomp2.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o simple.exe examples/simple.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -o lzotest.exe lzotest/lzotest.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -s -Iinclude/lzo -o testmini.exe minilzo/testmini.c minilzo/minilzo.c | ||
@if errorlevel 1 goto error | ||
|
||
|
||
@call b\done.bat | ||
@goto end | ||
:error | ||
@echo ERROR during build! | ||
:end | ||
@call b\unset.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-O2 | ||
-fomit-frame-pointer | ||
-Wall | ||
-Wcast-align | ||
-Wcast-qual | ||
-Wwrite-strings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@echo // Copyright (C) 1996-2017 Markus F.X.J. Oberhumer | ||
@echo // | ||
@echo // DOS 32-bit | ||
@echo // Digital Mars C/C++ | ||
@echo // | ||
@call b\prepare.bat | ||
@if "%BECHO%"=="n" echo off | ||
|
||
|
||
set CC=dmc -mx | ||
set CF=-o -w- %CFI% %CFASM% | ||
set LF=%BLIB% x32.lib | ||
|
||
%CC% %CF% -c @b\src.rsp | ||
@if errorlevel 1 goto error | ||
lib %BLIB% /b /c /n /noi @b\win32\bc.rsp | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% examples\dict.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\lzopack.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\precomp.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\precomp2.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\simple.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% lzotest\lzotest.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
set LF=x32.lib | ||
%CC% %CF% -Iinclude\lzo minilzo\testmini.c minilzo\minilzo.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
|
||
@call b\done.bat | ||
@goto end | ||
:error | ||
@echo ERROR during build! | ||
:end | ||
@call b\unset.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@echo // Copyright (C) 1996-2017 Markus F.X.J. Oberhumer | ||
@echo // | ||
@echo // DOS 32-bit | ||
@echo // emx + gcc | ||
@echo // | ||
@call b\prepare.bat | ||
@if "%BECHO%"=="n" echo off | ||
|
||
|
||
set BLIB=%BNAME%.a | ||
set CC=gcc | ||
set CF=@b/dos32/dj2.opt %CFI% %CFASM% | ||
set LF=%BLIB% -s | ||
|
||
%CC% %CF% -c @b\src.rsp | ||
@if errorlevel 1 goto error | ||
%CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S | ||
@if errorlevel 1 goto error | ||
ar rcs %BLIB% @b/win32/cygwin.rsp | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -o dict.exe examples/dict.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o lzopack.exe examples/lzopack.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o precomp.exe examples/precomp.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o precomp2.exe examples/precomp2.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% -o simple.exe examples/simple.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -o lzotest.exe lzotest/lzotest.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% -Iinclude/lzo -o testmini.exe minilzo/testmini.c minilzo/minilzo.c | ||
@if errorlevel 1 goto error | ||
|
||
|
||
@call b\done.bat | ||
@goto end | ||
:error | ||
@echo ERROR during build! | ||
:end | ||
@call b\unset.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@echo // Copyright (C) 1996-2017 Markus F.X.J. Oberhumer | ||
@echo // | ||
@echo // DOS 32-bit | ||
@echo // MetaWare High C/C++ (using Pharlap DOS extender) | ||
@echo // | ||
@call b\prepare.bat | ||
@if "%BECHO%"=="n" echo off | ||
|
||
|
||
set CC=hc386 | ||
set CF=-O3 -w4 %CFI% %CFASM% | ||
set LF=%BLIB% | ||
|
||
%CC% %CF% -w1 -c src\*.c | ||
@if errorlevel 1 goto error | ||
386lib %BLIB% -nobanner @b\dos32\highc.rsp | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% examples\dict.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\lzopack.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\precomp.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\precomp2.c %LF% | ||
@if errorlevel 1 goto error | ||
%CC% %CF% examples\simple.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
%CC% %CF% lzotest\lzotest.c %LF% | ||
@if errorlevel 1 goto error | ||
|
||
|
||
@call b\done.bat | ||
@goto end | ||
:error | ||
@echo ERROR during build! | ||
:end | ||
@call b\unset.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
-create lzo1.obj | ||
-create lzo1_99.obj | ||
-create lzo1a.obj | ||
-create lzo1a_99.obj | ||
-create lzo1b_1.obj | ||
-create lzo1b_2.obj | ||
-create lzo1b_3.obj | ||
-create lzo1b_4.obj | ||
-create lzo1b_5.obj | ||
-create lzo1b_6.obj | ||
-create lzo1b_7.obj | ||
-create lzo1b_8.obj | ||
-create lzo1b_9.obj | ||
-create lzo1b_99.obj | ||
-create lzo1b_9x.obj | ||
-create lzo1b_cc.obj | ||
-create lzo1b_d1.obj | ||
-create lzo1b_d2.obj | ||
-create lzo1b_rr.obj | ||
-create lzo1b_xx.obj | ||
-create lzo1c_1.obj | ||
-create lzo1c_2.obj | ||
-create lzo1c_3.obj | ||
-create lzo1c_4.obj | ||
-create lzo1c_5.obj | ||
-create lzo1c_6.obj | ||
-create lzo1c_7.obj | ||
-create lzo1c_8.obj | ||
-create lzo1c_9.obj | ||
-create lzo1c_99.obj | ||
-create lzo1c_9x.obj | ||
-create lzo1c_cc.obj | ||
-create lzo1c_d1.obj | ||
-create lzo1c_d2.obj | ||
-create lzo1c_rr.obj | ||
-create lzo1c_xx.obj | ||
-create lzo1f_1.obj | ||
-create lzo1f_9x.obj | ||
-create lzo1f_d1.obj | ||
-create lzo1f_d2.obj | ||
-create lzo1x_1.obj | ||
-create lzo1x_1k.obj | ||
-create lzo1x_1l.obj | ||
-create lzo1x_1o.obj | ||
-create lzo1x_9x.obj | ||
-create lzo1x_d1.obj | ||
-create lzo1x_d2.obj | ||
-create lzo1x_d3.obj | ||
-create lzo1x_o.obj | ||
-create lzo1y_1.obj | ||
-create lzo1y_9x.obj | ||
-create lzo1y_d1.obj | ||
-create lzo1y_d2.obj | ||
-create lzo1y_d3.obj | ||
-create lzo1y_o.obj | ||
-create lzo1z_9x.obj | ||
-create lzo1z_d1.obj | ||
-create lzo1z_d2.obj | ||
-create lzo1z_d3.obj | ||
-create lzo2a_9x.obj | ||
-create lzo2a_d1.obj | ||
-create lzo2a_d2.obj | ||
-create lzo_crc.obj | ||
-create lzo_init.obj | ||
-create lzo_ptr.obj | ||
-create lzo_str.obj | ||
-create lzo_util.obj | ||
-create asm\i386\obj\omf32\lzo1c_s1.obj | ||
-create asm\i386\obj\omf32\lzo1f_f1.obj | ||
-create asm\i386\obj\omf32\lzo1x_f1.obj | ||
-create asm\i386\obj\omf32\lzo1x_s1.obj | ||
-create asm\i386\obj\omf32\lzo1y_f1.obj | ||
-create asm\i386\obj\omf32\lzo1y_s1.obj |
Oops, something went wrong.