Upgrade libressl. 1/2
[dragonfly.git] / usr.sbin / tcpdchk / Makefile
1 #
2 # $FreeBSD: src/usr.sbin/tcpdchk/Makefile,v 1.3.2.2 2001/04/25 12:11:00 ru Exp $
3 #
4
5 PROG=   tcpdchk
6 MAN=    tcpdchk.8
7 SRCS=   tcpdchk.c fakelog.c inetcf.c scaffold.c
8 WARNS?= 2
9
10 CFLAGS+=-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)
14 CFLAGS+=-DINET6
15 .endif
16
17 DPADD=  ${LIBWRAP}
18 LDADD=  -lwrap
19
20 # XXX NOSHARED libwrap.a(rfc931.o): multiple definition of 'rfc931_timeout'
21 .if defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" )
22 LDFLAGS+=       -Wl,--allow-multiple-definition
23 .endif
24
25 .PATH:  ${.CURDIR}/../../contrib/tcp_wrappers
26
27 .include <bsd.prog.mk>