# Most important part ;-)
CC = cc
CP = cp
MAKE = make
PREFIX = /usr/firewall

# Defines path where to find ncurses libraries
NCURSES_LIBDIR=/usr/lib

# Defines path where to find ncurses headers
NCURSES_INCDIR=/usr/include/ncurses

# Defines path where to find SSL libraries
SSL_LIBDIR=/usr/lib

# Defines path where to find SSL headers
SSL_INCDIR=/usr/include/ssl

# Defines path where to find GNU Magic/File libraries
MAGIC_LIBDIR=/usr/lib

# Defines path where to find GNU Magic/File headers
MAGIC_INCDIR=/usr/include

# Defines path where to find Milter client library (libci_milter)
MILTER_LIBDIR=../../libci_milter

# Defines path where to find Milter client headers
MILTER_INCDIR=../../libci_milter/include

# Defines path where to find berkeley bd headers
DBM_INCDIR=/usr/include/db4

# Defines for your operating system
DEFINES=-DPREFIX=\"$(PREFIX)\" -DDB4
COPT= $(DEFINES) -Wall -Wbad-function-cast -Wcast-align 
OVERLDF=-Xlinker --allow-multiple-definition

# Your ranlib utility (use "touch" if you don't have ranlib)
RANLIB=	ranlib

# Destination directory for installation of binaries
DEST=	$(PREFIX)/bin

# Destination directory for installation of man pages
DESTMAN=	$(DEST)/../man

AUXLIB= -L$(MAGIC_LIBDIR) -lmagic -lcrypto -lutil -lz -lcrypt -lresolv
MISSING = arc4random.o setproctitle.o strlcpy.o strlcat.o
DBMLIB=-ldb

# Flags to pass to the linker (e.g. -Bstatic for static binaries under SunOS 4.1.x), -xarch=native64 to
# build 64bit executables with SunWSPro
# It seems to be impossible to make a true static app with modern glibc due to the libnss issue
LDFL =

# Flags to build shared library (for PAM etc)
SHLIB_LDFL= -shared

# Flags for X gateway link - usually the same as LDFL
XLDFL=$(LDFL)

# Location of the fwtk sources [For #include by any external tools needing it]
FWTKSRCDIR=$(PREFIX)/src/fwtk

# Location of X libraries for X-gw
XLIBDIR=/usr/X11R6/lib

# X Libraries
XLIBS =  -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lc

# Location of X include files
XINCLUDE=/usr/X11R6/include

# IPFilter location
#IPFILTER=$(PREFIX)/development/src/ipfilter/ip_fil3.2.9

# authsrv agent communication socket
AUTHSRV_SOCK_PATH=$(PREFIX)/var/
