summaryrefslogtreecommitdiff
path: root/build-0.3/cxx/configuration.make
diff options
context:
space:
mode:
Diffstat (limited to 'build-0.3/cxx/configuration.make')
-rw-r--r--build-0.3/cxx/configuration.make45
1 files changed, 45 insertions, 0 deletions
diff --git a/build-0.3/cxx/configuration.make b/build-0.3/cxx/configuration.make
new file mode 100644
index 0000000..5ad97ae
--- /dev/null
+++ b/build-0.3/cxx/configuration.make
@@ -0,0 +1,45 @@
+# file : build/cxx/configuration.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(bld_root)/cxx/configuration-rules.make,$(dcf_root))
+
+# Static configuration.
+#
+$(call include,$(bld_root)/cxx/configuration-static.make)
+
+
+# Dynamic configuration.
+#
+cxx_id :=
+cxx_optimize :=
+cxx_debug :=
+cxx_rpath :=
+
+cxx_pp_extra_options :=
+cxx_extra_options :=
+cxx_ld_extra_options :=
+cxx_extra_libs :=
+cxx_extra_lib_paths :=
+
+$(call -include,$(dcf_root)/cxx/configuration-dynamic.make)
+
+ifdef cxx_id
+
+$(out_root)/%: cxx_id := $(cxx_id)
+$(out_root)/%: cxx_optimize := $(cxx_optimize)
+$(out_root)/%: cxx_debug := $(cxx_debug)
+$(out_root)/%: cxx_rpath := $(cxx_rpath)
+
+$(out_root)/%: cxx_pp_extra_options := $(cxx_pp_extra_options)
+$(out_root)/%: cxx_extra_options := $(cxx_extra_options)
+$(out_root)/%: cxx_ld_extra_options := $(cxx_ld_extra_options)
+$(out_root)/%: cxx_extra_libs := $(cxx_extra_libs)
+$(out_root)/%: cxx_extra_lib_paths := $(cxx_extra_lib_paths)
+
+else
+
+.NOTPARALLEL:
+
+endif