2 -- Copyright (C) 2017 secunet Security Networks AG
4 -- This program is free software: you can redistribute it and/or modify
5 -- it under the terms of the GNU General Public License as published by
6 -- the Free Software Foundation, either version 3 of the License, or
7 -- (at your option) any later version.
9 -- This program is distributed in the hope that it will be useful,
10 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
11 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 -- GNU General Public License for more details.
14 -- You should have received a copy of the GNU General Public License
15 -- along with this program. If not, see <http://www.gnu.org/licenses/>.
18 with "../../config/shared";
21 library project Libxhcidbg extends "../library_ada" is
23 for Languages use ("Ada");
24 for Source_Dirs use ("generated", "src");
25 for Object_Dir use "obj";
26 for Library_Dir use "lib";
27 for Library_Name use "xhcidbg";
28 for Library_Kind use "static";
30 Extra_Switches := ("-gnatwH.W", "-gnatyN");
33 for Default_Switches ("Ada") use Shared.Spark_Compiler_Switches
34 & Shared.Warning_Switches & Shared.Build_Warning_Switches