aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulian Seward <jseward@acm.org>2006-12-20 22:13:13 +0100
committerJulian Seward <jseward@acm.org>2006-12-20 22:13:13 +0100
commitf10a33538e9bab6deb61779b3d8aae168824ef48 (patch)
treeecd1c2ed553ced58a090e0d8b7b7a20bb7c95c80 /Makefile
parent4d540bfc95a4b0eefc1d1f388ec33534aaeb3a2f (diff)
downloadbzip2-f10a33538e9bab6deb61779b3d8aae168824ef48.tar.gz
bzip2-f10a33538e9bab6deb61779b3d8aae168824ef48.tar.bz2
bzip2-f10a33538e9bab6deb61779b3d8aae168824ef48.zip
bzip2-1.0.4bzip2-1.0.4
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 21 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index eea329a..c4cbc04 100644
--- a/Makefile
+++ b/Makefile
@@ -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
2SHELL=/bin/sh 15SHELL=/bin/sh
3 16
@@ -8,10 +21,10 @@ RANLIB=ranlib
8LDFLAGS= 21LDFLAGS=
9 22
10BIGFILES=-D_FILE_OFFSET_BITS=64 23BIGFILES=-D_FILE_OFFSET_BITS=64
11CFLAGS=-Wall -Winline -O -g $(BIGFILES) 24CFLAGS=-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'
14PREFIX=/usr 27PREFIX=/usr/local
15 28
16 29
17OBJS= blocksort.o \ 30OBJS= 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
124distclean: clean 137distclean: clean
125 rm -f manual.ps manual.html manual.pdf 138 rm -f manual.ps manual.html manual.pdf
126 139
127DISTNAME=bzip2-1.0.3 140DISTNAME=bzip2-1.0.4
128dist: check manual 141dist: 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 \