2121-- --
2222------------------------------------------------------------------------------
2323
24- with "../shared ";
24+ with "../gtkada_shared ";
2525
2626library project GtkAda is
27- case Shared .Need_Objective_C is
27+ case GtkAda_Shared .Need_Objective_C is
2828 when "yes" => for Languages use ("C", "Ada", "Objective-C");
2929 when "no" => for Languages use ("C", "Ada");
3030 end case;
3131
32- Version := Shared .Version;
32+ Version := GtkAda_Shared .Version;
3333
3434 -- Put "generated" first, so that files are preferably taken from there
3535 -- even if they still exist in "."
3636 for Source_Dirs use ("generated", ".");
3737
38- for Library_Kind use Shared .Library_Kind;
38+ for Library_Kind use GtkAda_Shared .Library_Kind;
3939 for Library_Name use "gtkada";
4040 for Library_Version use
41- "lib" & Project'Library_Name & Shared .So_Ext & "." & Version;
41+ "lib" & Project'Library_Name & GtkAda_Shared .So_Ext & "." & Version;
4242
43- case Shared .Library_Kind is
43+ case GtkAda_Shared .Library_Kind is
4444 when "static-pic" | "relocatable" =>
4545 -- Objects used for static-pic and relocatable are exactly the same
4646 for Object_Dir use "obj/gtkada/relocatable";
4747 for Library_Dir use "lib/gtkada/relocatable";
4848 when "static" =>
49- case Shared .So_Ext is
49+ case GtkAda_Shared .So_Ext is
5050 when ".dll" | ".dylib" =>
5151 -- On Windows and Darwin, objects are always position
5252 -- independent.
@@ -60,22 +60,22 @@ library project GtkAda is
6060 end case;
6161 end case;
6262
63- case Shared .Library_Kind is
63+ case GtkAda_Shared .Library_Kind is
6464 when "relocatable" =>
65- for Leading_Library_Options use Shared .Ldflags;
66- for Library_Options use Shared .Gtk_Libs;
65+ for Leading_Library_Options use GtkAda_Shared .Ldflags;
66+ for Library_Options use GtkAda_Shared .Gtk_Libs;
6767 when others =>
6868 null;
6969 end case;
7070
71- package Builder renames Shared .Builder;
72- package Naming renames Shared .Naming;
73- package Compiler renames Shared .Compiler;
74- package Binder renames Shared .Binder;
75- package IDE renames Shared .IDE;
71+ package Builder renames GtkAda_Shared .Builder;
72+ package Naming renames GtkAda_Shared .Naming;
73+ package Compiler renames GtkAda_Shared .Compiler;
74+ package Binder renames GtkAda_Shared .Binder;
75+ package IDE renames GtkAda_Shared .IDE;
7676
7777 package Linker is
78- for Linker_Options use Shared .Gtk_Libs;
78+ for Linker_Options use GtkAda_Shared .Gtk_Libs;
7979 end Linker;
8080
8181 package Install is
0 commit comments