summaryrefslogtreecommitdiff
path: root/build-0.3/cxx/configuration-rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'build-0.3/cxx/configuration-rules.make')
-rw-r--r--build-0.3/cxx/configuration-rules.make19
1 files changed, 19 insertions, 0 deletions
diff --git a/build-0.3/cxx/configuration-rules.make b/build-0.3/cxx/configuration-rules.make
new file mode 100644
index 0000000..354791e
--- /dev/null
+++ b/build-0.3/cxx/configuration-rules.make
@@ -0,0 +1,19 @@
+# file : build/cxx/configuration-rules.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(dcf_root)/cxx/configuration-dynamic.make: | $(dcf_root)/cxx/.
+ $(call message,,$(bld_root)/cxx/configure $@ \
+"$(origin cxx_pp_options)" \
+"$(origin cxx_options)" \
+"$(origin cxx_ld_options)" \
+"$(origin cxx_libs)")
+
+ifndef %foreign%
+
+disfigure::
+ $(call message,rm $(dcf_root)/cxx/configuration-dynamic.make,\
+rm -f $(dcf_root)/cxx/configuration-dynamic.make)
+
+endif