aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodb-sqlite/stub.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-21 17:25:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-21 17:25:58 +0200
commitec564b14a5f4558d34578a1e10129f910539fa49 (patch)
tree6094727331c44dab4974e7c11397b48b12ec0148 /build/import/libodb-sqlite/stub.make
parent9106867c0c70bae196c1b38e9594f0340dcc9698 (diff)
Add developer build system SQLite infrastructure
Diffstat (limited to 'build/import/libodb-sqlite/stub.make')
-rw-r--r--build/import/libodb-sqlite/stub.make30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/import/libodb-sqlite/stub.make b/build/import/libodb-sqlite/stub.make
new file mode 100644
index 0000000..43f0e11
--- /dev/null
+++ b/build/import/libodb-sqlite/stub.make
@@ -0,0 +1,30 @@
+# file : build/import/libodb-sqlite/stub.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libodb-sqlite/configuration-rules.make,$(dcf_root))
+
+libodb_sqlite_installed :=
+
+$(call -include,$(dcf_root)/import/libodb-sqlite/configuration-dynamic.make)
+
+ifdef libodb_sqlite_installed
+
+ifeq ($(libodb_sqlite_installed),y)
+
+$(call export,l: -lodb-sqlite -lodb -lsqlite3,cpp-options: )
+
+else
+
+# Include export stub.
+#
+$(call include,$(scf_root)/export/libodb-sqlite/stub.make)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif