2002-01-12 13:31:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2017-03-04 11:28:03 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/tcp_wrappers
|
2005-10-14 15:41:09 +00:00
|
|
|
|
2002-01-12 13:31:30 +00:00
|
|
|
PROG= tcpd
|
|
|
|
MAN= tcpd.8
|
2003-06-02 02:35:58 +00:00
|
|
|
CSTD?= c89
|
2015-11-26 01:14:40 +00:00
|
|
|
CFLAGS+=-DREAL_DAEMON_DIR=\"${LIBEXECDIR}\" \
|
2002-01-12 13:31:30 +00:00
|
|
|
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
|
|
|
|
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
|
|
|
|
-DFACILITY=LOG_DAEMON
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2002-01-12 13:31:30 +00:00
|
|
|
CFLAGS+=-DINET6
|
|
|
|
.endif
|
|
|
|
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD= wrap
|
2002-01-12 13:31:30 +00:00
|
|
|
|
2010-01-02 09:50:19 +00:00
|
|
|
WARNS?= 1
|
|
|
|
|
2002-01-12 13:31:30 +00:00
|
|
|
.include <bsd.prog.mk>
|