CVS update: samba/source
Andrew Bartlett
abartlet at pcug.org.au
Fri Dec 7 08:11:52 EST 2001
Herb Lewis wrote:
>
> Jean Francois Micouleau wrote:
> >
> > On Thu, 6 Dec 2001, Herb Lewis wrote:
> >
> > > WE NEED TO FIND A SOLUTION TO THIS!!! I have tried twice to fix this
> > > in different places and each time, someone reverts this. What is the
> > > intent of .headers.stamp???? If things are dependent on proto.h
> > > then they should be getting rebuilt!!!
> >
> > yes I agree. but when only 2 files are dependent on proto.h should the
> > whole tree be rebuild ?
> >
>
> Why do you say only 2 files are dependent? If a prototype changes
> then every file that uses that function needs to be compiled.
Samba doesn't have proper dependencies. Apparently this is a feature -
becouse we (apparently) don't want a 'make proto' to also force an
effective 'make clean'.
The problem is that all the prototypes are kept in one file - so a
change to any one function definition would cause a full Samba rebuild
(becouse *any* Samba module could have used it).
In any case this is how it is. I'm all in favor of a proper build
dependency system, if sombody cares to code it up.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-cvs
mailing list