2002-01-12 14:31:30 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 19:54:44 +01:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
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
|
2002-01-12 14:31:30 +01: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 19:54:44 +01:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2002-01-12 14:31:30 +01:00
|
|
|
CFLAGS+=-DINET6
|
|
|
|
.endif
|
|
|
|
|
|
|
|
DPADD= ${LIBWRAP}
|
|
|
|
LDADD= -lwrap
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|