diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-04 16:41:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-04 16:41:28 +0200 |
commit | 073918a2f4bff3a6f12cfd722db50e3fb0a6db0d (patch) | |
tree | 3262b129c9d4762af7188a7eeb884ee95254ac49 /build/import/libmysqlclient/stub.make | |
parent | 1478050feff847b4899bbda3795a7bbe8a337444 (diff) |
Add libmysqlclient import stub
Diffstat (limited to 'build/import/libmysqlclient/stub.make')
-rw-r--r-- | build/import/libmysqlclient/stub.make | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/build/import/libmysqlclient/stub.make b/build/import/libmysqlclient/stub.make new file mode 100644 index 0000000..dd8d556 --- /dev/null +++ b/build/import/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 |