[Top][All Lists]

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

How to find dependencies in non-standard ways?

From: Pontus Lidman
Subject: How to find dependencies in non-standard ways?
Date: 11 May 2001 14:33:35 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)


I'm having a problem with my idl files. Dependencies in them can not
be found automatically by automake it seems. I'd like in some way to
specify to automake how to automatically find dependencies.

The problem is this; by default make will try to process an idl file
foo.idl, and immediatly after compile it. But if foo.idl includes
bar.idl, then the generated and foo.hh will have a dependency
on and bar.hh. So I need the dependency-generating process to
scan foo.idl for include statements, and generate dependencies such as bar.hh

This is easy using the C preprocessor and a sed script, but I don't
know how or where to specify it in my

I'm grateful for any advice or resource pointers.



Pontus Lidman               Email: address@hidden
Nokia Home Communications   Phone: +46 (0)13  4611201
Diskettgatan 11             Fax:   +46 (0)13  4611001
583 35 Linköping, Sweden    

reply via email to

[Prev in Thread] Current Thread [Next in Thread]