#
# Copyright (c) 1993, Trusted Information Systems, Incorporated
# All rights reserved.
#
# Redistribution and use are governed by the terms detailed in the
# license document (\"LICENSE\") included with the toolkit.
#
#
# Author: Marcus J. Ranum, Trusted Information Systems, Inc.
#
# RcsId: \"$Header: /home/rmurphy/fwtk/fwtk/RCS/Makefile.config.linux,v 1.2
# 1998/01/13 23:50:46 rmurphy Exp $\"
# Your C compiler (eg, \"cc\" or \"gcc\")
CC= gcc
# program to use for installation -- this may or may not preserve
# old versions (or whatever). assumes that it takes parameters:
# copy source dest
CP= cp
# Defines for your operating system
#
DEFINES=-DLINUX
#DEFINES=-DSYSV -DSOLARIS
# Options for your compiler (eg, \"-g\" for debugging, \"-O\" for
# optimizing, or \"-g -O\" for both under GCC)
#COPT= -g -traditional $(DEFINES)
COPT= -O $(DEFINES)
#COPT= -O $(DEFINES)
# Version of \"make\" you want to use
#MAKE= gnumake
MAKE= make
# Your ranlib utility (use \"touch\" if you don\t have ranlib)
RANLIB= ranlib
#RANLIB= touch
# Destination directory for installation of binaries
DEST= /usr/local/etc
# Destination directory for installation of man pages
#DESTMAN= $(DEST)/../man
# Names of any auxiliary libraries your system may require (e.g., -lsocket)
# If you want to link against a resolver library, specify it here.
#AUXLIB=
#AUXLIB= -lsocket
# Some versions of Linux have broken the crypt() function out into a
# separate library - uncomment the following line if authsrv fails to build.
AUXLIB= -lcrypt
# For Solaris:
#AUXLIB= -lresolv -lsocket -lnsl
# 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
# for Linux:
DBMLIB=-lgdbm
# \"Linux\" is such a ephemeral concept. Unfortunately, one of the
# significant incompatibilities between distributions and versions
# is where the DBM libraries end up. \"-ldbm\", \"-ldb\", or \"-lgdbm\" could
# work for you. \"-lgdbm\" works for me (Slackware Linux 2.3).
# for BSD:
#DBMLIB=
# Flags to pass to the linker (eg, -static for static binaries under GCC,
# or -Bstatic for static binaries under SunOS 4.1.x)
#LDFL= -Bstatic
#LDFL=
LDFL= -g -static
# Flags for X gateway link - usually the same as LDFL
XLDFL=-g
# Location of the fwtk sources [For #include by any external tools needing it]
#FWTKSRCDIR=/u/b/mjr/firewall/fwtk
FWTKSRCDIR=/usr/local/src/fwtk
# Location of X libraries for X-gw
XLIBDIR=/usr/X11R6/lib
#XLIBDIR=/usr/local/X11R5/lib
# X Libraries
# For BSD:
#XLIBS= -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE -lipc
#XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11
# for Linux: