~ubuntu-branches/ubuntu/quantal/unzip/quantal

« back to all changes in this revision

Viewing changes to bzip2/makbz2iz.msc

  • 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
# Win32 port, using Microsoft Visual C++ 6.0
 
3
#
 
4
# (c) 2006-2007 Info-ZIP
 
5
# Last revision: Christian Spieler, 2007-Apr-03
 
6
#
 
7
# This Makefile is intended to be called from UnZip's main make procedure.
 
8
 
 
9
CC=cl
 
10
AR=link -lib
 
11
CFLSYS = -ML -O2 -nologo
 
12
CFLAGS= -D_WIN32 -DBZ_NO_STDIO $(CFLSYS)
 
13
!ifndef BZROOTDIR
 
14
BZROOTDIR=.
 
15
!endif
 
16
BZROOT=$(BZROOTDIR)/
 
17
!ifndef BZOBDIR
 
18
BZOBDIR=.
 
19
!endif
 
20
BZOB=$(BZOBDIR)/
 
21
O=.obj
 
22
 
 
23
 
 
24
OBJS= $(BZOB)blocksort$(O)  \
 
25
      $(BZOB)huffman$(O)    \
 
26
      $(BZOB)crctable$(O)   \
 
27
      $(BZOB)randtable$(O)  \
 
28
      $(BZOB)compress$(O)   \
 
29
      $(BZOB)decompress$(O) \
 
30
      $(BZOB)bzlib$(O)
 
31
 
 
32
izlib: $(BZOBDIR) $(BZOB)bz2.lib
 
33
 
 
34
$(BZOBDIR) :
 
35
        -mkdir $@
 
36
 
 
37
$(BZOB)bz2.lib: $(OBJS)
 
38
        $(AR) $(OBJS) -out:$(BZOB)bz2.lib
 
39
 
 
40
clean:
 
41
        -del $(BZOBDIR)\*$(O)
 
42
        -del $(BZOBDIR)\bz2.lib
 
43
 
 
44
.c$(O):
 
45
        $(CC) $(CFLAGS) -c -Fo$@ $<
 
46
 
 
47
$(OBJS) : $(BZROOT)bzlib.h $(BZROOT)bzlib_private.h
 
48
 
 
49
$(BZOB)blocksort$(O) : $(BZROOT)blocksort.c
 
50
        $(CC) $(CFLAGS) -c -Fo$@ $(BZROOT)blocksort.c
 
51
$(BZOB)huffman$(O) : $(BZROOT)huffman.c
 
52
        $(CC) $(CFLAGS) -c -Fo$@ $(BZROOT)huffman.c
 
53
$(BZOB)crctable$(O) : $(BZROOT)crctable.c
 
54
        $(CC) $(CFLAGS) -c -Fo$@ $(BZROOT)crctable.c
 
55
$(BZOB)randtable$(O) : $(BZROOT)randtable.c
 
56
        $(CC) $(CFLAGS) -c -Fo$@ $(BZROOT)randtable.c
 
57
$(BZOB)compress$(O) : $(BZROOT)compress.c
 
58
        $(CC) $(CFLAGS) -c -Fo$@ $(BZROOT)compress.c
 
59
$(BZOB)decompress$(O) : $(BZROOT)decompress.c
 
60
        $(CC) $(CFLAGS) -c -Fo$@ $(BZROOT)decompress.c
 
61
$(BZOB)bzlib$(O) : $(BZROOT)bzlib.c
 
62
        $(CC) $(CFLAGS) -c -Fo$@ $(BZROOT)bzlib.c