summaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-06-01 05:28:00 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-06-01 05:28:00 +0000
commite701e7338974e8487cc7c1c9f9086fc5618ae710 (patch)
treeec3da62a5790525a7b6c2d372b8c5c07fcee69de /usr.sbin/sendmail
parent62386db3aab7667c69cf64549015cd0bd200613c (diff)
Add support for TCP_WRAPPERS.
Diffstat (limited to 'usr.sbin/sendmail')
-rw-r--r--usr.sbin/sendmail/src/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/src/Makefile b/usr.sbin/sendmail/src/Makefile
index ef6ede574c0..c5266e1508a 100644
--- a/usr.sbin/sendmail/src/Makefile
+++ b/usr.sbin/sendmail/src/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 1997/04/27 20:57:06 millert Exp $
+# $OpenBSD: Makefile,v 1.14 1997/06/01 05:27:59 downsj Exp $
#
# OpenBSD Makefile
#
@@ -24,6 +24,13 @@ DBMDEF+=-DNIS
CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO
+.if (${TCP_WRAPPERS} == "yes")
+CFLAGS+=-DTCPWRAPPERS
+
+DPADD= ${LIBWRAP}
+LDADD= -lwrap
+.endif
+
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \