Rombobjörn

summaryrefslogtreecommitdiff
path: root/comfignat.gpr.gp
diff options
context:
space:
mode:
authorBjörn Persson <bjorn@rombobjörn.se>2013-10-09 17:17:00 +0200
committerBjörn Persson <bjorn@rombobjörn.se>2013-10-09 17:17:00 +0200
commit1cd75d10b77fbf947957a32e7d79463ac92abf0c (patch)
tree2bcfc0842ccd6ae778a9ea11379ee2623bbf4d73 /comfignat.gpr.gp
parentf0bbafed015258350f317558da62dd7be442be3c (diff)
Implemented archincludedir.
Diffstat (limited to 'comfignat.gpr.gp')
-rw-r--r--comfignat.gpr.gp18
1 files changed, 18 insertions, 0 deletions
diff --git a/comfignat.gpr.gp b/comfignat.gpr.gp
index 6e5d7a8..7b53075 100644
--- a/comfignat.gpr.gp
+++ b/comfignat.gpr.gp
@@ -144,6 +144,15 @@ abstract project Comfignat is
Includedir := Prefix & "/include";
#end if;
+ -- If a library has installed architecture-specific source files to be used
+ -- in compilation, then those files may also be under a library-specific
+ -- subdirectory of Archincludedir.
+ #if Archincludedir'Defined then
+ Archincludedir := $Archincludedir;
+ #else
+ Archincludedir := Includedir;
+ #end if;
+
-- Binary libraries and other architecture-specific files are under Libdir.
#if Libdir'Defined then
Libdir := $Libdir;
@@ -274,6 +283,15 @@ abstract project Comfignat is
Stage_Includedir := Stagedir & Includedir;
#end if;
+ -- If architecture-specific source files absolutely must be installed, then
+ -- those files may be placed under a library-specific subdirectory of
+ -- Stage_Archincludedir.
+ #if Stage_Archincludedir'Defined then
+ Stage_Archincludedir := $Stage_Archincludedir;
+ #else
+ Stage_Archincludedir := Stagedir & Archincludedir;
+ #end if;
+
-- Binary libraries shall be installed in Stage_Libdir.
#if Stage_Libdir'Defined then
Stage_Libdir := $Stage_Libdir;