2002-05-24 09:38:19 +04:00
|
|
|
# $NetBSD: Makefile.cflags,v 1.7 2002/05/24 05:38:20 itojun Exp $
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1997-01-11 04:50:56 +03:00
|
|
|
|
1997-10-23 07:31:09 +04:00
|
|
|
CPPFLAGS+=-DFACILITY=LOG_AUTHPRIV -DSEVERITY=LOG_INFO
|
|
|
|
CPPFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS -DDAEMON_UMASK=022
|
2002-05-24 09:38:19 +04:00
|
|
|
CPPFLAGS+=-DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME
|
1997-10-23 07:31:09 +04:00
|
|
|
CPPFLAGS+=-DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHOSTS_DENY=\"/etc/hosts.deny\"
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
CPPFLAGS+=-DPROCESS_OPTIONS
|
1997-01-20 09:22:05 +03:00
|
|
|
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
.if (${USE_YP} != "no")
|
|
|
|
CPPFLAGS+=-DNETGROUP
|
|
|
|
.endif
|
|
|
|
|
1997-01-20 09:22:05 +03:00
|
|
|
# -DPARANOID is not used by libwrap, only by programs that use it.
|
|
|
|
# in this case inetd does not use it (probably rightly so) and so
|
|
|
|
# we don't want to use it in wrapper-related utilities (such as
|
|
|
|
# tcpdmatch) that include this file.
|
1997-10-23 07:31:09 +04:00
|
|
|
#CPPFLAGS+=-DPARANOID
|
1999-08-31 17:58:58 +04:00
|
|
|
|
|
|
|
# IPv6
|
|
|
|
CPPFLAGS+=-DINET6
|