#/*************************************************************************
#***	Authentication, authorization, accounting + firewalling package
#***	(c) 1998-2002 Anton Vinokurov <anton@netams.com>
#***	(c) 2002-2006 NeTAMS Development Team
#***	All rights reserved. See 'Copying' file included in distribution
#***	For latest version and more info, visit this project web page
#***	located at http://www.netams.com
#***		 					
#*************************************************************************/
# This is automatically generated Makefile for NeTAMS
# Created   27 23:00:57 MSD 2007

#Optional params - uncomment if needed
DEFINE += -DHAVE_BW
#DEFINE += -DUSE_TICKS
#This four lines are only for DEBUG
DEFINE += -DDEBUG
FLAGS += -g -Wall
DEFINE += -DMEMORY_DEBUG
DEFINE += -DMUTEX_DEBUG
DEFINE += -DFAST_FW_CHECK
DEFINE += -DLAYER7_FILTER
DEFINE += -DUSE_HASH
PROG += netamsctl ascii2netflow
DEFINE += -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include
LIB += -pthread -lpcap -lcrypt -ldb1
INSTALL = /usr/bin/install
PATH_TO_ETC=/etc
PATH_TO_CONFIG=/etc/netams/netams.conf
PATH_TO_LOG=/var/log/netams/netams.log
PATH_TO_SCRIPTS=/etc/rc.d/init.d
DAEMONDIR=/usr/sbin
SBINDIR=/usr/sbin
MANDIR=/usr/share/man
LIB += -lipq -L/usr/lib -lipulog
DEFINE += -I/usr/include
NLIB += libipulog
PROG += ulog2netflow
PROG += flowprobe
DEFINE += -DUSE_MYSQL -I/usr/include/mysql
LIB += -lmysqlclient -L/usr/lib
DEFINE += -DUSE_POSTGRES -I/usr/include/pgsql
LIB += -lpq -L/usr/lib
DEFINE += -DHAVE_BILLING
SRC += billing.c s_billing.c
HEADERFILES += billing.h
DEFINE += -DUSE_LIBRADIUS
NLIB += libradius
LIB += -lradius
DEFINE += -DHAVE_PAM
LIB += -lpam -L/usr/lib
