~ubuntu-branches/ubuntu/karmic/unzip/karmic

« back to all changes in this revision

Viewing changes to bzip2/Makebz2.iz

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2009-05-08 20:02:40 UTC
  • mfrom: (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090508200240-rk23wg0jdoyc6caj
Tags: 6.0-1
* New upstream release. Closes: #496989.
* Enabled new Unicode support. Closes: #197427. This may or may not work
  for your already created zipfiles, but it's not a bug unless they were
  created using the Unicode feature present in zip 3.0.
* Built using DATE_FORMAT=DF_YMD so that unzip -l show dates in ISO format,
  as that's the only available one which makes sense. Closes: #312886.
* Enabled new bzip2 support. Closes: #426798.
* Exit code for zipgrep should now be the right one. Closes: #441997.
* The reason why a file may not be created is now shown. Closes: #478791.
* Summary of changes in this version not being the debian/* files:
- Manpages in section 1, not 1L.
- Branding patch. UnZip by Debian. Original by Info-ZIP.
- Always #include <unistd.h>. Debian GNU/kFreeBSD needs it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for UnZip's bzip2 support library
 
2
# Unix, and other ports using sufficiently unix-compatible
 
3
# library naming conventions (e.g. misc. GCC ports)
 
4
#
 
5
# (c) 2006-2007 Info-ZIP
 
6
# Last revision: Christian Spieler, 2007-Mar-31
 
7
#
 
8
# This Makefile is intended to be called from UnZip's main make procedure.
 
9
 
 
10
SHELL=/bin/sh
 
11
 
 
12
# To assist in cross-compiling
 
13
CC=gcc
 
14
AR=ar
 
15
RANLIB=ranlib
 
16
RM=rm -f
 
17
LDFLAGS=
 
18
O=.o
 
19
 
 
20
CFLAGS=-Wall -Winline -O2 -g
 
21
CCBZ2DEFS=-DBZ_NO_STDIO
 
22
 
 
23
 
 
24
OBJS= blocksort$(O)  \
 
25
      huffman$(O)    \
 
26
      crctable$(O)   \
 
27
      randtable$(O)  \
 
28
      compress$(O)   \
 
29
      decompress$(O) \
 
30
      bzlib$(O)
 
31
 
 
32
# How to compile sources
 
33
.c$(O):
 
34
        $(CC) $(CFLAGS) $(CCBZ2DEFS) -o $@ -c $<
 
35
 
 
36
all: libbz2.a
 
37
 
 
38
libbz2.a: $(OBJS)
 
39
        -@$(RM) libbz2.a
 
40
        $(AR) cq libbz2.a $(OBJS)
 
41
        -$(RANLIB) libbz2.a
 
42
 
 
43
clean:
 
44
        $(RM) $(OBJS) libbz2.a
 
45
 
 
46
$(OBJS): bzlib.h bzlib_private.h
 
47
 
 
48
blocksort$(O): blocksort.c
 
49
huffman$(O): huffman.c
 
50
crctable$(O): crctable.c
 
51
randtable$(O): randtable.c
 
52
compress$(O): compress.c
 
53
decompress$(O): decompress.c
 
54
bzlib$(O): bzlib.c