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
'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.
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.