aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodb/stub.make
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:54:16 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:54:16 +0200
commitf024d16b9c78d683baa5d87b6e92b3d79a1f3300 (patch)
tree0f2c114c2d046a4abe1fe582f34d18b08f8cc2c0 /build/import/libodb/stub.make
parentdb57fa8ca484a677350299e691f0f6ba721904c8 (diff)
Add initial development infrastructure
Diffstat (limited to 'build/import/libodb/stub.make')
-rw-r--r--build/import/libodb/stub.make30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/import/libodb/stub.make b/build/import/libodb/stub.make
new file mode 100644
index 0000000..aa643a3
--- /dev/null
+++ b/build/import/libodb/stub.make
@@ -0,0 +1,30 @@
+# file : build/import/libodb/stub.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+# license : ODB NCUEL; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libodb/configuration-rules.make,$(dcf_root))
+
+libodb_installed :=
+
+$(call -include,$(dcf_root)/import/libodb/configuration-dynamic.make)
+
+ifdef libodb_installed
+
+ifeq ($(libodb_installed),y)
+
+$(call export,l: -lodb,cpp-options: )
+
+else
+
+# Include export stub.
+#
+$(call include,$(scf_root)/export/libodb/stub.make)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif