2002-01-12 13:31:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2005-10-14 15:41:09 +00:00
|
|
|
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
|
|
|
|
|
2002-01-12 13:31:30 +00:00
|
|
|
PROG= tcpd
|
|
|
|
MAN= tcpd.8
|
2003-06-02 02:35:58 +00:00
|
|
|
CSTD?= c89
|
2002-01-12 13:31:30 +00:00
|
|
|
CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
|
|
|
|
-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
|
|
|
|
|
|
|
|
DPADD= ${LIBWRAP}
|
|
|
|
LDADD= -lwrap
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|