From 95be56d2e12a361d678901eec9d2232a5fe7053d Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 11 Jun 2001 17:50:34 +0000 Subject: [PATCH] Only include dependency on include-dirs if the include directory doesn't exist. --- sys/arch/arm/conf/Makefile.arm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm/conf/Makefile.arm b/sys/arch/arm/conf/Makefile.arm index 97c3cd05ca0d..7a60f19435f7 100644 --- a/sys/arch/arm/conf/Makefile.arm +++ b/sys/arch/arm/conf/Makefile.arm @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.arm,v 1.1 2001/06/11 17:44:38 matt Exp $ +# $NetBSD: Makefile.arm,v 1.2 2001/06/11 17:50:34 matt Exp $ # Makefile for NetBSD # @@ -187,6 +187,7 @@ depend: .depend dependall: depend all +.if !exists(include) ${OBJS} assym.h .depend: include-dir include-dir: @rm -rf include @@ -198,6 +199,7 @@ include-dir: @ln -s $S/arch/${TARGET_MACHINE}/include include/arm/${TARGET_MACHINE} @ln -s $S/arch/arm/include include/machine .endif +.endif # depend on root or device configuration autoconf.o conf.o: Makefile