On Mon, 2011-09-05 at 12:38 +0100, Michael Meeks wrote:
I attach an updated cleanup.pl - that leaves the dummy rules, but
removes duplicates in them
Hmm, these dependencies and the pseudo-rules are initially spit out by
gcc's -MP so...
a) I'd have expected gcc to list each dependency only once in the first
place per .c/.cxx file anyway.
b) And then I'd have expected it to then only emit one dummy rule per
dependency for those.
Looking at
workdir/unxlngx6/Dep/CxxObject/sc/source/filter/excel/xepage.d I see
that for path/to/CxxObject/sc/source/filter/excel/xepage.o there is
already core/sc/inc/scdllapi.h listed twice as a dependency for
sc/source/filter/excel/xepage.o and correspondingly two pseudo rules for
scdllapi.h
Each pseudo-rule I *assume* is spat out by gcc on a one-to-one basis for
each dependency. So I wonder why gcc for e.g. xepage lists scdllapi.h
twice ?
When we combine them together into the final library .d then we'd still
need dup-removal between the various constituent .d files alright.
C.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.