aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodb-oracle/stub.make
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-02 14:15:46 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-21 11:47:16 +0200
commit84f9ce9150abfb5f4424d8e94fefa932af3172fa (patch)
tree5205a6d141793c190fe1e0cacda2b5f1bac6b06f /build/import/libodb-oracle/stub.make
parent7e70aa043b7a2482590b0e5459284d2c848eb474 (diff)
Add infrastructure for oracle development testing and implement native test
Diffstat (limited to 'build/import/libodb-oracle/stub.make')
-rw-r--r--build/import/libodb-oracle/stub.make30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/import/libodb-oracle/stub.make b/build/import/libodb-oracle/stub.make
new file mode 100644
index 0000000..2432246
--- /dev/null
+++ b/build/import/libodb-oracle/stub.make
@@ -0,0 +1,30 @@
+# file : build/import/libodb-oracle/stub.make
+# author : Constantin Michael <constantin@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-oracle/configuration-rules.make,$(dcf_root))
+
+libodb_oracle_installed :=
+
+$(call -include,$(dcf_root)/import/libodb-oracle/configuration-dynamic.make)
+
+ifdef libodb_oracle_installed
+
+ifeq ($(libodb_oracle_installed),y)
+
+$(call export,l: -lodb-oracle -lodb -lclntsh,cpp-options: )
+
+else
+
+# Include export stub.
+#
+$(call include,$(scf_root)/export/libodb-oracle/stub.make)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif