xref: /dflybsd-src/usr.sbin/tcpdchk/Makefile (revision 34a829419734fdea3a787aa059c39f1271ed862f)
1984263bcSMatthew Dillon#
2984263bcSMatthew Dillon# $FreeBSD: src/usr.sbin/tcpdchk/Makefile,v 1.3.2.2 2001/04/25 12:11:00 ru Exp $
3984263bcSMatthew Dillon#
4984263bcSMatthew Dillon
5984263bcSMatthew DillonPROG=	tcpdchk
6984263bcSMatthew DillonMAN=	tcpdchk.8
7984263bcSMatthew DillonSRCS=	tcpdchk.c fakelog.c inetcf.c scaffold.c
8ae9447bdSSascha WildnerWARNS?=	2
9984263bcSMatthew Dillon
10476c0f69SzrjCFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
11984263bcSMatthew Dillon	-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
12984263bcSMatthew Dillon	-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
13984263bcSMatthew Dillon.if !defined(NOINET6)
14984263bcSMatthew DillonCFLAGS+=-DINET6
15984263bcSMatthew Dillon.endif
16984263bcSMatthew Dillon
17984263bcSMatthew DillonDPADD=	${LIBWRAP}
18984263bcSMatthew DillonLDADD=	-lwrap
19984263bcSMatthew Dillon
20*34a82941Szrj# XXX NOSHARED libwrap.a(rfc931.o): multiple definition of 'rfc931_timeout'
21*34a82941Szrj.if defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" )
22*34a82941SzrjLDFLAGS+=	-Wl,--allow-multiple-definition
23*34a82941Szrj.endif
24*34a82941Szrj
25984263bcSMatthew Dillon.PATH:	${.CURDIR}/../../contrib/tcp_wrappers
26984263bcSMatthew Dillon
27984263bcSMatthew Dillon.include <bsd.prog.mk>
28