aboutsummaryrefslogtreecommitdiff
path: root/build/import/libmysqlclient/stub.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-06-04 16:41:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-06-04 16:41:28 +0200
commit073918a2f4bff3a6f12cfd722db50e3fb0a6db0d (patch)
tree3262b129c9d4762af7188a7eeb884ee95254ac49 /build/import/libmysqlclient/stub.make
parent1478050feff847b4899bbda3795a7bbe8a337444 (diff)
Add libmysqlclient import stub
Diffstat (limited to 'build/import/libmysqlclient/stub.make')
-rw-r--r--build/import/libmysqlclient/stub.make32
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