# Main configuration file. This default may be overwritten by -I key.
CONFIGFILE  = "/usr/local/lib/fnet/config"

# Debug messages turned on by -x key are written here.
# Some error messages may occationally appear here too.
DEBUGFILE   = "/tmp/ifdebug"

# Procession log. Usually gets several lines for each invocation.
# Also look for error diagnostics here.
LOGFILE     = "/usr/local/lib/fnet/iflog"

# Options. 

# If you specify "-DHAS_NDBM_H", ndbm calls will be used instead
# of dbm ones, and the feature will be activated of Cnews log file processing
# to add entries to SEEN-BY if echo message is exported to several FTN
# nodes by Cnews mechanism. This works with INN too.

# If you specify "-DHAS_STATFS" or "-DHAS_STATVFS", statfs() (or statvfs()
# respectivly) call will be used to check available disk space. For statfs()
# call, you must also specify which .h file to use: "-DSTATFS_IN_VFS_H" or 
# "-DSTATFS_IN_STATFS_H" or "-DSTATFS_IN_STATVFS_H"  or "-DSTATFS_IN_MOUNT_H". 
# For statvfs() call, statvfs.h is included.

# If you specify "-DHAS_SETSID", setsid() call is used to detach from the
# control terminal. Otherwise setpgrp() call is used, and in this case you
# may specify "-DBSD_SETPGRP" to use BSD-style call.

# If you specify "-DDONT_HAVE_TM_GMTOFF", timezone offset will be calculated
# from the difference between the results of localtime() and gmtime() calls
# instead of using tm_gmtoff field of struct tm.

# If you specify "-DDONT_HAVE_GETOPT", local definitions for getopt will
# be used (but not the function itself)

# Linux:
OPTS        = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
		-DDONT_HAVE_TM_GMTOFF
# 386BSD:
#OPTS        = -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_NDBM_H
# SVR4:
#OPTS        = -DHAS_STATVFS -DHAS_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H
# SunOS:
#OPTS        = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
		-DDONT_HAVE_GETOPT

BINDIR=/usr/local/lib/fnet
OWNER=fnet

RANLIB = ranlib
#RANLIB = touch
SHELL = /bin/sh
ECHO = echo -e
CC = gcc

#CFLAGS = -g -Wall
# Linux:
CFLAGS = -O6 -Wall
# 386BSD, SunOS:
#CFLAGS = -O2 -Wall
# SVR4:
#CFLAGS = -O

LDFLAGS =

# Linux, SunOS:
LIBS = -ldbm
# 386BSD:
#LIBS = -lgdbm
# SVR4
#LIBS = -ldbm -lc -L/usr/ucblib -ldbm -lucb

# Linux, 386BSD:
INCLUDES = -I${INCDIR}
# SVR4:
#INCLUDES = -I${INCDIR} -I/usr/include/ -I/usr/ucbinclude
# SunOS:
#INCLUDES = -I/usr/5include -I${INCDIR}

# What programs are absent at your system?
#NEEDED = strcasestr.o strncasecmp.o strcasecmp.o rename.o mkdir.o
# Linux, SunOS and 386BSD:
NEEDED =
# SVR4:
#NEEDED = strcasestr.o strncasecmp.o strcasecmp.o
