~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to gdchart0.94c/zlib-1.1.3/contrib/minizip/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CC=cc
2
 
CFLAGS=-O -I../..
3
 
 
4
 
UNZ_OBJS = miniunz.o unzip.o ../../libz.a
5
 
ZIP_OBJS = minizip.o zip.o   ../../libz.a
6
 
 
7
 
.c.o:
8
 
        $(CC) -c $(CFLAGS) $*.c
9
 
 
10
 
all: miniunz minizip
11
 
 
12
 
miniunz:  $(UNZ_OBJS)
13
 
        $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
14
 
 
15
 
minizip:  $(ZIP_OBJS)
16
 
        $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
17
 
 
18
 
test:   miniunz minizip
19
 
        ./minizip test readme.txt
20
 
        ./miniunz -l test.zip
21
 
        mv readme.txt readme.old
22
 
        ./miniunz test.zip
23
 
 
24
 
clean:
25
 
        /bin/rm -f *.o *~ minizip miniunz