hcl/lib/lib.gpr.in

77 lines
1.5 KiB
Plaintext
Raw Normal View History

2013-12-10 16:14:06 +00:00
project Lib is
type Platform_Type is ("posix", "win32");
Platform: Platform_Type := external ("platform", "posix");
2014-05-30 03:20:24 +00:00
for Source_Dirs use (
"@abs_srcdir@",
"@abs_srcdir@/" & Platform,
"@abs_builddir@/" & Platform
2014-05-30 03:20:24 +00:00
);
2013-12-10 16:14:06 +00:00
for Library_Name use "h2";
for Library_Kind use "dynamic";
for Library_Dir use ".";
--for Library_Src_Dir use ".";
for Object_Dir use "@ADA_OBJDIR@";
for Source_Files use (
"h2.ads",
"h2-ascii.ads",
2013-12-10 16:14:06 +00:00
"h2-pool.adb",
"h2-pool.ads",
"h2-os.adb",
"h2-os.ads",
"h2-os-file.adb",
"h2-sysdef.ads",
2014-06-04 17:15:52 +00:00
"h2-io.ads",
"h2-io.adb",
"h2-io-file.adb",
2013-12-10 16:14:06 +00:00
"h2-scheme.adb",
"h2-scheme.ads",
2014-02-20 14:51:53 +00:00
"h2-scheme-bigint.adb",
2014-01-16 16:52:18 +00:00
"h2-scheme-execute.adb",
"h2-scheme-execute-apply.adb",
2014-01-19 15:47:45 +00:00
"h2-scheme-execute-evaluate.adb",
2014-01-14 14:22:06 +00:00
"h2-scheme-token.adb",
"h2-slim.ads",
2014-01-14 14:22:06 +00:00
"h2-utf8.adb",
"h2-utf8.ads",
2014-05-30 03:20:24 +00:00
"h2-wide.ads",
"h2-wide_wide.ads"
2013-12-10 16:14:06 +00:00
);
for Library_Interface use (
"h2",
"h2.ascii",
2014-06-04 17:15:52 +00:00
"h2.io",
2013-12-10 16:14:06 +00:00
"h2.pool",
2014-01-14 14:22:06 +00:00
"h2.scheme",
"h2.slim",
2014-06-04 17:15:52 +00:00
"h2.sysdef",
"h2.os",
"h2.utf8",
2014-05-30 03:20:24 +00:00
"h2.wide",
"h2.wide_wide"
2013-12-10 16:14:06 +00:00
);
package Compiler is
for Default_Switches ("Ada") use (
2014-01-16 16:52:18 +00:00
"-gnata", "-gnato", "-gnatN", "-gnatwl", "-gnat95", "-gnatW8", "-g"
2013-12-10 16:14:06 +00:00
);
end Compiler;
--package Naming is
-- case Platform is
-- when "posix" =>
-- for Body ("H2.OS.File") use "h2-os-file-posix.adb";
-- when "win32" =>
-- for Body ("H2.OS.File") use "h2-os-file-win32.adb";
-- end case;
--end Naming;
2013-12-10 16:14:06 +00:00
--package Install is
-- for Prefix use "@prefix@";
--end Install;
end Lib;