Makefile revision 201381
128219Smsmith#
242475Snsouch# $FreeBSD: head/lib/libwrap/Makefile 201381 2010-01-02 09:58:07Z ed $
328219Smsmith#
428219Smsmith
528219Smsmith.include <bsd.own.mk>
628219Smsmith
728219SmsmithLIB=	wrap
828219SmsmithSHLIB_MAJOR= 6
928219SmsmithINCS=	tcpd.h
1028219SmsmithMAN=	hosts_access.3
1128219SmsmithMAN+=	hosts_access.5 hosts_options.5
1228219SmsmithMLINKS=	hosts_access.3 hosts_ctl.3 \
1328219Smsmith	hosts_access.3 request_init.3 \
1428219Smsmith	hosts_access.3 request_set.3 \
1528219Smsmith	hosts_options.5 hosts.allow.5
1628219Smsmith
1728219Smsmith.PATH:	${.CURDIR}/../../contrib/tcp_wrappers
1828219Smsmith
1928219SmsmithCFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
2028219Smsmith	-DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \
2128219Smsmith	-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
2228219Smsmith	-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
2328219Smsmith	-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS
2428219Smsmith.if ${MK_NIS} == "no"
2528219SmsmithCFLAGS+= -DUSE_GETDOMAIN
2628219Smsmith.endif
2728219Smsmith.if ${MK_INET6_SUPPORT} != "no"
28119418SobrienCFLAGS+=-DINET6
29119418Sobrien.endif
30119418Sobrien
3155939SnsouchWARNS?=	0
3255939Snsouch
3328219SmsmithSRCS=	clean_exit.c diag.c eval.c fix_options.c fromhost.c \
3428219Smsmith	hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \
3555939Snsouch	percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \
3655939Snsouch	socket.c tli.c update.c workarounds.c libvars.c
3755939Snsouch
3828219Smsmith.include <bsd.lib.mk>
39175222Sjhb