[Geneticd-devel] Brand new configuration system
Status: Alpha
Brought to you by:
jonnymind
|
From: Giancarlo N. <gi...@ni...> - 2002-01-12 19:59:26
|
I re-engeneerized the whole tree of geneticdaemon, and create a configure.in / makefile.in script system that I developed on my own. The scripts are self-configurable and should be able to compile geneticd in a whole lot of linux systems. I left behind some exothic check, that I'll add at a later stage (or that can be added by other developeres, if you will); the important thing is that make, make clean, make dist and make install will work well. I used only autoconf -- the distribution does not need it, it is used only to create a workable configure scripts shipped with CVS and .tgz distro -- and I written the makefiles by myself (no automake needed). Makefiles uses a root Rules.make, and are highly configurables with a minimum effor. Is not like having an automake script, but it is far more flexible, and it's often just a matter of copying a Makefile.in script from a parent or brother directory. The options used in my Makefiles are various and powerful; I had to turn a bounch of .o coming from geneUtils subdirectory into a .so library file, and with a couple of variables in the configure.in and geneUtils/makefile.in, the whole thing have been done. You'll find some direction on how to use this model in the TECHNICAL document, in the new developer section. There is a good news and a bad news about the system. The good news is that now gd_plugin can live inside the genetic daemon directory. I re-created the source tree, so to arrange better directory names and dynamic libraries boundles, and to be able to ship plugins with the source code. The bad news is that you can throw away your whole CVS archive. I requested a CVS cleaning to Source Forge. At soon as our CVS will be cleaned, I'll put the new tree under geneticd/ cvs directory, and our distributions will be called geneticd-VERSION, starting from version 0.2 As soon as I'll be able to create the new CVS archive, I'll let you know. If you have developed some new source in the while, don't use CVS; send it directly to me, and I'll integrate it manually. Best regards, Giancarlo Niccolai |