2013-12-10 16:14:06 +00:00
|
|
|
|
|
|
|
with "@abs_builddir@/../lib/libh2";
|
|
|
|
|
2013-12-28 16:52:31 +00:00
|
|
|
project Scheme is
|
2013-12-10 16:14:06 +00:00
|
|
|
|
|
|
|
for Main use ("scheme");
|
|
|
|
|
|
|
|
for Exec_Dir use ".";
|
|
|
|
|
|
|
|
for Source_Dirs use (
|
|
|
|
"@abs_builddir@/../lib",
|
|
|
|
"@abs_builddir@",
|
|
|
|
"@abs_srcdir@"
|
|
|
|
);
|
|
|
|
for Source_Files use (
|
|
|
|
"storage.ads",
|
|
|
|
"storage.adb",
|
2013-12-28 16:52:31 +00:00
|
|
|
"stream.ads",
|
|
|
|
"stream.adb",
|
2013-12-10 16:14:06 +00:00
|
|
|
"scheme.adb"
|
|
|
|
);
|
|
|
|
for Object_Dir use "@ADA_OBJDIR@";
|
|
|
|
|
|
|
|
package Compiler is
|
|
|
|
for Default_Switches ("Ada") use (
|
2014-01-14 14:22:06 +00:00
|
|
|
"-gnata", "-gnato", "-gnatN", "-gnatwl", "-gnat95", "-gnatW8",
|
2013-12-10 16:14:06 +00:00
|
|
|
"-I@abs_srcdir@/../lib"
|
|
|
|
);
|
|
|
|
end Compiler;
|
|
|
|
|
|
|
|
package Builder is
|
|
|
|
for Executable ("scheme.adb") use "h2scm";
|
|
|
|
end Builder;
|
|
|
|
|
2013-12-28 16:52:31 +00:00
|
|
|
end Scheme;
|
2013-12-10 16:14:06 +00:00
|
|
|
|
|
|
|
|