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