1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1999-03-14 18:02:14 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
|
1999-03-14 18:02:14 +00:00
|
|
|
|
|
|
|
PROG= tcpdchk
|
2001-03-26 14:42:20 +00:00
|
|
|
MAN= tcpdchk.8
|
1999-03-14 18:02:14 +00:00
|
|
|
SRCS= tcpdchk.c fakelog.c inetcf.c scaffold.c
|
|
|
|
|
2001-08-04 21:48:18 +00:00
|
|
|
CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
|
2003-07-24 19:58:56 +00:00
|
|
|
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DPROCESS_OPTIONS \
|
1999-03-14 18:02:14 +00:00
|
|
|
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2000-07-14 17:15:34 +00:00
|
|
|
CFLAGS+=-DINET6
|
|
|
|
.endif
|
1999-03-14 18:02:14 +00:00
|
|
|
|
|
|
|
DPADD= ${LIBWRAP}
|
|
|
|
LDADD= -lwrap
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|