diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-05-30 14:42:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-05-30 14:42:23 +0200 |
commit | 2f70aebbee6c504d2ffa9323d4029f458696051c (patch) | |
tree | f1015a19016e9883244d4ed840323b387e3252c5 /libmysqlclient/stub.make | |
parent | 1e552b818ee2f6680dd6f318c8aaea0b1f857955 (diff) |
Add stub for MySQL client library
Diffstat (limited to 'libmysqlclient/stub.make')
-rw-r--r-- | libmysqlclient/stub.make | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libmysqlclient/stub.make b/libmysqlclient/stub.make new file mode 100644 index 0000000..dd8d556 --- /dev/null +++ b/libmysqlclient/stub.make @@ -0,0 +1,32 @@ +# file : build/import/libmysqlclient/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/configuration-rules.make,$(dcf_root)) + +libmysqlclient_installed := + +$(call -include,$(dcf_root)/import/libmysqlclient/configuration-dynamic.make) + +ifdef libmysqlclient_installed + +ifeq ($(libmysqlclient_installed),y) + +$(call export,l: -lmysqlclient,cpp-options: ) + +else + +$(call include-once,$(scf_root)/import/libmysqlclient/rules.make,$(dcf_root)) + +$(call export,\ + l: $(dcf_root)/import/libmysqlclient/mysqlclient.l,\ + cpp-options: $(dcf_root)/import/libmysqlclient/mysqlclient.l.cpp-options) + +endif + +else + +.NOTPARALLEL: + +endif |