xref: /netbsd/lib/libwrap/Makefile.cflags (revision bf9ec67e)
1#	$NetBSD: Makefile.cflags,v 1.7 2002/05/24 05:38:20 itojun Exp $
2
3.include <bsd.own.mk>
4
5CPPFLAGS+=-DFACILITY=LOG_AUTHPRIV -DSEVERITY=LOG_INFO
6CPPFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS -DDAEMON_UMASK=022
7CPPFLAGS+=-DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME
8CPPFLAGS+=-DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHOSTS_DENY=\"/etc/hosts.deny\"
9CPPFLAGS+=-DPROCESS_OPTIONS
10
11.if (${USE_YP} != "no")
12CPPFLAGS+=-DNETGROUP
13.endif
14
15# -DPARANOID is not used by libwrap, only by programs that use it.
16# in this case inetd does not use it (probably rightly so) and so
17# we don't want to use it in wrapper-related utilities (such as
18# tcpdmatch) that include this file.
19#CPPFLAGS+=-DPARANOID
20
21# IPv6
22CPPFLAGS+=-DINET6
23