From: Daniel H. <dhe...@te...> - 2010-01-02 02:37:12
|
On Mon, 28 Dec 2009, Robert Roessler wrote: > I am actually a bit concerned about the whole dependencies > generation/maintenance thing - I found a tool (makedepend) that works on > both Windows and Unix-based systems (even though they have gcc -MM), > but... what happens next? Do we just tell them to add it to the list of > build environment requirements? As it looks like an MIT/BSD license, do > we include it in source form and build it as a prereq? I would recommend against makedepend. A quick search for supporting evidence found this wonderful wikipedia entry. http://en.wikipedia.org/wiki/Makedepend Automake has a much better approach. http://www.gnu.org/software/automake/manual/html_node/Dependency-Tracking.html A couple years ago, I played with converting SBCL's build to use autotools; but I tried to redo everything, did a few things fundamentally wrong, didn't ask for help, and more interesting things caught my fancy... A simpler effort might be able to spit out rules for gcc -MM or depcomp as appropriate. Later, Daniel |