Rombobjörn

summaryrefslogtreecommitdiff
path: root/comfignat.gpr.gp
diff options
context:
space:
mode:
authorBjörn Persson <bjorn@rombobjörn.se>2013-09-15 20:15:44 +0200
committerBjörn Persson <bjorn@rombobjörn.se>2013-09-15 20:15:44 +0200
commit779e60ca47698eca02da97cdc97ab96d4bfcc5fa (patch)
tree5d525a5ac653bbccc380f904fdebccb4e669adbe /comfignat.gpr.gp
parent3dfe552131ed21d516263dae5efd89de29b17700 (diff)
Implemented alidir.
Diffstat (limited to 'comfignat.gpr.gp')
-rw-r--r--comfignat.gpr.gp17
1 files changed, 15 insertions, 2 deletions
diff --git a/comfignat.gpr.gp b/comfignat.gpr.gp
index e334f00..6e5d7a8 100644
--- a/comfignat.gpr.gp
+++ b/comfignat.gpr.gp
@@ -151,6 +151,13 @@ abstract project Comfignat is
Libdir := Exec_Prefix & "/lib";
#end if;
+ -- ALI files are under a library-specific subdirectory of Alidir.
+ #if Alidir'Defined then
+ Alidir := $Alidir;
+ #else
+ Alidir := Libdir;
+ #end if;
+
-- GNAT project files are under GPRdir.
#if GPRdir'Defined then
GPRdir := $GPRdir;
@@ -268,12 +275,18 @@ abstract project Comfignat is
#end if;
-- Binary libraries shall be installed in Stage_Libdir.
- -- ALI files shall be installed in a library-specific subdirectory of
- -- Stage_Libdir.
#if Stage_Libdir'Defined then
Stage_Libdir := $Stage_Libdir;
#else
Stage_Libdir := Stagedir & Libdir;
#end if;
+ -- ALI files shall be installed under a library-specific subdirectory of
+ -- Stage_Alidir.
+ #if Stage_Alidir'Defined then
+ Stage_Alidir := $Stage_Alidir;
+ #else
+ Stage_Alidir := Stagedir & Alidir;
+ #end if;
+
end Comfignat;