From 46fc1c393916509cca055b4e13a07930c51d1ec5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 18 Aug 2010 14:54:19 +0200 Subject: Add stub for multi-threaded version of MySQL client library --- libmysqlclient_r/stub.make | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 libmysqlclient_r/stub.make (limited to 'libmysqlclient_r/stub.make') 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 +# 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 -- cgit v1.1