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