summaryrefslogtreecommitdiff
path: root/build/import/libdbxml/stub.make
diff options
context:
space:
mode:
Diffstat (limited to 'build/import/libdbxml/stub.make')
-rw-r--r--build/import/libdbxml/stub.make32
1 files changed, 32 insertions, 0 deletions
diff --git a/build/import/libdbxml/stub.make b/build/import/libdbxml/stub.make
new file mode 100644
index 0000000..f8eb9a3
--- /dev/null
+++ b/build/import/libdbxml/stub.make
@@ -0,0 +1,32 @@
+# file : build/import/libdbxml/stub.make
+# author : Boris Kolpackov <boris@kolpackov.net>
+# copyright : Copyright (c) 2005-2009 Boris Kolpackov
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libdbxml/configuration-rules.make,$(dcf_root))
+
+libdbxml_installed :=
+
+$(call -include,$(dcf_root)/import/libdbxml/configuration-dynamic.make)
+
+ifdef libdbxml_installed
+
+ifeq ($(libdbxml_installed),y)
+
+$(call export,l: -ldbxml -lxqilla -lxerces-c -ldb_cxx -ldb,cpp-options: )
+
+else
+
+$(call include-once,$(scf_root)/import/libdbxml/rules.make,$(dcf_root))
+
+$(call export,\
+ l: $(dcf_root)/import/libdbxml/dbxml.l,\
+ cpp-options: $(dcf_root)/import/libdbxml/dbxml.l.cpp-options)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif