diff options
author | Julian Seward <jseward@acm.org> | 2006-12-20 22:13:13 +0100 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2006-12-20 22:13:13 +0100 |
commit | f10a33538e9bab6deb61779b3d8aae168824ef48 (patch) | |
tree | ecd1c2ed553ced58a090e0d8b7b7a20bb7c95c80 /Makefile | |
parent | 4d540bfc95a4b0eefc1d1f388ec33534aaeb3a2f (diff) | |
download | bzip2-f10a33538e9bab6deb61779b3d8aae168824ef48.tar.gz bzip2-f10a33538e9bab6deb61779b3d8aae168824ef48.tar.bz2 bzip2-f10a33538e9bab6deb61779b3d8aae168824ef48.zip |
bzip2-1.0.4bzip2-1.0.4
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 30 |
1 files changed, 21 insertions, 9 deletions
@@ -1,3 +1,16 @@ | |||
1 | # ------------------------------------------------------------------ | ||
2 | # This file is part of bzip2/libbzip2, a program and library for | ||
3 | # lossless, block-sorting data compression. | ||
4 | # | ||
5 | # bzip2/libbzip2 version 1.0.4 of 20 December 2006 | ||
6 | # Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | ||
7 | # | ||
8 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the | ||
9 | # README file. | ||
10 | # | ||
11 | # This program is released under the terms of the license contained | ||
12 | # in the file LICENSE. | ||
13 | # ------------------------------------------------------------------ | ||
1 | 14 | ||
2 | SHELL=/bin/sh | 15 | SHELL=/bin/sh |
3 | 16 | ||
@@ -8,10 +21,10 @@ RANLIB=ranlib | |||
8 | LDFLAGS= | 21 | LDFLAGS= |
9 | 22 | ||
10 | BIGFILES=-D_FILE_OFFSET_BITS=64 | 23 | BIGFILES=-D_FILE_OFFSET_BITS=64 |
11 | CFLAGS=-Wall -Winline -O -g $(BIGFILES) | 24 | CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) |
12 | 25 | ||
13 | # Where you want it installed when you do 'make install' | 26 | # Where you want it installed when you do 'make install' |
14 | PREFIX=/usr | 27 | PREFIX=/usr/local |
15 | 28 | ||
16 | 29 | ||
17 | OBJS= blocksort.o \ | 30 | OBJS= blocksort.o \ |
@@ -77,14 +90,14 @@ install: bzip2 bzip2recover | |||
77 | cp -f libbz2.a $(PREFIX)/lib | 90 | cp -f libbz2.a $(PREFIX)/lib |
78 | chmod a+r $(PREFIX)/lib/libbz2.a | 91 | chmod a+r $(PREFIX)/lib/libbz2.a |
79 | cp -f bzgrep $(PREFIX)/bin/bzgrep | 92 | cp -f bzgrep $(PREFIX)/bin/bzgrep |
80 | ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep | 93 | ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep |
81 | ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep | 94 | ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep |
82 | chmod a+x $(PREFIX)/bin/bzgrep | 95 | chmod a+x $(PREFIX)/bin/bzgrep |
83 | cp -f bzmore $(PREFIX)/bin/bzmore | 96 | cp -f bzmore $(PREFIX)/bin/bzmore |
84 | ln $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless | 97 | ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless |
85 | chmod a+x $(PREFIX)/bin/bzmore | 98 | chmod a+x $(PREFIX)/bin/bzmore |
86 | cp -f bzdiff $(PREFIX)/bin/bzdiff | 99 | cp -f bzdiff $(PREFIX)/bin/bzdiff |
87 | ln $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp | 100 | ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp |
88 | chmod a+x $(PREFIX)/bin/bzdiff | 101 | chmod a+x $(PREFIX)/bin/bzdiff |
89 | cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1 | 102 | cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1 |
90 | chmod a+r $(PREFIX)/man/man1/bzgrep.1 | 103 | chmod a+r $(PREFIX)/man/man1/bzgrep.1 |
@@ -124,10 +137,10 @@ bzip2recover.o: bzip2recover.c | |||
124 | distclean: clean | 137 | distclean: clean |
125 | rm -f manual.ps manual.html manual.pdf | 138 | rm -f manual.ps manual.html manual.pdf |
126 | 139 | ||
127 | DISTNAME=bzip2-1.0.3 | 140 | DISTNAME=bzip2-1.0.4 |
128 | dist: check manual | 141 | dist: check manual |
129 | rm -f $(DISTNAME) | 142 | rm -f $(DISTNAME) |
130 | ln -sf . $(DISTNAME) | 143 | ln -s -f . $(DISTNAME) |
131 | tar cvf $(DISTNAME).tar \ | 144 | tar cvf $(DISTNAME).tar \ |
132 | $(DISTNAME)/blocksort.c \ | 145 | $(DISTNAME)/blocksort.c \ |
133 | $(DISTNAME)/huffman.c \ | 146 | $(DISTNAME)/huffman.c \ |
@@ -167,7 +180,6 @@ dist: check manual | |||
167 | $(DISTNAME)/libbz2.dsp \ | 180 | $(DISTNAME)/libbz2.dsp \ |
168 | $(DISTNAME)/dlltest.dsp \ | 181 | $(DISTNAME)/dlltest.dsp \ |
169 | $(DISTNAME)/makefile.msc \ | 182 | $(DISTNAME)/makefile.msc \ |
170 | $(DISTNAME)/Y2K_INFO \ | ||
171 | $(DISTNAME)/unzcrash.c \ | 183 | $(DISTNAME)/unzcrash.c \ |
172 | $(DISTNAME)/spewG.c \ | 184 | $(DISTNAME)/spewG.c \ |
173 | $(DISTNAME)/mk251.c \ | 185 | $(DISTNAME)/mk251.c \ |