PREFIX ?=	/usr/local
BINDIR ?=	$(PREFIX)/bin
SBINDIR	?=	$(PREFIX)/sbin
VAR_DATADIR ?=	/var/db/squidstats
RRD_DATADIR ?=	$(VAR_DATADIR)/rrd
CGIDIR ?=	$(PREFIX)/www/cgi-bin/
ETCDIR ?=	$(PREFIX)/etc/squidstats/
SHAREDIR ?=	$(PREFIX)/share
WEB_DATADIR ?=	$(PREFIX)/www/data
TEMPLATEDIR ?=	$(SHAREDIR)/squidstats/templates/

GRAPH_INIPATH ?=	$(ETCDIR)/config.ini
GRAPH_DATADIR ?=	$(VAR_DATADIR)/graphs/
GRAPH_WEBDIR ?=		/graphs/
GRAPH_CSSFILE ?=	/graph.css

SQUID_MIBFILE ?=	$(PREFIX)/etc/squid/mib.txt
SQUID_SNMP_AGENT ?=	localhost:3401

# Statistics gathering is done as this user
STATS_USER ?=	squid

# Reporting is done as this user
WEB_USER ?=	www

# The 'mem' template is currently unsupported here
TEMPLATES = clients dnsreq fds hitratio icp ipcachereq outgoing cache cpu dnssvc fqdncachereq httpsvc incoming objects requests

# Internal command stuff
RM =	rm -f
INSTALL =	install
INSTALL_DIR =	install -d
