Hi,
In my project, I have a bunch of .idl files. IDL means Interface
Definition Language. It's used by a TAO compiler to generate C++
source files which can be used by C++ applications to talk to one
another using CORBA. I have a bunch of old Makefiles that compile all
of the .idl files and generate the .C, .h and .i files and lastly
compile the resulting C++ source files. But now the development of the
project is going into the direction of using Autotools in order to be
able to compile the entire source tree.
I've gotten to the point where I can compile the individual .idl
files, generate the C++ source and then compile the C++ source files
into .a files. This works fine. However, there is a problem. The .idl
files and the generated source files need to be pre-arranged in a
particular order so that the resulting C++ source files are not
created in such a manner where foo.idl depends on bar.idl and
foo.idl's C++ source files are generated first, then compiled by the C+
+ compiler and then exit with an error saying that fooClient.h does
not exist.
Essentially I would like to be able to go into a directory where
there are IDL files, compile all of them into C++ source files before
proceeding further using only Autotools. But, I have no idea how to
even go about it after much head-scratching

.
--ysg