diff options
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 |