# Makefile for SQUID Cache
#
# $Id: Makefile,v 1.4.2.1 1996/05/01 23:46:32 wessels Exp $
#

prefix		= /var/www/squid
exec_prefix     = /usr/contrib

SHELL		= /bin/sh

all: makefile
	@${MAKE} -f makefile all

squid: makefile dosquid

dosquid:
	@${MAKE} -f makefile squid

.DEFAULT:
	@if test \! -f makefile; then ${MAKE} makefile; fi
	@${MAKE} -f makefile $@

makefile: makefile.in Makefile
	@echo Running configure script to generate makefile
	CC=shlicc2 ./configure                 \
		--prefix=${prefix}                 \
		--exec_prefix=${exec_prefix}       \
		--localstatedir=/var/log/squid     \
		--sysconfdir=/var/www/conf         \
		--libexecdir=${prefix}/bin

# DO NOT DELETE
