makoto@harry  22:40:08/990930(...src-harry/bzip2-0.9.5d)> make
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c blocksort.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c huffman.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c crctable.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c randtable.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c compress.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c decompress.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c bzlib.c
rm -f libbz2.a
ar cq libbz2.a blocksort.o   huffman.o     crctable.o    randtable.o   compress.o    decompress.o  bzlib.o
ranlib libbz2.a
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c bzip2.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -o bzip2 bzip2.o -L. -lbz2
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -c bzip2recover.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -o bzip2recover bzip2recover.o

Doing 6 tests (3 compress, 3 uncompress) ...
If there's a problem, things might stop at this point.
 
./bzip2 -1  < sample1.ref > sample1.rb2
./bzip2 -2  < sample2.ref > sample2.rb2
./bzip2 -3  < sample3.ref > sample3.rb2
./bzip2 -d  < sample1.bz2 > sample1.tst
./bzip2 -d  < sample2.bz2 > sample2.tst
./bzip2 -ds < sample3.bz2 > sample3.tst
cmp sample1.bz2 sample1.rb2
cmp sample2.bz2 sample2.rb2
cmp sample3.bz2 sample3.rb2
cmp sample1.tst sample1.ref
cmp sample2.tst sample2.ref
cmp sample3.tst sample3.ref

If you got this far and the "cmp"s didn't complain, it looks
like you're in business.  

To install in /usr/bin, /usr/lib, /usr/man and /usr/include, type
   make install
To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type 
   make install PREFIX=/xxx/yyy
If you are (justifiably) paranoid and want to see what 'make install'
is going to do, you can first do
   make -n install                      or
   make -n install PREFIX=/xxx/yyy      respectively.
The -n instructs make to show the commands it would execute, but
not actually execute them.

Instructions for use are in the preformatted manual page, in the file
bzip2.txt.  For more detailed documentation, read the full manual.  
It is available in Postscript form (manual.ps) and HTML form
(manual_toc.html).

You can also do "bzip2 --help" to see some helpful information. 
"bzip2 -L" displays the software license.

makoto@harry  22:41:07/990930(...src-harry/bzip2-0.9.5d)> 


# make install if ( test ! -d /usr/bin ) ; then mkdir /usr/bin ; fi if ( test ! -d /usr/lib ) ; then mkdir /usr/lib ; fi if ( test ! -d /usr/man ) ; then mkdir /usr/man ; fi if ( test ! -d /usr/man/man1 ) ; then mkdir /usr/man/man1 ; fi if ( test ! -d /usr/include ) ; then mkdir /usr/include ; fi cp -f bzip2 /usr/bin/bzip2 cp -f bzip2 /usr/bin/bunzip2 cp -f bzip2 /usr/bin/bzcat cp -f bzip2recover /usr/bin/bzip2recover chmod a+x /usr/bin/bzip2 chmod a+x /usr/bin/bunzip2 chmod a+x /usr/bin/bzcat chmod a+x /usr/bin/bzip2recover cp -f bzip2.1 /usr/man/man1 chmod a+r /usr/man/man1/bzip2.1 cp -f bzlib.h /usr/include chmod a+r /usr/include/bzlib.h cp -f libbz2.a /usr/lib chmod a+r /usr/lib/libbz2.a #