aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/.gitignore1
-rw-r--r--build/bootstrap.build25
-rw-r--r--build/export.build10
-rw-r--r--build/root.build10
4 files changed, 46 insertions, 0 deletions
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..3034b13
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,25 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2016-2017 Code Synthesis Ltd
+# license : ISC; see accompanying COPYING file
+
+project = libpkgconf
+
+using version
+using config
+using dist
+using test
+using install
+
+# The versioning scheme (after 0.9.12) assumes that each [major?] release has
+# it's own number (starting with 2). In any case, as of 1.3.8, version 2 is
+# still in the library file name (libpkgconf.so.2.0.0). This probably means
+# that the release number is equal to major version + 1 (though in Makefile.am
+# they use -version-info 2:0:0 which doesn't mean what they think it means).
+# So we just need to watch their Makefile.am for any changes.
+#
+# See also: http://kaniini.dereferenced.org/2015/07/20/pkgconf-0-9-12-and-future.html
+#
+if ($version.major == 1)
+ release_num = 2
+else
+ fail "increment the release number?"
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..ef0b5b5
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,10 @@
+# file : build/export.build
+# copyright : Copyright (c) 2016-2017 Code Synthesis Ltd
+# license : ISC; see accompanying COPYING file
+
+$out_root/:
+{
+ include libpkgconf/
+}
+
+export $out_root/libpkgconf/lib{pkgconf}
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..ba11186
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,10 @@
+# file : build/root.build
+# copyright : Copyright (c) 2016-2017 Code Synthesis Ltd
+# license : ISC; see accompanying COPYING file
+
+c.std = 99
+
+using c
+
+h{*}: extension = h
+c{*}: extension = c