144746Smarkm#
250476Speter# $FreeBSD$
344746Smarkm#
444746Smarkm
5156813Sru.include <bsd.own.mk>
6156813Sru
744746SmarkmLIB=	wrap
8195767SkensmithSHLIB_MAJOR= 6
996462SruINCS=	tcpd.h
1074870SruMAN=	hosts_access.3
1174870SruMAN+=	hosts_access.5 hosts_options.5
12166856Sn_hibmaMLINKS=	hosts_access.3 hosts_ctl.3 \
13166856Sn_hibma	hosts_access.3 request_init.3 \
14166856Sn_hibma	hosts_access.3 request_set.3 \
15167074Sru	hosts_options.5 hosts.allow.5
1644746Smarkm
1744746Smarkm.PATH:	${.CURDIR}/../../contrib/tcp_wrappers
1844746Smarkm
1944746SmarkmCFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
2044746Smarkm	-DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \
2144746Smarkm	-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
2244746Smarkm	-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
23117980Smarkm	-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS
24156813Sru.if ${MK_NIS} == "no"
25137675SbzCFLAGS+= -DUSE_GETDOMAIN
26137675Sbz.endif
27156813Sru.if ${MK_INET6_SUPPORT} != "no"
2859266SsteveCFLAGS+=-DINET6
2959266Ssteve.endif
3044746Smarkm
31201381SedWARNS?=	0
32201381Sed
3344746SmarkmSRCS=	clean_exit.c diag.c eval.c fix_options.c fromhost.c \
3444746Smarkm	hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \
3544746Smarkm	percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \
3645255Sache	socket.c tli.c update.c workarounds.c libvars.c
3744746Smarkm
3844746Smarkm.include <bsd.lib.mk>
39