At least with the upcoming gcc49 and ASIS 2013, I've been seeing gmake Makefile-based builds trying to rebuild ASIS rather than just use the provided static library. I don't know what causes that, but I did notice that it doesn't happen with GNAT project files. 1) Disregard gmake completely and provide a new build.gpr file This will work when gcc-aux is moved to gcc49. 2) Add DOCS option and install the html documentation optionally 3) Relocate LICENSE to make portlint happy 4) Using GPR makes this jobs safe (although the job number might be limited to 1 anyway in this case)
16 lines
363 B
Text
16 lines
363 B
Text
with "asis";
|
|
with "gnat_util";
|
|
project Build is
|
|
|
|
for Languages use ("Ada", "C");
|
|
for Source_Dirs use (".");
|
|
for Object_dir use "obj";
|
|
for Exec_Dir use ".";
|
|
for Main use ("adabrowse");
|
|
|
|
package Compiler is
|
|
for Default_Switches ("C") use ("-O2");
|
|
for Default_Switches ("ada") use ("-O2", "-gnatwa");
|
|
end Compiler;
|
|
|
|
end Build;
|