From f5b1598c2a9bf16097094c03d4b1b945718631ee Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 5 Mar 2013 21:57:47 +0000 Subject: [PATCH] Conditionally include the depend files. --- usr.bin/mkdep/mkdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/mkdep/mkdep.c b/usr.bin/mkdep/mkdep.c index 9dc9cc19b941..37751c2ffd11 100644 --- a/usr.bin/mkdep/mkdep.c +++ b/usr.bin/mkdep/mkdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: mkdep.c,v 1.42 2013/03/05 01:59:56 christos Exp $ */ +/* $NetBSD: mkdep.c,v 1.43 2013/03/05 21:57:47 christos Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ #if !defined(lint) __COPYRIGHT("@(#) Copyright (c) 1999 The NetBSD Foundation, Inc.\ All rights reserved."); -__RCSID("$NetBSD: mkdep.c,v 1.42 2013/03/05 01:59:56 christos Exp $"); +__RCSID("$NetBSD: mkdep.c,v 1.43 2013/03/05 21:57:47 christos Exp $"); #endif /* not lint */ #include @@ -328,7 +328,7 @@ main(int argc, char **argv) } else fname = *argv++; if (iflag) { - if (dprintf(dependfile, ".include \"%s\"\n", + if (dprintf(dependfile, ".-include \"%s\"\n", fname) < 0) goto wrerror; continue;