Previous Next
Using SNiFF+'s Make Support for compiling IDL files

What makes IDL files so unique?
It is not possible to create a simple implicit rule in Make to create target files (source and object) out of IDL files (of the type
*.idl ). This is because an IDL compiler has three types of source targets: *C.cc , *S.cc and *.hh .
Files of the type *C.cc are client files, and files of the type *S.cc are server files. Files of the type *.hh are header files. There is one set of header files for both client and server files. In addition to source targets, IDL compilers also have object targets of the type *C.o and *S.o .
IDL file types
The source targets of the IDL compiler are derived files. Derived files are associated with SNiFF+ file types that are automatically added to and removed from projects. (The Add/Remove Automatically attribute of these file types is set to TRUE.)
The following table lists the file types that are associated with IDL derived files:

IDL derived file Derived file type
*C.cc IDL Client Implementation
*S.cc IDL Server Implementation
*C.o IDL Client Object
*S.o IDL Server Object
*.hh IDL Header

Previous Next