# Generated automatically from Makefile.in by configure.
#
#  $Id: Makefile.in,v 1.46.2.1 2000/11/21 21:19:28 wessels Exp $
#
prefix		= /usr/local/squid
top_srcdir	= ..
srcdir		= .


CC		= gcc
MAKEDEPEND	= /usr/bin/X11/makedepend
INSTALL		= /usr/athena/bin/install -c
INSTALL_BIN 	= ${INSTALL}
INSTALL_FILE 	= ${INSTALL} -m 644
RANLIB		= ranlib
AC_CFLAGS	= -g -O2 -Wall
LDFLAGS		= -g
XTRA_LIBS	= -lm -lresolv -lbsd
RM		= /usr/bin/rm
LIBOBJS		= 
AR_R		= /usr/bin/ar r

INCLUDE		= -I../include -I$(top_srcdir)/include
UTILOBJS	= rfc1123.o \
		  rfc1738.o \
		  rfc1035.o \
		  util.o \
		  getfullhostname.o \
		  base64.o \
		  uudecode.o \
		  splay.o \
		  safe_inet_addr.o \
		  iso3307.o \
		  snprintf.o \
		  md5.o \
		  radix.o \
		  stub_memaccount.o \
		  Array.o \
		  Stack.o \
		  hash.o \
		  heap.o \
                  html_quote.o \
		  $(LIBOBJS)
REGEXOBJS	= GNUregex.o
DLMALLOCOBJS	= dlmalloc.o
LIBS		= libmiscutil.a  

CFLAGS		= $(AC_CFLAGS) $(INCLUDE)

all: $(LIBS)

$(UTILOBJS): $(top_srcdir)/include/version.h

libmiscutil.a: $(UTILOBJS)
	$(RM) -f $@
	$(AR_R) $@ $(UTILOBJS)
	$(RANLIB) $@

libregex.a: $(REGEXOBJS)
	$(RM) -f $@
	$(AR_R) $@ $(REGEXOBJS)
	$(RANLIB) $@

libdlmalloc.a: $(DLMALLOCOBJS)
	$(RM) -f $@
	$(AR_R) $@ $(DLMALLOCOBJS)
	$(RANLIB) $@

clean:
	-rm -f *.o $(LIBS) core

distclean: clean
	-rm -f libregex.a
	-rm -f Makefile Makefile.bak

install: all

depend:
	$(MAKEDEPEND) -I../include -I. -fMakefile *.c

