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