xref: /dragonfly/usr.sbin/tcpdchk/Makefile (revision 34a82941)
1#
2# $FreeBSD: src/usr.sbin/tcpdchk/Makefile,v 1.3.2.2 2001/04/25 12:11:00 ru Exp $
3#
4
5PROG=	tcpdchk
6MAN=	tcpdchk.8
7SRCS=	tcpdchk.c fakelog.c inetcf.c scaffold.c
8WARNS?=	2
9
10CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
11	-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
12	-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
13.if !defined(NOINET6)
14CFLAGS+=-DINET6
15.endif
16
17DPADD=	${LIBWRAP}
18LDADD=	-lwrap
19
20# XXX NOSHARED libwrap.a(rfc931.o): multiple definition of 'rfc931_timeout'
21.if defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" )
22LDFLAGS+=	-Wl,--allow-multiple-definition
23.endif
24
25.PATH:	${.CURDIR}/../../contrib/tcp_wrappers
26
27.include <bsd.prog.mk>
28