Re: Make-depend

From: Matthew D. Langston (langston@SLAC.stanford.edu)
Date: Fri Jul 09 1999 - 18:27:42 MEST


Fons Rademakers wrote:
> 
> the provided Make-depend is just a place holder. When building ROOT
> via the Makefile you will always have to do:
> 
> make depend
> make
> 
> There is no way we can generalize Make-depend because, e.g. OpenGL,
> can be in a different place on each system.

It sounds like you are trying to service two different groups of users:
those who want to develop ROOT and those who just want to compile ROOT
once and use it.

Your user's who are ROOT developers will want to depend on OpenGL, the
FreeType headers, etc. as you suggest.  These users will more than
likely want to depend on such external dependencies, so providing the
"make depend" target for them is helpful.

However, those users who just need to compile ROOT once don't need to
depend on external packages.  For these users, may I suggest that the
`Make-depend' file only include dependencies internal to ROOT, and not
to system or third party packages.  I would like to suggest that these
users should never have to use "make depend", as there is no point to it
and it is just one more thing that could go wrong (or be forgotten).  A
simple, single "make" should suffice, so having the dependencies listed
in `Make-depend' and distributed with the source as a supported file (as
opposed to a place holder) is quite valuable.

--
Matthew D. Langston
SLD, Stanford Linear Accelerator Center
langston@SLAC.Stanford.EDU



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET