aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodb-mssql/stub.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-16 09:50:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-16 09:50:11 +0200
commit7d74507aacb63f77b763c940ef6fb6c82cb2445a (patch)
tree9d92e44fd3a5de7a5463b170e5e0a9831d46abeb /build/import/libodb-mssql/stub.make
parent24f87489a4d315cc01ca9d49a3f0209522fe6729 (diff)
Add SQL Server support
Diffstat (limited to 'build/import/libodb-mssql/stub.make')
-rw-r--r--build/import/libodb-mssql/stub.make30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/import/libodb-mssql/stub.make b/build/import/libodb-mssql/stub.make
new file mode 100644
index 0000000..a7aa2dd
--- /dev/null
+++ b/build/import/libodb-mssql/stub.make
@@ -0,0 +1,30 @@
+# file : build/import/libodb-mssql/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-mssql/configuration-rules.make,$(dcf_root))
+
+libodb_mssql_installed :=
+
+$(call -include,$(dcf_root)/import/libodb-mssql/configuration-dynamic.make)
+
+ifdef libodb_mssql_installed
+
+ifeq ($(libodb_mssql_installed),y)
+
+$(call export,l: -lodb-mssql -lodb -lodbc,cpp-options: )
+
+else
+
+# Include export stub.
+#
+$(call include,$(scf_root)/export/libodb-mssql/stub.make)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif