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

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

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

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

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

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

# Defines path where to find GNU Magic/File headers
MAGIC_INCDIR=/usr/local/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/gdbm

# Defines for your operating system
DEFINES=-DPREFIX=\"$(PREFIX)\" -DSYSV -DSOLARIS
COPT= $(DEFINES) -v -erroff=E_STATEMENT_NOT_REACHED

# 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 -lresolv -lsocket -lnsl
MISSING = arc4random.o setproctitle.o setenv.o

# DBM library should be specified if it is an external library or
# you with to use a different one than what is included in libc
DBMLIB=	-lndbm

# 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
LDFL=	-Bstatic

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

# 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

# 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/
