prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
datadir=@datadir@
libdir=@libdir@
datarootdir=@datarootdir@
sbindir=@sbindir@
sysconfdir=@sysconfdir@
includedir=@includedir@
libexecdir=@libexecdir@
localedir=@localedir@
localstatedir=@localstatedir@
pkgconfigdir=@pkgconfigdir@
mandir=@mandir@

AR=@AR@
CC=@CC@
PLATFORM=@OSREL@ @OSTYPE@
LDFLAGS=@LDFLAGS@ @LIBDIRS@
LIBEXECDIR=@LIBEXECDIR@
LIBS=@LIBS@ @LIBRARIES@ @LIBADD_DL@
LIBTOOL=@LIBTOOL@
MAKEDEPEND=makedepend -Y
RANLIB=@RANLIB@

CURSES_LIBS=@CURSES_LIBS@
UTILS_LIBS=@UTILS_LIBS@ @LIBS@

INSTALL=@INSTALL@
INSTALL_STRIP=@INSTALL_STRIP@
INSTALL_USER=@install_user@
INSTALL_GROUP=@install_group@
INSTALL_BIN=$(INSTALL) $(INSTALL_STRIP) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
INSTALL_SBIN=$(INSTALL) $(INSTALL_STRIP) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
INSTALL_MAN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644

RM=rm -f
SHELL=@CONFIG_SHELL@

ENABLE_NLS=@ENABLE_NLS@
ENABLE_TESTS=@ENABLE_TESTS@

BUILD_VERSION=@BUILD_VERSION@
RELEASE_VERSION=@RELEASE_VERSION@
RC_VERSION=@RC_VERSION@

# Directory include paths.
#
INCLUDES=-I.. -I$(top_srcdir)/include -I$(top_builddir)/include @INCLUDES@

# Preprocessor compilation flags.
#
CPPFLAGS=@CPPFLAGS@ -DHAVE_CONFIG_H $(DEFAULT_PATHS) $(PLATFORM) $(INCLUDES)
ADDL_CPPFLAGS=@ADDL_CPPFLAGS@

# Our compiler flags.
#
CFLAGS=@CFLAGS@
DEFINES=$(PLATFORM)

# Module-specific libraries to link against.  These libraries may be
# conditional, i.e. depending on the module-specific configure script and
# options.
MODULE_LIBS_FILE=$(top_builddir)/module-libs.txt

SRCS=main.c timers.c sets.c pool.c privs.c str.c table.c regexp.c configdb.c \
  dirtree.c expr.c signals.c support.c netaddr.c inet.c child.c parser.c \
  log.c lastlog.c xferlog.c bindings.c netacl.c class.c scoreboard.c help.c \
  feat.c netio.c cmd.c response.c ascii.c data.c modules.c stash.c \
  display.c auth.c fsio.c mkhome.c ctrls.c event.c var.c throttle.c \
  session.c trace.c encode.c proctitle.c filter.c pidfile.c env.c random.c \
  version.c rlimit.c wtmp.c json.c jot.c memcache.c redis.c error.c

OBJS=main.o timers.o sets.o pool.o privs.o str.o table.o regexp.o configdb.o \
  dirtree.o expr.o signals.o support.o netaddr.o inet.o child.o parser.o \
  log.o lastlog.o xferlog.o bindings.o netacl.o class.o scoreboard.o help.o \
  feat.o netio.o cmd.o response.o ascii.o data.o modules.o stash.o \
  display.o auth.o fsio.o mkhome.o ctrls.o event.o var.o throttle.o \
  session.o trace.o encode.o proctitle.o filter.o pidfile.o env.o random.o \
  version.o rlimit.o wtmp.o json.o jot.o memcache.o redis.o error.o

BUILD_OBJS=src/main.o src/timers.o src/sets.o src/pool.o src/privs.o src/str.o \
  src/table.o src/regexp.o src/configdb.o src/dirtree.o src/expr.o \
  src/signals.o src/support.o src/netaddr.o src/inet.o src/child.o \
  src/parser.o src/log.o src/lastlog.o src/xferlog.o src/bindings.o \
  src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o \
  src/netio.o src/cmd.o src/response.o src/ascii.o src/data.o \
  src/modules.o src/stash.o src/display.o src/auth.o src/fsio.o \
  src/mkhome.o src/ctrls.o src/event.o src/var.o src/throttle.o \
  src/session.o src/trace.o src/encode.o src/proctitle.o src/filter.o \
  src/pidfile.o src/env.o src/random.o src/version.o src/rlimit.o \
  src/wtmp.o src/json.o src/jot.o src/memcache.o src/redis.o \
  src/error.o

SHARED_MODULE_DIRS=@SHARED_MODULE_DIRS@
SHARED_MODULE_LIBS=@SHARED_MODULE_LIBS@
SHARED_MODULE_OBJS=@SHARED_MODULE_OBJS@
SHARED_MODULE_SRCS=@SHARED_MODULE_SRCS@

BUILD_SHARED_MODULE_OBJS=@BUILD_SHARED_MODULE_OBJS@

STATIC_MODULE_DIRS=@STATIC_MODULE_DIRS@
STATIC_MODULE_OBJS=@STATIC_MODULE_OBJS@
STATIC_MODULE_SRCS=@STATIC_MODULE_SRCS@

BUILD_STATIC_MODULE_ARCHIVES=@BUILD_STATIC_MODULE_ARCHIVES@
BUILD_STATIC_MODULE_OBJS=@BUILD_STATIC_MODULE_OBJS@ modules/module_glue.o lib/prbase.a

FTPCOUNT_OBJS=ftpcount.o scoreboard.o misc.o
BUILD_FTPCOUNT_OBJS=utils/ftpcount.o utils/scoreboard.o utils/misc.o

FTPDCTL_OBJS=ftpdctl.o pool.o netaddr.o log.o ctrls.o
BUILD_FTPDCTL_OBJS=src/ftpdctl.o src/pool.o src/str.o src/netaddr.o src/log.o \
  src/ctrls.o lib/prbase.a

FTPSCRUB_OBJS=ftpscrub.o scoreboard.o misc.o
BUILD_FTPSCRUB_OBJS=utils/ftpscrub.o utils/scoreboard.o utils/misc.o

FTPSHUT_OBJS=ftpshut.o
BUILD_FTPSHUT_OBJS=utils/ftpshut.o

FTPTOP_OBJS=ftptop.o scoreboard.o misc.o
BUILD_FTPTOP_OBJS=utils/ftptop.o utils/scoreboard.o utils/misc.o

FTPWHO_OBJS=ftpwho.o scoreboard.o misc.o
BUILD_FTPWHO_OBJS=utils/ftpwho.o utils/scoreboard.o utils/misc.o lib/prbase.a
