MFC: 1.5:
[dragonfly.git] / lib / libwrap / Makefile
blobba380eb20934b73878ecdcea8974b45a5513dd70
2 # $FreeBSD: src/lib/libwrap/Makefile,v 1.5.2.3 2002/07/22 14:21:50 ru Exp $
3 # $DragonFly: src/lib/libwrap/Makefile,v 1.5 2005/09/24 02:50:47 sephe Exp $
6 LIB= wrap
7 SHLIB_MAJOR= 4
8 INCS= tcpd.h
9 MAN= hosts_access.3
10 MAN+= hosts_access.5 hosts_options.5
12 .PATH: ${.CURDIR}/../../contrib/tcp_wrappers
14 CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
15 -DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \
16 -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
17 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
18 -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME
19 .if !defined(NOINET6)
20 CFLAGS+=-DINET6
21 .endif
23 SRCS+= clean_exit.c diag.c eval.c fix_options.c hosts_access.c \
24 hosts_ctl.c misc.c options.c percent_m.c percent_x.c \
25 refuse.c rfc931.c shell_cmd.c socket.c update.c libvars.c
27 .include <bsd.lib.mk>