summaryrefslogtreecommitdiff
path: root/libdbxml/stub.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-05-03 09:51:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-05-03 09:51:56 +0200
commit1e552b818ee2f6680dd6f318c8aaea0b1f857955 (patch)
tree3a3aabb6ee7bcdf9975d7235328d0a48ff46bfe5 /libdbxml/stub.make
Start tracking import stubs with git
Diffstat (limited to 'libdbxml/stub.make')
-rw-r--r--libdbxml/stub.make32
1 files changed, 32 insertions, 0 deletions
diff --git a/libdbxml/stub.make b/libdbxml/stub.make
new file mode 100644
index 0000000..12f5c4b
--- /dev/null
+++ b/libdbxml/stub.make
@@ -0,0 +1,32 @@
+# file : build/import/libdbxml/stub.make
+# author : Boris Kolpackov <boris@kolpackov.net>
+# copyright : Copyright (c) 2005-2010 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