freebsd-dev/usr.sbin/amd/include/Makefile
Ruslan Ermilov e1fe3dba5c 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)
2006-03-17 18:54:44 +00:00

30 lines
643 B
Makefile

# ex:ts=8
#
# $FreeBSD$
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998.
# Portions derived from amd/libamu/Makefile
# $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $
.include <bsd.own.mk>
SRCS= config_local.h
.if ${MK_NIS} == "no"
SRCS+= localconfig.h
.endif
CLEANFILES= ${SRCS}
all depend: ${SRCS}
config_local.h: newvers.sh
@rm -f ${.TARGET}
sh ${.ALLSRC} ${.CURDIR}/../../../sys/conf/newvers.sh > ${.TARGET}
localconfig.h:
@rm -f ${.TARGET}
@echo "/* NIS disabled by WITHOUT_NIS src.conf option */" >> ${.TARGET}
@echo "#undef HAVE_MAP_NIS" >> ${.TARGET}
.include <bsd.prog.mk>