From cb2e5376337475d49880af1d894ab4f92c4439cb Mon Sep 17 00:00:00 2001 From: ru Date: Sun, 7 Apr 2002 14:58:12 +0000 Subject: Fixed the nasty bug where .depend file that exists somewhere in the .PATH (but not in the ${.OBJDIR}) would result in a leak of the ${OBJS}: ${SRCS:M*.h} dependency hint. Spotted by: fixing the broken gnu/usr.bin/cc/cc1obj build MFC after: 1 day --- share/mk/bsd.lib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/mk/bsd.lib.mk') diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 0d75e84..692cb91 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -390,7 +390,7 @@ maninstall: .include -.if !exists(${DEPENDFILE}) +.if !exists(${.OBJDIR}/${DEPENDFILE}) ${OBJS} ${STATICOBJS} ${POBJS} ${SOBJS}: ${SRCS:M*.h} .endif -- cgit v1.1