Hello,
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 foo.cc and foo.hh will have a dependency
on bar.cc and bar.hh. So I need the dependency-generating process to
scan foo.idl for include statements, and generate dependencies such as
foo.cc: 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 Makefile.am.
I'm grateful for any advice or resource pointers.
Regards,
Pontus
--
Pontus Lidman Email: [EMAIL PROTECTED]
Nokia Home Communications Phone: +46 (0)13 4611201
Diskettgatan 11 Fax: +46 (0)13 4611001
583 35 Linköping, Sweden