Skip site navigation (1)Skip section navigation (2)
Date:      05 Dec 1998 11:16:36 -0500
From:      "Robert V. Baron" <rvb@cs.cmu.edu>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Mike Smith <mike@smith.net.au>, Greg Lehey <grog@lemis.com>, Warner Losh <imp@village.org>, Steve Kargl <sgk@troutmask.apl.washington.edu>, "Robert V. Baron" <rvb@cs.cmu.edu>, wollman@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: Requiring make depend (was: cvs commit: src/sys/sys bus.h bus_private.h conf.h devicestat.h module.h src/sys/kern bus_if.m device_if.m kern_con)
Message-ID:  <yzsww46ftsr.fsf@sicily.odyssey.cs.cmu.edu>
In-Reply-To: "Jordan K. Hubbard"'s message of Fri, 04 Dec 1998 20:33:57 -0800
References:  <3033.912832437@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I hate to find work for you ...

"Jordan K. Hubbard" <jkh@zippy.cdrom.com> writes:

> Were I to find myself feeling exceedingly bored one day, bored enough
> to take on a controversial topic for no particularly good reason, I'd

But here's the plan.  Suppose you do an -MD the first time when you
compile the files.  This will generate <foo>.d files for every file
run thru cpp.  If you rolled all these files into a .depend file,
you'd have a .depend file generated in real time (and with all the
right flags handed to every compilation -- sometimes a problem).  Now
you might want to post process the <foo>.d files a bit to remove
absolute paths and ... (call this program md.)
So now you go and make again and it needs to recompile something.  You
get new <foo>.d files and you run md again to merge the current .d
files into the .depend.
Suppose you abort (^C) the compilation ... the md processing must get
done so hang it as a dependency on .EXIT:

And you can make depend no more ...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yzsww46ftsr.fsf>