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