#
# "$Id: Makefile,v 1.6.2.1 2001/02/02 15:11:06 mike Exp $"
#
#   ZIP library Makefile for the Common UNIX Printing System (CUPS).
#
#   Makefile copyright 1997-2001 by Easy Software Products, all rights
#   reserved.
#   ZIP library copyright 1995-1998 Jean-loup Gailly.
#   For conditions of distribution and use, see copyright notice in zlib.h 
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products and are protected by Federal
#   copyright law.  Distribution and use rights are outlined in the file
#   "LICENSE.txt" which should have been included with this file.  If this
#   file is missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: CUPS Licensing Information
#       Easy Software Products
#       44141 Airport View Drive, Suite 204
#       Hollywood, Maryland 20636-3111 USA
#
#       Voice: (301) 373-9603
#       EMail: cups-info@cups.org
#         WWW: http://www.cups.org
#

include ../Makedefs

#
# Object files...
#

OBJS	=	adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o \
		trees.o zutil.o inflate.o infblock.o inftrees.o infcodes.o \
		infutil.o inffast.o

#
# Make all targets...
#

all:	libz.a

#
# Clean all targets and object files...
#

clean:
	$(RM) $(OBJS)
	$(RM) libz.a

#
# libz.a
#

libz.a:	$(OBJS)
	echo Archiving $@...
	$(RM) $@
	$(AR) $(ARFLAGS) $@ $(OBJS)
	$(RANLIB) $@

$(OBJS):	zlib.h zconf.h ../Makedefs
deflate.o:	deflate.h zutil.h
gzio.o:		zutil.h
infblock.o:	infblock.h inftrees.h infcodes.h infutil.h zutil.h
infcodes.o:	zutil.h
infcodes.o:	inftrees.h infblock.h infcodes.h infutil.h inffast.h
inffast.o:	zutil.h inftrees.h
inffast.o:	infblock.h infcodes.h infutil.h inffast.h
inflate.o:	zutil.h infblock.h
inftrees.o:	zutil.h inftrees.h
infutil.o:	zutil.h infblock.h inftrees.h infcodes.h infutil.h
trees.o:	deflate.h zutil.h trees.h
zutil.o:	zutil.h

#
# End of "$Id: Makefile,v 1.6.2.1 2001/02/02 15:11:06 mike Exp $".
#
