• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:prefix

1 # ------------------------------------------------------------------
3 # lossless, block-sorting data compression.
6 # Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
13 # ------------------------------------------------------------------
17 # To assist in cross-compiling
23 BIGFILES=-D_FILE_OFFSET_BITS=64
24 CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
27 PREFIX=/usr/local macro
41 $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
44 $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2recover bzip2recover.o
47 rm -f libbz2.a
49 @if ( test -f $(RANLIB) -o -f /usr/bin/ranlib -o \
50 -f /bin/ranlib -o -f /usr/ccs/bin/ranlib ) ; then \
58 ./bzip2 -1 < sample1.ref > sample1.rb2
59 ./bzip2 -2 < sample2.ref > sample2.rb2
60 ./bzip2 -3 < sample3.ref > sample3.rb2
61 ./bzip2 -d < sample1.bz2 > sample1.tst
62 ./bzip2 -d < sample2.bz2 > sample2.tst
63 ./bzip2 -ds < sample3.bz2 > sample3.tst
73 if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
74 if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
75 if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
76 if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
77 if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
78 cp -f bzip2 $(PREFIX)/bin/bzip2
79 cp -f bzip2 $(PREFIX)/bin/bunzip2
80 cp -f bzip2 $(PREFIX)/bin/bzcat
81 cp -f bzip2recover $(PREFIX)/bin/bzip2recover
82 chmod a+x $(PREFIX)/bin/bzip2
83 chmod a+x $(PREFIX)/bin/bunzip2
84 chmod a+x $(PREFIX)/bin/bzcat
85 chmod a+x $(PREFIX)/bin/bzip2recover
86 cp -f bzip2.1 $(PREFIX)/man/man1
87 chmod a+r $(PREFIX)/man/man1/bzip2.1
88 cp -f bzlib.h $(PREFIX)/include
89 chmod a+r $(PREFIX)/include/bzlib.h
90 cp -f libbz2.a $(PREFIX)/lib
91 chmod a+r $(PREFIX)/lib/libbz2.a
92 cp -f bzgrep $(PREFIX)/bin/bzgrep
93 ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
94 ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
95 chmod a+x $(PREFIX)/bin/bzgrep
96 cp -f bzmore $(PREFIX)/bin/bzmore
97 ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
98 chmod a+x $(PREFIX)/bin/bzmore
99 cp -f bzdiff $(PREFIX)/bin/bzdiff
100 ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
101 chmod a+x $(PREFIX)/bin/bzdiff
102 cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
103 chmod a+r $(PREFIX)/man/man1/bzgrep.1
104 chmod a+r $(PREFIX)/man/man1/bzmore.1
105 chmod a+r $(PREFIX)/man/man1/bzdiff.1
106 echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
107 echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
108 echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
109 echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
112 rm -f *.o libbz2.a bzip2 bzip2recover \
118 $(CC) $(CFLAGS) -c blocksort.c
120 $(CC) $(CFLAGS) -c huffman.c
122 $(CC) $(CFLAGS) -c crctable.c
124 $(CC) $(CFLAGS) -c randtable.c
126 $(CC) $(CFLAGS) -c compress.c
128 $(CC) $(CFLAGS) -c decompress.c
130 $(CC) $(CFLAGS) -c bzlib.c
132 $(CC) $(CFLAGS) -c bzip2.c
134 $(CC) $(CFLAGS) -c bzip2recover.c
138 rm -f manual.ps manual.html manual.pdf
140 DISTNAME=bzip2-1.0.6
142 rm -f $(DISTNAME)
143 ln -s -f . $(DISTNAME)
192 $(DISTNAME)/Makefile-libbz2_so \
193 $(DISTNAME)/bz-common.xsl \
194 $(DISTNAME)/bz-fo.xsl \
195 $(DISTNAME)/bz-html.xsl \
201 gzip -v $(DISTNAME).tar
205 MANUAL_SRCS= bz-common.xsl bz-fo.xsl bz-html.xsl bzip.css \
211 ./xmlproc.sh -ps manual.xml
214 ./xmlproc.sh -pdf manual.xml
217 ./xmlproc.sh -html manual.xml