aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodb-sqlite/stub.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-27 15:38:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-27 15:38:42 +0200
commitcd1deec2f13b6976fb3aac0e5e8d42a79875aef1 (patch)
treee56e97b86e800f4173ba433b9ba76480d0f18d5b /build/import/libodb-sqlite/stub.make
parent2b3b6f26e5125bdc23d07c88c369b5c6ce070a61 (diff)
Build infrastructure for SQLite
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