# Generated automatically from Makefile.in by configure.
#
#  $Id: Makefile.in,v 1.44.2.1 1999/07/07 19:14:26 wessels Exp $
#
prefix		= /squid
top_srcdir	= ..
srcdir		= .


CC		= gcc.exe
MAKEDEPEND	= true
INSTALL		= ../cfgaux/install-sh -c
INSTALL_BIN 	= ${INSTALL}
INSTALL_FILE 	= ${INSTALL} -m 644
RANLIB		= emxomf.exe
AC_CFLAGS	= -O3 -Wall -mpentium -DNDEBUG
LDFLAGS		= -s -Zcrtdll
XTRA_LIBS	= -lsyslog -libmtcp -lm -lbsd -lsocket
RM		= rm.exe
LIBOBJS		=  drand48.o
AR_R		= ar.exe 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 \
		  $(LIBOBJS)
REGEXOBJS	= GNUregex.o
DLMALLOCOBJS	= dlmalloc.o
LIBS		= miscutil.a 

CFLAGS		= $(AC_CFLAGS) $(INCLUDE)

all: $(LIBS)

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

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

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

dlmalloc.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

