summaryrefslogtreecommitdiff
path: root/libmysqlclient_r/stub.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-18 14:54:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-18 14:54:19 +0200
commit46fc1c393916509cca055b4e13a07930c51d1ec5 (patch)
treec20826d3cc0bc6874d2de5bf03cbac3c961811dc /libmysqlclient_r/stub.make
parent2f70aebbee6c504d2ffa9323d4029f458696051c (diff)
Add stub for multi-threaded version of MySQL client library
Diffstat (limited to 'libmysqlclient_r/stub.make')
-rw-r--r--libmysqlclient_r/stub.make32
1 files changed, 32 insertions, 0 deletions
diff --git a/libmysqlclient_r/stub.make b/libmysqlclient_r/stub.make
new file mode 100644
index 0000000..df65ce9
--- /dev/null
+++ b/libmysqlclient_r/stub.make
@@ -0,0 +1,32 @@
+# file : build/import/libmysqlclient_r/stub.make
+# author : Boris Kolpackov <boris@kolpackov.net>
+# copyright : Copyright (c) 2009-2010 Boris Kolpackov
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libmysqlclient_r/configuration-rules.make,$(dcf_root))
+
+libmysqlclient_r_installed :=
+
+$(call -include,$(dcf_root)/import/libmysqlclient_r/configuration-dynamic.make)
+
+ifdef libmysqlclient_r_installed
+
+ifeq ($(libmysqlclient_r_installed),y)
+
+$(call export,l: -lmysqlclient_r,cpp-options: )
+
+else
+
+$(call include-once,$(scf_root)/import/libmysqlclient_r/rules.make,$(dcf_root))
+
+$(call export,\
+ l: $(dcf_root)/import/libmysqlclient_r/mysqlclient_r.l,\
+ cpp-options: $(dcf_root)/import/libmysqlclient_r/mysqlclient_r.l.cpp-options)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif