109 Commits

Author SHA1 Message Date
Pascal Obry
ec8c3a6162 makefile.conf: A path separator is host (not target) dependent. 2024-01-24 19:16:55 +00:00
Pascal Obry
8e5dfe946b Makefile: Fix GPR_PROJECT_PATH setting on Windows.
Use proper PATH separator on Windows.

Fix AWS build failure on Windows.

TN: eng/shared/release#571
2024-01-22 18:51:36 +01:00
Pascal Obry
fc100d31d6 Fix shared and zlib check using new out-of-tree build. 2024-01-19 08:03:17 +00:00
Pascal Obry
ab5bc632e6 Simplify out-of-tree testsuite when using build tree. 2024-01-19 08:03:17 +00:00
Pascal Obry
177f1054e4 Fix build of demos after work for the out-of-tree support. 2024-01-19 08:03:17 +00:00
Pascal Obry
dcd2f6d688 Rework build setup to allow for out-of-tree build.
This rework make it possible to build in-tree as before:

   $ make setup
   $ make

And from another directory (out-of-tree build):

   $ cd <build-dir>
   $ make -C ../aws BLD_DIR=$PWD setup
   $ make -C ../aws BLD_DIR=$PWD

To build the demos:

   $ make -C ../aws/demos BLD_DIR=$PWD

Support for the testsuite has also been reworked to use the out-of-tree
build when needed:

   $ make -C ../aws BLD_DIR=$PWD run_regtests
2024-01-19 08:03:17 +00:00
Simon Wright
bf27733a87 Make 'make setup' macOS-compatible.
'makefile.conf' uses the sed switch '-s', which is not available on
macOS; macOS sed is derived from BSD sed, and (according to
https://man.freebsd.org/cgi/man.cgi?sed(1)) FreeBSD sed 13.0 doesn't
support -s either.

Since the GNU sed -s (--separate) only applies if there are multiple
input files, and in each case here there's only one input file, the -s
can be removed without penalty.

  * makefile.conf (SERVER_HTTP2): change -ns to -n.
    (C_HTTP2): likewise.
2023-12-04 11:33:22 +01:00
Pascal Obry
5c31bdfaa6 Add static-pic build variant.
Fixes S605-001.
2023-09-08 07:22:13 +00:00
Dmitriy Anisimkov
feb13f7b63 Improve SSL_DYNAMIC option explanation
TN: UB30-003
2022-02-08 09:57:41 +06:00
Dmitriy Anisimkov
98fff662c1 Dynamic SSL binding
TN: UB30-003
2022-02-04 07:19:40 +06:00
Pascal Obry
97117ba9b0 Add support for CLIENT_HTTP2 & SERVER_HTTP2 variable.
This will be used for testsuite tags.
2021-10-30 16:26:34 +02:00
Pascal Obry
22815aa1f4 New implementation of ada2wsdl based on LaL.
This new implementation is based on LaL and do not use ASIS anymore.

The -I options has been removed as not supported anymore. The LaL parser
is project based exclusively.

Some expected output have been updated as the new implementation does
better work with the name-space by avoiding generating some NS that are
not used. So the NS prefix may be different.

We disable the check on routines ordering in ada2wsdl-parser.adb as
some generics make it impossible to follow this rule.

Note that this new implementation does far better job as computing the
range (range <low> .. <high>) and array indexes. The new parser walk up
the tree and do proper computation of the values instead of relying on
some simple format checked by regexp. So for example a range like:

   range 1 + 6 - 4 .. integer'last - 7

Will be properly computed avoiding some restriction on the specs.

For S415-009.
2020-04-27 10:32:11 +02:00
Pascal Obry
301ed77bd8 Setup LaL which replaces ASIS.
All ASIS setup have been replaced by LibAdaLang which will be the
new library used for generating WSDL out of Ada specs.

Part of S415-009.
2020-04-27 10:31:01 +02:00
Dmitriy Anisimkov
d51de0fe40 Fix comment about NETLIB setup option
MA31-001
2019-01-17 18:16:16 +01:00
Dmitriy Anisimkov
2413e7b675 Use GNAT IPv6 functionality.
R710-016 MA31-001

Remain compatibility with older GNAT versions.
Add IPv6_Only server flag.
2019-01-09 16:08:57 +06:00
Emmanuel Briot
9bf04443ea Add support for websocket clients 2018-10-15 09:04:40 +02:00
Dmitriy Anisimkov
bc9a0e2773 Able to run GPS with all necessary options 2018-03-12 10:46:32 +06:00
Jerome Lambourg
ad5598ca94 Fix the default prefix to support cross compilers.
For R118-017
2018-01-18 17:29:28 +01:00
Pascal Obry
2726b25304 Revert back to using gnat ls.
This is now compatible between old and new compilers.

Continued work for O528-048 and OB26-004.
2015-11-27 18:07:34 +01:00
Pascal Obry
84a4e5e139 Revert back to original message to check project.
Continued work for O528-048 and OB26-004.
2015-11-26 17:52:14 +01:00
Emmanuel Briot
cc20403f58 "gnat ls" => "gprls"
O528-048 and OB26-004
2015-11-26 12:38:54 +01:00
Pascal Obry
877119134e Simplify the check for XML/Ada and ASIS support.
Use gnat ls to check whether the project is found for the current
compiler.

Fix AWS setup, for O309-051.
2015-03-10 18:17:14 +01:00
Pascal Obry
a8228c0a17 Remove unused makefile variables DIFF and UNAME. 2014-08-18 11:40:16 +02:00
Pascal Obry
9f4055b2d8 Rework the installation using gprinstall.
This simplifies the makefile circuitry and will make the maintenance
of this part of the code easier.

For MA30-041.
2013-11-08 13:23:19 +01:00
Emmanuel Briot
ffa1c49d23 Do not use -ldl on freebsd
Fixes link error when enabling openssl support.
Part of MA09-033
2013-10-09 15:58:39 +02:00