prefix=/opt/local
exec_prefix=/opt/local
bindir=${exec_prefix}/bin
datadir=${datarootdir}
libdir=${exec_prefix}/lib
datarootdir=${prefix}/share
sbindir=${exec_prefix}/sbin
sysconfdir=/opt/local/etc
includedir=${prefix}/include
libexecdir=${exec_prefix}/libexec
localedir=${datarootdir}/locale
localstatedir=/opt/local/var/run
pkgconfigdir=${exec_prefix}/lib/pkgconfig
mandir=/opt/local/share/man

AR=ar
CC=/usr/bin/clang
PLATFORM=-DDARWIN18_7_0 -DDARWIN18
LDFLAGS=-Wl,-L$(top_srcdir)/lib,-L$(top_builddir)/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -rdynamic 
LIBEXECDIR=/opt/local/libexec
LIBS=-lidn -lresolv -lresolv   -lssl -lcrypto -lsodium -lpam  
LIBTOOL=$(SHELL) $(top_builddir)/libtool
MAKEDEPEND=makedepend -Y
RANLIB=ranlib

CURSES_LIBS=-lncurses
UTILS_LIBS= -lidn -lresolv -lresolv 

INSTALL=/usr/bin/install -c
INSTALL_STRIP=
INSTALL_USER=502
INSTALL_GROUP=501
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=/bin/sh

ENABLE_NLS=""
ENABLE_TESTS=""

BUILD_VERSION=1.3.8b
RELEASE_VERSION=1.3.8b
RC_VERSION=

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

# Preprocessor compilation flags.
#
CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H $(DEFAULT_PATHS) $(PLATFORM) $(INCLUDES)
ADDL_CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk

# Our compiler flags.
#
CFLAGS=-g2 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -Wall -fno-omit-frame-pointer -fno-strict-aliasing -Werror=implicit-function-declaration
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= contrib/mod_sftp contrib/mod_load
SHARED_MODULE_LIBS= -lidn -lsodium
SHARED_MODULE_OBJS=mod_tls.la  mod_sftp_pam.la mod_ban.la mod_ctrls_admin.la mod_dynmasq.la mod_exec.la mod_ifsession.la  mod_log_forensic.la mod_qos.la mod_quotatab.la mod_quotatab_file.la mod_ratio.la mod_readme.la mod_rewrite.la mod_shaper.la mod_site_misc.la mod_unique_id.la
SHARED_MODULE_SRCS=

BUILD_SHARED_MODULE_OBJS=modules/mod_unique_id.la modules/mod_site_misc.la modules/mod_shaper.la modules/mod_rewrite.la modules/mod_readme.la modules/mod_ratio.la modules/mod_quotatab_file.la modules/mod_quotatab.la modules/mod_qos.la modules/mod_log_forensic.la modules/mod_load.la modules/mod_ifsession.la modules/mod_exec.la modules/mod_dynmasq.la modules/mod_ctrls_admin.la modules/mod_ban.la modules/mod_sftp_pam.la modules/mod_sftp.la modules/mod_tls.la 

STATIC_MODULE_DIRS=""
STATIC_MODULE_OBJS=mod_core.o mod_xfer.o mod_rlimit.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_delay.o mod_facts.o mod_dso.o mod_auth_pam.o                     mod_ctrls.o
STATIC_MODULE_SRCS=mod_core.c mod_xfer.c mod_rlimit.c mod_auth_unix.c mod_auth_file.c mod_auth.c mod_ls.c mod_log.c mod_site.c mod_delay.c mod_facts.c mod_dso.c mod_auth_pam.c                     mod_ctrls.c

BUILD_STATIC_MODULE_ARCHIVES=
BUILD_STATIC_MODULE_OBJS=modules/mod_core.o modules/mod_xfer.o modules/mod_rlimit.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_delay.o modules/mod_facts.o modules/mod_dso.o modules/mod_auth_pam.o                      modules/mod_ctrls.o 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
