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