30 Commits

Author SHA1 Message Date
Nicolas Boulenguez
20bf52aa37 Pass ADAFLAGS to include.gpr and add CPPFLAGS to CFLAGS.
This patch does not apply the common style flags to include/*, it only
allow explicit user flags (ADAFLAGS) to override default flags.

The External is in shared.gpr so that there is only one environment
lookup for each variable.
2020-04-20 14:39:48 +02:00
Pascal Obry
0b8e5d2e19 Add support for external CFLAGS, ADAFLAGS and LDFLAGS for building.
Contributed by Nicolas Boulenguez.
2014-08-18 11:40:16 +02:00
Pascal Obry
a0a73228e9 Set compilation to Ada 2012.
Part of MA30-042.
2013-12-09 10:51:08 +01:00
Pascal Obry
da09106f7e Add proper support for cross-environments.
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.
2012-10-14 21:49:59 +02:00
Pascal Obry
3481b41b89 Kill warnings about makefile not having a compiler. 2012-06-26 17:24:17 +02:00
Pascal Obry
eaff6db33e Move to GPLv3.
For KC20-036.
2012-01-03 18:55:45 +01:00
Pascal Obry
7108bc7f27 Qualify project files. 2011-06-06 17:56:11 +02:00
Pascal Obry
3bc2270900 Revert "Fix previous check (wrong attribute used)"
Revert "avoid warnings that "makefile" has no compiler specified"

This was breaking AWS builds.
2010-04-16 08:53:41 +00:00
Emmanuel Briot
0ce4cdf73e Fix previous check (wrong attribute used) 2010-04-15 08:48:46 +00:00
Pascal Obry
102b01b7ab Improve support for makefile. 2010-03-13 11:02:57 +00:00
Pascal Obry
2bd5697954 Large build clean-up.
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.
2007-11-03 11:54:58 +00:00
Pascal Obry
3214b0d3d5 Continue integration of Darwin support. 2007-10-26 10:18:03 +00:00
Pascal Obry
5bf233b8e3 Repository clean-up.
Remove all unneeded svn:executable properties.
Remove the eol-style property on testme25.out for proper handling of
non standard EOL.
2006-09-13 09:20:27 +00:00
Pascal Obry
aa6ad4bc48 Merge ada05 branch.
This is the first step toward Ada 2005. Only to remove
the AI302 containers and to use the standard Ada.Containers.
2006-07-04 20:13:48 +00:00
Pascal Obry
e7472b5b90 (compiler): Add the Shared.Global_Options to the Ada's Default_Switches.
Work for F315-006.
2006-03-15 18:19:08 +00:00
Pascal Obry
ccedce7ebf (Ide): Do not used the Shared.Ide one, we do not want to apply the same
style checks on those files (do not check copyrights).
2006-03-01 17:33:28 +00:00
Pascal Obry
2251bcc6d5 Remove all references to ChangeLog. 2005-12-17 17:31:00 +00:00
Pascal Obry
8a0e696296 Remove CVS tags.
Part of work for EC08-005.
2005-12-17 16:52:26 +00:00
Pascal Obry
e35cefcd41 Changed to a library project.
Work for D507-003.
2005-10-27 14:48:06 +00:00
Pascal Obry
14693c35ee HEAD is now Ada95 compatible (merged from ada95 branch)
The Ada 2005 code is now in the ada05 branch.
2005-10-03 12:20:10 +00:00
Pascal Obry
51a89167a0 Add -gnat05 option for the build. 2005-09-21 13:13:02 +00:00
Pascal Obry
619adddc0b Remove with of ai302 as AWS uses the standard Ada.Containers now.
--
This is part of a large clean-up to remove the temporary Ada.Containers
implementation known as AI302 to use the version now integrated into GNAT.
2005-09-14 13:37:28 +00:00
Pascal Obry
13c565d144 Import AI302 project file. 2004-10-06 15:46:01 +00:00
Pascal Obry
f91653eae7 Minor casing fix. 2004-09-29 19:49:02 +00:00
Pascal Obry
5b2a32a928 (Compiler): Remove -m option, this is a builder option not a
compiler one.
2004-05-17 19:36:21 +00:00