# 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)\"

COPT= $(DEFINES) -Wall -pedantic -Wbad-function-cast -Wcast-align -std=c99
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

MISSING = rexec.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=

# 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= -static

# 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 -lSM -lICE -lXext

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