1------------------------------------------------------------------------------ 2-- GtkAda - Ada95 binding for the Gimp Toolkit -- 3-- -- 4-- Copyright (C) 2015, AdaCore -- 5-- -- 6-- This library is free software; you can redistribute it and/or modify it -- 7-- under terms of the GNU General Public License as published by the Free -- 8-- Software Foundation; either version 3, or (at your option) any later -- 9-- version. This library is distributed in the hope that it will be useful, -- 10-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12-- -- 13-- As a special exception under Section 7 of GPL version 3, you are granted -- 14-- additional permissions described in the GCC Runtime Library Exception, -- 15-- version 3.1, as published by the Free Software Foundation. -- 16-- -- 17-- You should have received a copy of the GNU General Public License and -- 18-- a copy of the GCC Runtime Library Exception along with this program; -- 19-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20-- <http://www.gnu.org/licenses/>. -- 21-- -- 22------------------------------------------------------------------------------ 23 24with "../shared"; 25 26library project GtkAda is 27 case Shared.Need_Objective_C is 28 when "yes" => for Languages use ("C", "Ada", "Objective-C"); 29 when "no" => for Languages use ("C", "Ada"); 30 end case; 31 32 Version := Shared.Version; 33 34 -- Put "generated" first, so that files are preferably taken from there 35 -- even if they still exist in "." 36 for Source_Dirs use ("generated", "."); 37 38 for Library_Kind use Shared.Library_Kind; 39 for Object_Dir use "obj/gtkada/" & Project'Library_Kind; 40 for Library_Dir use "lib/gtkada/" & Project'Library_Kind; 41 for Library_Name use "gtkada"; 42 for Library_Version use 43 "lib" & Project'Library_Name & Shared.So_Ext & "." & Version; 44 for Library_Options use Shared.Gtk_Libs; 45 46 package Builder renames Shared.Builder; 47 package Naming renames Shared.Naming; 48 package Compiler renames Shared.Compiler; 49 package Binder renames Shared.Binder; 50 package IDE renames Shared.IDE; 51 52 package Linker is 53 for Linker_Options use Shared.Gtk_Libs; 54 end Linker; 55 56 package Install is 57 for Artifacts ("share/gps/plug-ins") use ("../xml/gtkada.xml"); 58 for Artifacts ("share/doc/gtkada/gtkada_ug") use 59 ("../docs/gtkada_ug/_build/html/*", 60 "../docs/gtkada_ug/_build/latex/GtkAda.pdf"); 61 for Artifacts ("share/doc/gtkada") use 62 ("../docs/gtkada_rm/gtkada_rm"); 63 end Install; 64 65end GtkAda; 66