aboutsummaryrefslogtreecommitdiff
path: root/build/import/libqt/core/stub.make
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-03-23 15:29:00 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-04-22 18:04:37 +0200
commit4b5fde5c42ed096f500a4005fbfba6b198739955 (patch)
treec0ce119d25ad211ce4916332fa87f9a590b8e5cb /build/import/libqt/core/stub.make
parentd0f0e168cac3d117f64fddcca638a18fc4309ba1 (diff)
Add Qt test boilerplate code
Diffstat (limited to 'build/import/libqt/core/stub.make')
-rw-r--r--build/import/libqt/core/stub.make36
1 files changed, 36 insertions, 0 deletions
diff --git a/build/import/libqt/core/stub.make b/build/import/libqt/core/stub.make
new file mode 100644
index 0000000..821eab7
--- /dev/null
+++ b/build/import/libqt/core/stub.make
@@ -0,0 +1,36 @@
+# file : build/import/libqt/core/stub.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2005-2011 Boris Kolpackov
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libqt/configuration-rules.make,$(dcf_root))
+
+libqt_installed :=
+
+$(call -include,$(dcf_root)/import/libqt/configuration-dynamic.make)
+
+ifdef libqt_installed
+
+ifeq ($(libqt_installed),y)
+
+$(call export,\
+ l: $(libqt_core_libs),\
+ cpp-options: ,\
+ cpp-options-inline: $(libqt_core_cppflags))
+
+else
+
+$(call include-once,$(scf_root)/import/libqt/core/rules.make,$(dcf_root))
+
+$(call export,\
+ l: $(dcf_root)/import/libqt/core/core.l,\
+ cpp-options: $(dcf_root)/import/libqt/core/core.l.cpp-options,\
+ cpp-options-inline: )
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif