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",
|
2014-03-26 14:28:41 +00:00
|
|
|
"slim_stream.ads",
|
|
|
|
"slim_stream.adb",
|
|
|
|
"wide_stream.ads",
|
|
|
|
"wide_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-16 16:52:18 +00:00
|
|
|
"-gnata", "-gnato", "-gnatN", "-gnatwl", "-gnat95", "-gnatW8", "-g",
|
2014-05-30 03:20:24 +00:00
|
|
|
"-I@abs_srcdir@/../lib",
|
2014-06-04 17:15:52 +00:00
|
|
|
"-I@abs_srcdir@/../lib/posix",
|
|
|
|
"-I@abs_builddir@/../lib/posix"
|
2013-12-10 16:14:06 +00:00
|
|
|
);
|
|
|
|
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
|
|
|
|
|
|
|
|