1998-08-27 08:09:42 +00:00
|
|
|
# ex:ts=8
|
|
|
|
#
|
1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1998-08-27 08:09:42 +00:00
|
|
|
#
|
|
|
|
# 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 $
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2001-09-02 20:37:36 +00:00
|
|
|
SRCS= config_local.h
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_NIS} == "no"
|
2004-11-13 20:40:32 +00:00
|
|
|
SRCS+= localconfig.h
|
|
|
|
.endif
|
2001-03-21 10:56:29 +00:00
|
|
|
CLEANFILES= ${SRCS}
|
|
|
|
|
2002-04-11 12:30:20 +00:00
|
|
|
all depend: ${SRCS}
|
2001-07-19 19:04:31 +00:00
|
|
|
|
2001-03-21 10:56:29 +00:00
|
|
|
config_local.h: newvers.sh
|
|
|
|
@rm -f ${.TARGET}
|
2001-09-06 17:52:59 +00:00
|
|
|
sh ${.ALLSRC} ${.CURDIR}/../../../sys/conf/newvers.sh > ${.TARGET}
|
2001-03-21 10:56:29 +00:00
|
|
|
|
2004-11-13 20:40:32 +00:00
|
|
|
localconfig.h:
|
|
|
|
@rm -f ${.TARGET}
|
2006-03-17 18:54:44 +00:00
|
|
|
@echo "/* NIS disabled by WITHOUT_NIS src.conf option */" >> ${.TARGET}
|
2004-11-13 20:40:32 +00:00
|
|
|
@echo "#undef HAVE_MAP_NIS" >> ${.TARGET}
|
|
|
|
|
1998-08-27 08:09:42 +00:00
|
|
|
.include <bsd.prog.mk>
|