Commit Graph

10 Commits

Author SHA1 Message Date
Pascal Obry
d214ac70ea Rework the XMLAda build and install procedure.
An aggregate project is now used to build XMLAda. The builder is now
gprbuild and the installation is conducted by gprinstall. This has
permitted a large clean-up of the makefile.

For N403-037.

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@232625 936e1b1b-40f2-da11-902a-00137254ae57
2014-09-24 07:47:03 +00:00
Emmanuel Briot
101d8168bc Build with gprbuild, since 'gnatmake -P' is being phased out.
N715-032

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@230603 936e1b1b-40f2-da11-902a-00137254ae57
2014-07-17 09:03:15 +00:00
Emmanuel Briot
4069ed6cee New configure option --enable-build
This is for consistency with GtkAda and GPS, and enables one to
chose the build mode at configure time rather than through environment
variables.
Use pragma Initialize_Scalars when in Debug mode, also for consistency.

N324-002

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@224970 936e1b1b-40f2-da11-902a-00137254ae57
2014-03-24 09:32:59 +00:00
Pascal Obry
c6c892ffc9 Fix cross-compilation from GNU/Linux to Windows.
The installation process was using host configs where target configs
were expected.

For LA09-002.

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@196321 936e1b1b-40f2-da11-902a-00137254ae57
2012-10-09 16:40:01 +00:00
Emmanuel Briot
a284c6e02f Fix suffix for shared libraries on darwin and Windows (we were
hard-coding .so)

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@192267 936e1b1b-40f2-da11-902a-00137254ae57
2012-07-13 13:48:54 +00:00
Emmanuel Briot
afcdacc8df Partial revert of previous changes: we only use "relocatable" libs as
default if the user specified "--enable-shared".
For K704-030, K831-037.
As discussed in H505-007

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@178160 936e1b1b-40f2-da11-902a-00137254ae57
2011-09-05 10:37:51 +00:00
Emmanuel Briot
78e279e26b When using --disable-shared, the default library type must be static
K704-030

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@177922 936e1b1b-40f2-da11-902a-00137254ae57
2011-08-30 12:01:12 +00:00
Emmanuel Briot
2c3318f331 Change the default LIBRARY_TYPE in shared.gpr
Fixes failures in ppc-aix testsuite, since one of the testsuite does not
 specify the kind of library to use, and defaults to relocatable, which is
 not supported on the platform.
K704-030

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@177920 936e1b1b-40f2-da11-902a-00137254ae57
2011-08-30 11:16:28 +00:00
Emmanuel Briot
d9c04f1ff4 Change compilation with cross-compilers: the --target argument now needs
to be given to configure (for proper detection of whether shared libs
 are supported). On the other hand, one no longer has to edit the
 Makefile manually.
I910-014

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@149323 936e1b1b-40f2-da11-902a-00137254ae57
2009-09-11 13:36:21 +00:00
Emmanuel Briot
bb20c94321 We now build both static and shared libraries by default,
although the user can use configure's --disable-shared switch to change
 this behavior. By default, the installation project file will now link
 with the static libraries (unless --enable-shared was specified), although
 the default can be overridden with LIBRARY_TYPE
 This implements H505-007 for xmlada


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@124728 936e1b1b-40f2-da11-902a-00137254ae57
2008-05-14 14:36:45 +00:00