aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodbc/stub.make
diff options
context:
space:
mode:
Diffstat (limited to 'build/import/libodbc/stub.make')
-rw-r--r--build/import/libodbc/stub.make24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/import/libodbc/stub.make b/build/import/libodbc/stub.make
new file mode 100644
index 0000000..d24aad2
--- /dev/null
+++ b/build/import/libodbc/stub.make
@@ -0,0 +1,24 @@
+# file : build/import/libodbc/stub.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Boris Kolpackov
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libodbc/configuration-rules.make,$(dcf_root))
+
+libodbc_manager :=
+
+$(call -include,$(dcf_root)/import/libodbc/configuration-dynamic.make)
+
+ifdef libodbc_manager
+
+ifeq ($(libodbc_manager),windows)
+$(call export,l: -lodbc32,cpp-options: )
+else
+$(call export,l: -lodbc,cpp-options: )
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif