aboutsummaryrefslogtreecommitdiffstats
path: root/mk/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2015-05-06 02:29:15 +0200
committerGilles Chehade <gilles@poolp.org>2015-05-06 02:29:15 +0200
commit2b9f6f288255dafcaf642787ae87a4fe9fd1e057 (patch)
tree57bb5f18ff1f924b871371008848e76d840aed10 /mk/smtpd
parentmore cleanup (diff)
downloadOpenSMTPD-2b9f6f288255dafcaf642787ae87a4fe9fd1e057.tar.xz
OpenSMTPD-2b9f6f288255dafcaf642787ae87a4fe9fd1e057.zip
do not build table_db or makemap if !defined ENABLE_TABLE_DB
Diffstat (limited to 'mk/smtpd')
-rw-r--r--mk/smtpd/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/smtpd/Makefile.am b/mk/smtpd/Makefile.am
index a327bd19..7d4da7ed 100644
--- a/mk/smtpd/Makefile.am
+++ b/mk/smtpd/Makefile.am
@@ -71,7 +71,9 @@ smtpd_SOURCES+= $(smtpd_srcdir)/delivery_maildir.c
smtpd_SOURCES+= $(smtpd_srcdir)/delivery_mbox.c
smtpd_SOURCES+= $(smtpd_srcdir)/delivery_mda.c
smtpd_SOURCES+= $(smtpd_srcdir)/delivery_lmtp.c
+if ENABLE_TABLE_DB
smtpd_SOURCES+= $(smtpd_srcdir)/table_db.c
+endif
smtpd_SOURCES+= $(smtpd_srcdir)/table_getpwnam.c
smtpd_SOURCES+= $(smtpd_srcdir)/table_proc.c
smtpd_SOURCES+= $(smtpd_srcdir)/table_static.c