This patch makes it possible to build AWS in native and cross
environments from the same tree. That is the build happen now
into .build/<target_name> AWS's root directory. The installation
is also done in specific directories for the cross builds
$prefix/$target.
Moreover generating OS constants and type definitions (in AWS.OS_Lib)
is done using xoscons and a template. This way it is possible to
create AWS.OS_Lib for a cross-target. It is then now possible to
remove the VxWorks specific AWS.OS_Lib (aws-os_lib__vxworks.ads) as
this can now be generated.
Generally this patch fix wrong uses of host kind where target is
meant. Consequently, some clean-ups and simplifications have
occured in makefiles.
For LA06-001.
For developers, AWS can now be built in four configurations:
- debug mode / shared libraries
- debug mode / static libraries
- release mode / shared libraries (default mode, see makefile.conf)
- release mode / static libraries
The objects files and libraries are kept for all configurations in
separate directory. It is then possible to test / install them
independently.
For users, AWS can be provided as static and shared libraries. Both
library kinds are selectable with the configuration variable
LIBRARY_TYPE.
--
The actual installation process has been moved to each individual
makefiles instead of having all the code into the main makefile. It is
easier to maintain when the installation is local.
--
Work for GA30-008.