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