From 7f31c8aab5e2b0b2a39f2211441f862dda053140 Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 18 Oct 1997 06:42:25 +0000 Subject: [PATCH] enable WARNS=1 by default, but disable in unclean 3rd party code --- Makefile.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index eda9afc..7b496e8 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.6 1997/10/17 10:38:21 lukem Exp $ +# $NetBSD: Makefile.inc,v 1.7 1997/10/18 06:42:52 lukem Exp $ LIBCOMMON != cd ${.CURDIR}/../common;\ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f- @@ -6,4 +6,6 @@ CFLAGS+=-I${.CURDIR}/../common DPADD+= ${LIBKVM} ${LIBCOMMON}/libcommon.a LDADD+= -lkvm -L${LIBCOMMON} -lcommon -.include "../Makefile.inc" +.if exists(${.CURDIR}/../../Makefile.inc) +.include "${.CURDIR}/../../Makefile.inc" +.endif