aboutsummaryrefslogtreecommitdiff
path: root/build/configuration-rules.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-15 17:40:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-15 17:40:25 +0200
commitcd63dba445d476317e9a25c9d791a7078a0395c8 (patch)
tree8d921f73a678613e43ebefb8b33fcbbb977cc0d2 /build/configuration-rules.make
parent982db72f1ec9a8e58c59036a388726bb730f44f4 (diff)
Add support for selecting threading implementation
Diffstat (limited to 'build/configuration-rules.make')
-rw-r--r--build/configuration-rules.make18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/configuration-rules.make b/build/configuration-rules.make
new file mode 100644
index 0000000..a198679
--- /dev/null
+++ b/build/configuration-rules.make
@@ -0,0 +1,18 @@
+# file : build/configuration-rules.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(dcf_root)/configuration-dynamic.make: | $(dcf_root)/.
+ $(call message,,$(scf_root)/configure $@)
+
+ifndef %foreign%
+
+disfigure::
+ $(call message,rm $$1,rm -f $$1,$(dcf_root)/configuration-dynamic.make)
+
+endif
+
+ifeq ($(.DEFAULT_GOAL),$(dcf_root)/configuration-dynamic.make)
+.DEFAULT_GOAL :=
+endif