2002-01-12 13:31:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-11-16 08:01:07 +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
|
2004-12-21 10:49:29 +00:00
|
|
|
.if !defined(NO_INET6)
|
2002-01-12 13:31:30 +00:00
|
|
|
CFLAGS+=-DINET6
|
|
|
|
.endif
|
|
|
|
|
|
|
|
DPADD= ${LIBWRAP}
|
|
|
|
LDADD= -lwrap
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|