Re: Building OpenOffice.org with GNU make
Kay Ramme <[email protected]> Mon, 07 Dec 2009 14:41:30 +0100
| Newsgroups | gmane.comp.openoffice.devel.tools |
|---|---|
| Message-ID | <[email protected]> |
Hi Stephan,
Stephan Bergmann wrote:
>
> (1) A new file x/z is added to the SCM. A file y/z already exists.
> Will all C/C++ files be recompiled that #include "z" and have -Ix before
> -Iy on their compiler command lines?
Isn't it, that you have a difficult to maintain build approach if you
supply multiple -I anyway? If we can, we should simply avoid it.
>
> (2) A linker switch is added to a makefile variable X in some file y.
> Will all the linker invocations that depend on X, in all the makefiles
> that (indirectly) include y be re-done?
If we have a perfect build system, all switches etc. would be reflected
in a way, that would lead to a re-build.
Meanwhile we may want to avoid this pitfall by simply having one
location for a particular link option and to make the target dependent
on this file.
>
> -Stephan
Kay