[gs-devel] Re: [Gs-code-review] Fixing up gsmake.tcl check problems

L. Peter Deutsch ghost at aladdin.com
Mon Apr 1 14:54:53 PST 2002


Mike,

> We use the following rule along with an include for many of the OSS
> programs we maintain:
> 
>      makedepend -Y [local include flags] -f Dependencies [source files]

Thanks for your suggestion, but this is an excellent example of an approach
that I consider NOT acceptable.  makedepend has to be run manually, and
produces a dependency file that is tied to a specific state of the makefiles
(so is, for example, useless if the recipient wants to change any of the
build options like COMPILE_INITS).  On top of that, I tried running
	makedepend src/*.[ch] >& t.log
and it said:
	src/zvmem2.c: error:  out of space: increase MAXFILES

So not only would any end user who wants to modify the configuration options
or add or remove any #includes have to acquire and manually run makedepend,
they would have to edit its source and compile a non-standard version of it.

-- 

L. Peter Deutsch     |    Aladdin Enterprises   |  203 Santa Margarita Ave.
ghost at aladdin.com    |  http://www.aladdin.com  |  Menlo Park, CA 94025

	The future of software is at http://www.opensource.org



More information about the gs-devel mailing list