aboutsummaryrefslogtreecommitdiff
path: root/build/import/odb/stub.make
diff options
context:
space:
mode:
Diffstat (limited to 'build/import/odb/stub.make')
-rw-r--r--build/import/odb/stub.make30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/import/odb/stub.make b/build/import/odb/stub.make
new file mode 100644
index 0000000..48585f0
--- /dev/null
+++ b/build/import/odb/stub.make
@@ -0,0 +1,30 @@
+# file : build/import/odb/stub.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/odb/configuration-rules.make,$(dcf_root))
+
+odb_installed :=
+
+$(call -include,$(dcf_root)/import/odb/configuration-dynamic.make)
+
+ifdef odb_installed
+
+ifeq ($(odb_installed),y)
+
+$(call export,odb: odb,odb-rules: $(scf_root)/import/odb/hxx-cxx.make)
+
+else
+
+# Include export stub.
+#
+$(call include,$(scf_root)/export/odb/stub.make)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif