Now the static and shared versions are built if possible.
The default installed version can be configured using the
new DEFAULT_LIBRARY_TYPE make variable. The setup is now
persistent using a generated makefile.setup makefile.
The shared version is built only if supported by the
plateform.
--
Work for H505-007.
- Default values for SOCKET and LDAP are now identical on Windows and UNIX.
Both are disabled now.
- Remove all references to POSIX for AWS.OS_Lib implementation as this
has been removed since some time.
- Use only the GNAT driver instead of gnatmake, gnatclean... This is
cleaner and easier to maintain. Only GNAT is set in makefile.conf.
- INSTALL variable is now set by default to the compiler on the PATH.
So there is no need to change INSTALL when installing in the default
location (GNAT root).
- Add header to all makefiles.
- Add checks for INSTALL variable. The compiler must be found in the PATH
and we make sure it is not empty.
* makefile:
* aws-services-dispatchers-timer.adb:
* aws-services-dispatchers-timer.ads:
* timer.adb:
* aws-net-generic_sets.adb:
* aws-net-std__gnat.adb:
* aws-net-thin.ads:
* aws-net.adb:
* aws-server-http_utils.adb:
* aws-services-download.adb:
* aws-utils.ads:
(GMT_Clock): New routine. Was in AWS.OS_Lib, now implemented here
using standard Ada 2005 features.
* poll.adb:
* poll.ads:
* shared.gpr:
* makefile:
* aws-os_lib__gnat.adb:
* aws-os_lib__posix.adb:
* aws-os_lib__win32.adb:
* src.gpr:
* aws-os_lib.ads:
* MANIFEST:
* INSTALL:
* aws.texi.tmplt:
* check_config.c:
Modified to generate the definitions into AWS.OS_Lib directly
instead of the child package AWS.OS_Lib.Definitions as AWS.OS_Lib
is now empty.
* aws-utils.adb:
(GMT_Clock): New routine. Was in AWS.OS_Lib, now implemented here
using standard Ada 2005 features.
Code clean-up. The AWS.OS_Lib package has been completely removed. The
GMT_Clock is now implemented using the standard Ada 2005 support and is found
in AWS.Utils. This means that the three implementations (POSIX, Win32, GNAT)
for this package have been removed together with all the circuitry to select
one in the GNAT project files.