xref: /dflybsd-src/lib/libwrap/Makefile (revision 0de090e1888cc19a6cad110c2386afcc4b260eb1)
1984263bcSMatthew Dillon# $FreeBSD: src/lib/libwrap/Makefile,v 1.5.2.3 2002/07/22 14:21:50 ru Exp $
2984263bcSMatthew Dillon#
3984263bcSMatthew Dillon
4984263bcSMatthew DillonLIB=	wrap
5f675e8b5SJoerg SonnenbergerSHLIB_MAJOR= 4
6984263bcSMatthew DillonINCS=	tcpd.h
7984263bcSMatthew DillonMAN=	hosts_access.3
8984263bcSMatthew DillonMAN+=	hosts_access.5 hosts_options.5
9a351117dSSascha WildnerWARNS?=	2
10*0de090e1SMatthew DillonNO_STRICT_ALIASING=
11984263bcSMatthew Dillon
12984263bcSMatthew Dillon.PATH:	${.CURDIR}/../../contrib/tcp_wrappers
13984263bcSMatthew Dillon
14984263bcSMatthew DillonCFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
15984263bcSMatthew Dillon	-DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \
16984263bcSMatthew Dillon	-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
17984263bcSMatthew Dillon	-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
18984263bcSMatthew Dillon	-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME
19984263bcSMatthew Dillon.if !defined(NOINET6)
20984263bcSMatthew DillonCFLAGS+=-DINET6
21984263bcSMatthew Dillon.endif
22984263bcSMatthew Dillon
2370c81b43SSepherosa ZiehauSRCS+=	clean_exit.c diag.c eval.c fix_options.c hosts_access.c	\
2470c81b43SSepherosa Ziehau	hosts_ctl.c misc.c options.c percent_m.c percent_x.c	\
2570c81b43SSepherosa Ziehau	refuse.c rfc931.c shell_cmd.c socket.c update.c libvars.c
26984263bcSMatthew Dillon
27984263bcSMatthew Dillon.include <bsd.lib.mk>
28