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