Hi all:

    I am planning to write a series of macros/utilities for
dealing with ORB generated files. Each ORB generates a set of
different files from an IDL file. I would like to integrate
automatically the dependencies. The problem is that I cannot
automatically generate makefile rules for the generated files.
For example, what I would like to do is something like this: In
my Makefile.in (or Makefile.am), I would like to put:

IDL_DEPS(anyfile.idl)

i.e.: "generate the dependencies for the IDL file "anyfile.idl".
The files generated depend on each ORB, and can be configure'd,
but I don't know

1. how (or where) to write such a macro that generate a bunch of
rules
2. where to put it, write it as a m4 file, write an independent
utility that modifies Makefile.am (in the last case, what rules
would be the best ones? i.e. should I include new rules under
"all-local" in Makefile.am?

    I am confused.
    Really thanks in advance.
    diego.

-- 
Diego Sevilla Ruiz -- http://www.ditec.um.es/~dsevilla/ -- dsevilla at um dot es

Reply via email to