Re: CORBA_SOURCE patch - source dependencies



Hi Rodrigo,

On 3 Aug 2001, Rodrigo Moya wrote:
> Here's a patch that builds the CORBA generated files before the other
> sources, since if not, the GNOME 1.x Bonobo.h file is used in a clean
> compile

        Yes - that's fine; it's not the real solution though, make -j 8
will still be totaly broken here; we need to express the dependency
properly.

> I've also had problems with bonobo-marshal.[ch], and I had to manually
> run 'make bonobo-marshal.[ch]' to have the files created before
> compiling.

        Hmm, that sucks too.

        I tried telling make that all these C files depended on these
built C files with a rule somewhat like:

$(libbonobo_src) : $(marshal_sources) $(CORBA_SOURCE)

        And this seemed to work just fine - problem is it broke make
distcheck in a _totaly_ wierd way, that I have no understanding of
whatsoever - and a prolongued session with make -d didn't help me either.

        If there are any make / automake gurus listening, your help would
be much appreciated.

        Regards,

                Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]