summaryrefslogtreecommitdiff
path: root/libxqilla/stub.make
diff options
context:
space:
mode:
Diffstat (limited to 'libxqilla/stub.make')
-rw-r--r--libxqilla/stub.make32
1 files changed, 32 insertions, 0 deletions
diff --git a/libxqilla/stub.make b/libxqilla/stub.make
new file mode 100644
index 0000000..2375023
--- /dev/null
+++ b/libxqilla/stub.make
@@ -0,0 +1,32 @@
+# file : build/import/libxqilla/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/libxqilla/configuration-rules.make,$(dcf_root))
+
+libxqilla_installed :=
+
+$(call -include,$(dcf_root)/import/libxqilla/configuration-dynamic.make)
+
+ifdef libxqilla_installed
+
+ifeq ($(libxqilla_installed),y)
+
+$(call export,l: -lxqilla,cpp-options: )
+
+else
+
+$(call include-once,$(scf_root)/import/libxqilla/rules.make,$(dcf_root))
+
+$(call export,\
+ l: $(dcf_root)/import/libxqilla/xqilla.l,\
+ cpp-options: $(dcf_root)/import/libxqilla/xqilla.l.cpp-options)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif