diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2004-11-13 20:40:32 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2004-11-13 20:40:32 +0000 |
| commit | 6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001 (patch) | |
| tree | da33d2aed5fb6a0c2319fb0d10f0957f518eee99 /usr.sbin/amd/include/Makefile | |
| parent | 70502bea852fbe21d2d1edc4a67e976adf7f96dd (diff) | |
Notes
Diffstat (limited to 'usr.sbin/amd/include/Makefile')
| -rw-r--r-- | usr.sbin/amd/include/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/amd/include/Makefile b/usr.sbin/amd/include/Makefile index d3cf00021203f..7fa54aefe69af 100644 --- a/usr.sbin/amd/include/Makefile +++ b/usr.sbin/amd/include/Makefile @@ -8,6 +8,9 @@ # $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $ SRCS= config_local.h +.if defined(NO_NIS) +SRCS+= localconfig.h +.endif CLEANFILES= ${SRCS} all depend: ${SRCS} @@ -16,4 +19,9 @@ 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 NO_NIS make.conf option */" >> ${.TARGET} + @echo "#undef HAVE_MAP_NIS" >> ${.TARGET} + .include <bsd.prog.mk> |
