(15 . 7)(15 . 16)
656 library project Gnat_Runtime is
657 for Languages use ("Ada");
658
659 for Source_Dirs use ("adainclude");
660 type Platform_Type is ("x86_64-asm", "x86_64-c");
661 Platform : Platform_Type := external ("platform", "x86_64-asm");
662
663 case Platform is
664 when "x86_64-asm" =>
665 for Source_Dirs use ("adainclude", "platform/linux-x86_64", "platform/linux-x86_64-asm");
666 when "x86_64-c" =>
667 for Source_Dirs use ("adainclude", "platform/linux-x86_64", "platform/linux-c");
668 end case;
669
670 for Object_Dir use "obj";
671 for Library_Kind use "static";
672 for Library_Name use "gnat";
(41 . 6)(50 . 12)
674 for Lib_Subdir use "adalib";
675 for Required_Artifacts (".") use ("runtime.xml");
676 for Install_Project use "false";
677 case Platform is
678 when "x86_64-asm" =>
679 for Artifacts ("adalib") use ("obj/start.o");
680 when others =>
681 null;
682 end case;
683 end Install;
684
685 end Gnat_Runtime;