summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-11-28 20:29:58 +0000
committerwollman <wollman@FreeBSD.org>1995-11-28 20:29:58 +0000
commit27c5ca1e16ce4dc5fa210dae5eb6b2f1cacd6185 (patch)
tree20f22c3c84982408efbc4af63303b2ebe50bc86e /usr.sbin/config/Makefile
parent5ad22f850a19ff8f5e2cb58794c14c206fadd295 (diff)
downloadFreeBSD-src-27c5ca1e16ce4dc5fa210dae5eb6b2f1cacd6185.zip
FreeBSD-src-27c5ca1e16ce4dc5fa210dae5eb6b2f1cacd6185.tar.gz
If CONFIG_NO_CLOBBER_EVER is defined (e.g., in /etc/make.conf), don't make
it possible for config to ever blow away a work directory. Default behavior remains broken.
Diffstat (limited to 'usr.sbin/config/Makefile')
-rw-r--r--usr.sbin/config/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
index 4e4e4f4..36e3d17 100644
--- a/usr.sbin/config/Makefile
+++ b/usr.sbin/config/Makefile
@@ -8,5 +8,8 @@ MAN8= config.8
DPADD= ${LIBL}
LDADD= -ll
CLEANFILES+= config.c lang.c lex.yy.c y.tab.[ch]
+.if defined(CONFIG_NO_CLOBBER_EVER)
+CFLAGS+=-DNO_CLOBBER_EVER
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud