[gtkada] improvements to the GtkAda build system

Björn Persson bjorn at xn--rombobjrn-67a.se
Mon Mar 7 22:38:32 CET 2011


Arnaud Charlet wrote:
> > OK. How about these?
> > · Add the Debuginfo build type, to build production libraries but include
> > debugging information.
> > · Link sublibraries to the main library.
> > · Add an option to disable building of static libraries.
> > · Improve the configuration help text to clarify what --enable-shared
> > does.
> 
> A bit terse compared to GNU coding standard (whcih requires listing files
> and functions/variables modified), and in addition, we want to
> explain the "why" in these changelogs as per GtkAda/AdaCore coding
> standard.

I've read up on the GNU standard for changelogs. Here's an attempt to follow 
that format.

For the linking patch:
* Makefile.in, gnome/Makefile.in, opengl/Makefile.in (make, GTKADA_LIBS):
Link sublibraries to the main library because they depend on it.

For the disable-static patch:
* aclocal.m4 (configure, BUILD_STATIC):
Add the options --enable-static and --disable-static to allow building only 
shared libraries.
* Makefile.common.in, Makefile.in (make, make install):
Build and install static libraries only if BUILD_STATIC is "yes".

For the help patch:
* aclocal.m4 (configure --help):
Improve the help text to clarify what --enable-shared does.

> > "Build shared libraries if supported on the target and make them
> > preselected
> > in project files. (By default static libraries are preselected when both
> > kinds
> > are built.)"
> 
> Looks OK to me.

A new patch with that text is attached.

Björn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: GtkAda-trunk-help2.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20110307/3efa58e9/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : /pipermail/gtkada/attachments/20110307/3efa58e9/attachment.pgp 


More information about the gtkada mailing list