aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/bash/buildfile2
-rw-r--r--libbuild2/bin/buildfile2
-rw-r--r--libbuild2/buildfile4
-rw-r--r--libbuild2/c/buildfile2
-rw-r--r--libbuild2/cc/buildfile2
-rw-r--r--libbuild2/config/module.hxx8
-rw-r--r--libbuild2/cxx/buildfile2
-rw-r--r--libbuild2/in/buildfile2
-rw-r--r--libbuild2/version/buildfile2
9 files changed, 21 insertions, 5 deletions
diff --git a/libbuild2/bash/buildfile b/libbuild2/bash/buildfile
index 63356b7..2fd49ec 100644
--- a/libbuild2/bash/buildfile
+++ b/libbuild2/bash/buildfile
@@ -1,6 +1,8 @@
# file : libbuild2/bash/buildfile
# license : MIT; see accompanying LICENSE file
+# NOTE: shared imports should go into root.build.
+#
include ../
imp_libs = ../lib{build2} # Implied interface dependency.
diff --git a/libbuild2/bin/buildfile b/libbuild2/bin/buildfile
index 8b4d115..0df78e6 100644
--- a/libbuild2/bin/buildfile
+++ b/libbuild2/bin/buildfile
@@ -1,6 +1,8 @@
# file : libbuild2/bin/buildfile
# license : MIT; see accompanying LICENSE file
+# NOTE: shared imports should go into root.build.
+#
include ../
imp_libs = ../lib{build2} # Implied interface dependency.
diff --git a/libbuild2/buildfile b/libbuild2/buildfile
index 5f7bc11..29a559c 100644
--- a/libbuild2/buildfile
+++ b/libbuild2/buildfile
@@ -20,8 +20,10 @@ include $bundled_modules
# explicitly. A module should also assume that lib{butl} will always be an
# interface dependency of lib{build2} and therefore need not be explicitly
# imported or linked.
+
+# NOTE: shared imports should go into root.build.
#
-import int_libs = libbutl%lib{butl}
+int_libs = $libbutl
lib{build2}: libul{build2}: \
{hxx ixx txx cxx}{* -utility-*installed -config -version -*.test...} \
diff --git a/libbuild2/c/buildfile b/libbuild2/c/buildfile
index 3c069dc..fa23648 100644
--- a/libbuild2/c/buildfile
+++ b/libbuild2/c/buildfile
@@ -1,6 +1,8 @@
# file : libbuild2/c/buildfile
# license : MIT; see accompanying LICENSE file
+# NOTE: shared imports should go into root.build.
+#
include ../
imp_libs = ../lib{build2} # Implied interface dependency.
diff --git a/libbuild2/cc/buildfile b/libbuild2/cc/buildfile
index 6b18eb7..fc8809d 100644
--- a/libbuild2/cc/buildfile
+++ b/libbuild2/cc/buildfile
@@ -1,6 +1,8 @@
# file : libbuild2/cc/buildfile
# license : MIT; see accompanying LICENSE file
+# NOTE: shared imports should go into root.build.
+#
include ../
imp_libs = ../lib{build2} # Implied interface dependency.
diff --git a/libbuild2/config/module.hxx b/libbuild2/config/module.hxx
index ade75cd..5cb4faa 100644
--- a/libbuild2/config/module.hxx
+++ b/libbuild2/config/module.hxx
@@ -20,10 +20,10 @@ namespace build2
namespace config
{
// An ordered list of build system modules each with an ordered list of
- // list of config.* variables and their "save flags" (see save_variable())
- // that are used (as opposed to just being specified) in this
- // configuration. Populated by the config utility functions (required(),
- // optional()) and saved in the order populated.
+ // config.* variables and their "save flags" (see save_variable()) that
+ // are used (as opposed to just being specified) in this configuration.
+ // Populated by the config utility functions (required(), optional()) and
+ // saved in the order populated.
//
struct saved_variable
{
diff --git a/libbuild2/cxx/buildfile b/libbuild2/cxx/buildfile
index 429027a..a95da97 100644
--- a/libbuild2/cxx/buildfile
+++ b/libbuild2/cxx/buildfile
@@ -1,6 +1,8 @@
# file : libbuild2/cxx/buildfile
# license : MIT; see accompanying LICENSE file
+# NOTE: shared imports should go into root.build.
+#
include ../
imp_libs = ../lib{build2} # Implied interface dependency.
diff --git a/libbuild2/in/buildfile b/libbuild2/in/buildfile
index b9d51d6..f396e31 100644
--- a/libbuild2/in/buildfile
+++ b/libbuild2/in/buildfile
@@ -1,6 +1,8 @@
# file : libbuild2/in/buildfile
# license : MIT; see accompanying LICENSE file
+# NOTE: shared imports should go into root.build.
+#
include ../
imp_libs = ../lib{build2} # Implied interface dependency.
diff --git a/libbuild2/version/buildfile b/libbuild2/version/buildfile
index 9fd1eef..b991f73 100644
--- a/libbuild2/version/buildfile
+++ b/libbuild2/version/buildfile
@@ -1,6 +1,8 @@
# file : libbuild2/version/buildfile
# license : MIT; see accompanying LICENSE file
+# NOTE: shared imports should go into root.build.
+#
include ../
imp_libs = ../lib{build2} # Implied interface dependency.