Rombobjörn

summaryrefslogtreecommitdiff
path: root/comfignat.mk
diff options
context:
space:
mode:
authorBjörn Persson <bjorn@rombobjörn.se>2013-10-09 17:35:53 +0200
committerBjörn Persson <bjorn@rombobjörn.se>2013-10-09 17:35:53 +0200
commit47462f14c4f9fae7684c8eb1cd08a6f127a31dea (patch)
tree58c5ebf5627f9aa169cb198402d98bfd870cd7fd /comfignat.mk
parent9377ee2e8f5e5a850fc75994c418221dce769ac9 (diff)
parentf4b3c51803cb6e0cb915e9e84129c6d9df3352cb (diff)
Merge branch 'Debian_coordination'
Diffstat (limited to 'comfignat.mk')
-rw-r--r--comfignat.mk83
1 files changed, 49 insertions, 34 deletions
diff --git a/comfignat.mk b/comfignat.mk
index 01cf031..c22ede5 100644
--- a/comfignat.mk
+++ b/comfignat.mk
@@ -92,22 +92,24 @@ localstatedir = ${prefix}/var
# These variables are used in constructing the default values of the directory
# variables below.
-bindir = ${exec_prefix}/bin
-libexecdir = ${exec_prefix}/libexec
-datadir = ${datarootdir}
-sysconfdir = ${prefix}/etc
-statedir = ${localstatedir}/lib
-cachedir = ${localstatedir}/cache
-logdir = ${localstatedir}/log
-includedir = ${prefix}/include
-libdir = ${exec_prefix}/lib
-gprdir = ${datarootdir}/gpr
-localedir = ${datarootdir}/locale
-mandir = ${datarootdir}/man
-infodir = ${datarootdir}/info
-miscdocdir = ${datarootdir}/doc
-runtimedir = /run
-lockdir = ${runtimedir}/lock
+bindir = ${exec_prefix}/bin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${datarootdir}
+sysconfdir = ${prefix}/etc
+statedir = ${localstatedir}/lib
+cachedir = ${localstatedir}/cache
+logdir = ${localstatedir}/log
+includedir = ${prefix}/include
+archincludedir = ${includedir}
+libdir = ${exec_prefix}/lib
+alidir = ${libdir}
+gprdir = ${datarootdir}/gpr
+localedir = ${datarootdir}/locale
+mandir = ${datarootdir}/man
+infodir = ${datarootdir}/info
+miscdocdir = ${datarootdir}/doc
+runtimedir = /run
+lockdir = ${runtimedir}/lock
# These are the directories where different kinds of files will be located on
# the target system.
@@ -148,20 +150,22 @@ srcdir := ${abspath ${dir ${lastword ${MAKEFILE_LIST}}}}
# as the directory part of the last pathname in MAKEFILE_LIST – which is this
# file since there is no include directive above this point.
-stage_bindir = ${stagedir}${bindir}
-stage_libexecdir = ${stagedir}${libexecdir}
-stage_datadir = ${stagedir}${datadir}
-stage_sysconfdir = ${stagedir}${sysconfdir}
-stage_statedir = ${stagedir}${statedir}
-stage_cachedir = ${stagedir}${cachedir}
-stage_logdir = ${stagedir}${logdir}
-stage_includedir = ${stagedir}${includedir}
-stage_libdir = ${stagedir}${libdir}
-stage_gprdir = ${stagedir}${gprdir}
-stage_localedir = ${stagedir}${localedir}
-stage_mandir = ${stagedir}${mandir}
-stage_infodir = ${stagedir}${infodir}
-stage_miscdocdir = ${stagedir}${miscdocdir}
+stage_bindir = ${stagedir}${bindir}
+stage_libexecdir = ${stagedir}${libexecdir}
+stage_datadir = ${stagedir}${datadir}
+stage_sysconfdir = ${stagedir}${sysconfdir}
+stage_statedir = ${stagedir}${statedir}
+stage_cachedir = ${stagedir}${cachedir}
+stage_logdir = ${stagedir}${logdir}
+stage_includedir = ${stagedir}${includedir}
+stage_archincludedir = ${stagedir}${archincludedir}
+stage_libdir = ${stagedir}${libdir}
+stage_alidir = ${stagedir}${alidir}
+stage_gprdir = ${stagedir}${gprdir}
+stage_localedir = ${stagedir}${localedir}
+stage_mandir = ${stagedir}${mandir}
+stage_infodir = ${stagedir}${infodir}
+stage_miscdocdir = ${stagedir}${miscdocdir}
# These are the directories where different kinds of files to be installed are
# written during the build.
@@ -245,8 +249,9 @@ configuration_variables += \
DESTDIR \
dirgpr relocatable_package \
prefix exec_prefix datarootdir localstatedir \
- bindir libexecdir datadir sysconfdir statedir cachedir logdir includedir \
- libdir gprdir localedir mandir infodir miscdocdir runtimedir lockdir \
+ bindir libexecdir datadir sysconfdir statedir cachedir logdir \
+ includedir archincludedir libdir alidir gprdir \
+ localedir mandir infodir miscdocdir runtimedir lockdir \
objdir stagedir \
install_cp_flags \
${options}
@@ -417,15 +422,21 @@ ifeq (${dirgpr},)
all_directories += '-DBindir="${call embed_pathname,${bindir}}"'
all_directories += '-DLibexecdir="${call embed_pathname,${libexecdir}}"'
all_directories += '-DIncludedir="${call embed_pathname,${includedir}}"'
+ all_directories += '-DArchincludedir="${call embed_pathname,${archincludedir}}"'
all_directories += '-DLibdir="${call embed_pathname,${libdir}}"'
+ all_directories += '-DAlidir="${call embed_pathname,${alidir}}"'
all_directories += '-DStage_Bindir="${stage_bindir}"'
all_directories += '-DStage_Libexecdir="${stage_libexecdir}"'
all_directories += '-DStage_Includedir="${stage_includedir}"'
+ all_directories += '-DStage_Archincludedir="${stage_archincludedir}"'
all_directories += '-DStage_Libdir="${stage_libdir}"'
+ all_directories += '-DStage_Alidir="${stage_alidir}"'
usage_directories = '-DIncludedir="${call usage_pathname,${includedir}}"' \
- '-DLibdir="${call usage_pathname,${libdir}}"'
+ '-DArchincludedir="${call usage_pathname,${archincludedir}}"' \
+ '-DLibdir="${call usage_pathname,${libdir}}"' \
+ '-DAlidir="${call usage_pathname,${alidir}}"'
else
@@ -439,11 +450,15 @@ else
all_directories += '-DBindir=${directories_project}.Bindir'
all_directories += '-DLibexecdir=${directories_project}.Libexecdir'
all_directories += '-DIncludedir=${directories_project}.Includedir'
+ all_directories += '-DArchincludedir=${directories_project}.Archincludedir'
all_directories += '-DLibdir=${directories_project}.Libdir'
+ all_directories += '-DAlidir=${directories_project}.Alidir'
usage_directories = '-DDirectories_GPR="${dirgpr}"' \
'-DIncludedir=${directories_project}.Includedir' \
- '-DLibdir=${directories_project}.Libdir'
+ '-DArchincludedir=${directories_project}.Archincludedir' \
+ '-DLibdir=${directories_project}.Libdir' \
+ '-DAlidir=${directories_project}.Alidir'
endif