diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-03-17 18:54:44 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-03-17 18:54:44 +0000 |
commit | e1fe3dba5ce2826061f6489765be9b4a341736a9 (patch) | |
tree | 801e953598fc63a37f62cf997017301675552fe9 /usr.sbin/amd/Makefile.inc | |
parent | 23801379f0e7cdddcb057ea05fe79b340a01dbf5 (diff) | |
download | src-e1fe3dba5ce2826061f6489765be9b4a341736a9.tar.gz src-e1fe3dba5ce2826061f6489765be9b4a341736a9.zip |
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Notes
Notes:
svn path=/head/; revision=156813
Diffstat (limited to 'usr.sbin/amd/Makefile.inc')
-rw-r--r-- | usr.sbin/amd/Makefile.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/amd/Makefile.inc b/usr.sbin/amd/Makefile.inc index d4d21f7599ae..afb287fdaddf 100644 --- a/usr.sbin/amd/Makefile.inc +++ b/usr.sbin/amd/Makefile.inc @@ -9,6 +9,8 @@ # Portions derived from amd/libamu/Makefile # $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $ +.include <bsd.own.mk> + CFLAGS+= -I. -I${.CURDIR} CFLAGS+= -I${.CURDIR}/../include .if exists(${.OBJDIR}/../include) @@ -17,11 +19,11 @@ CFLAGS+= -I${.OBJDIR}/../include CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include CFLAGS+= -I${.CURDIR}/../../../contrib/amd CFLAGS+= -DHAVE_CONFIG_H -.if defined(NO_NIS) +.if ${MK_NIS} == "no" CFLAGS+= -DHAVE_LOCALCONFIG_H .endif -.if defined(YES_HESIOD) +.if ${MK_HESIOD_SUPPORT} != "no" CFLAGS+= -DYES_HESIOD .endif |