[Omake] Compiling Ada code
Dirk Heinrichs
dirk.heinrichs at online.de
Tue Oct 24 10:46:21 PDT 2006
Am Freitag, 20. Oktober 2006 20:44 schrieb Dirk Heinrichs:
> Indeed, this works on source files. Wasn't aware of this. A post processing
> perl script to print out a make rule was written in a few minutes.
>
> Now I try to put this into my OMakefiles.
OK, I've put together a simple, (semi-) self learning build system using
omake. In it's current form it can build binaries and shared libs from Ada
and/or C/C++ source files, compiled with gcc/gnat.
The makefiles make assumptions about the directory structure of the build:
sources for shared libraries are located in subdirs of libraries/ and sources
for programs in subdirs of programs/, the name of the subdir defines the name
of the lib (lib<dirname>.so) or program. All source files located in one
subdir are compiled with the correct compiler and linked together (no need to
specify a list of sources anywhere).
This means that the only information the user needs to provide is which
libraries are needed by a given lib or program. This is done by filling in
the DEPEND and OSDEPEND variables in an optional "BuildInfo.om" file in each
subdir.
If anybody is interested in those makefiles, just tell me wether I can post
them here or upload them somewhere.
Bye...
Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.metaprl.org/pipermail/omake/attachments/20061024/01b9c0e8/attachment.bin
More information about the Omake
mailing list