1# 2# $FreeBSD$ 3# 4 5.include <src.opts.mk> 6 7CONFS= hosts.allow 8PACKAGE=lib${LIB} 9LIB= wrap 10SHLIB_MAJOR= 6 11INCS= tcpd.h 12MAN= hosts_access.3 13MAN+= hosts_access.5 hosts_options.5 14MLINKS= hosts_access.3 hosts_ctl.3 \ 15 hosts_access.3 request_init.3 \ 16 hosts_access.3 request_set.3 \ 17 hosts_options.5 hosts.allow.5 18 19.PATH: ${SRCTOP}/contrib/tcp_wrappers 20 21CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \ 22 -DREAL_DAEMON_DIR=\"${LIBEXECDIR}\" -DPROCESS_OPTIONS \ 23 -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \ 24 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \ 25 -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS 26.if ${MK_NIS} == "no" 27CFLAGS+= -DUSE_GETDOMAIN 28.endif 29.if ${MK_INET6_SUPPORT} != "no" 30CFLAGS+=-DINET6 31.endif 32 33WARNS?= 0 34 35SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \ 36 hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \ 37 percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \ 38 socket.c tli.c update.c workarounds.c libvars.c 39 40.include <bsd.lib.mk> 41