summaryrefslogtreecommitdiff
path: root/build-0.3/c/gnu/configuration.make
diff options
context:
space:
mode:
authorJörg Frings-Fürst <jff@merkur>2014-05-18 16:08:14 +0200
committerJörg Frings-Fürst <jff@merkur>2014-05-18 16:08:14 +0200
commita15cf65c44d5c224169c32ef5495b68c758134b7 (patch)
tree3419f58fc8e1b315ba8171910ee044c5d467c162 /build-0.3/c/gnu/configuration.make
Imported Upstream version 3.3.0.2upstream/3.3.0.2
Diffstat (limited to 'build-0.3/c/gnu/configuration.make')
-rw-r--r--build-0.3/c/gnu/configuration.make34
1 files changed, 34 insertions, 0 deletions
diff --git a/build-0.3/c/gnu/configuration.make b/build-0.3/c/gnu/configuration.make
new file mode 100644
index 0000000..c2e4a32
--- /dev/null
+++ b/build-0.3/c/gnu/configuration.make
@@ -0,0 +1,34 @@
+# file : build/c/gnu/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)/c/gnu/configuration-rules.make,$(dcf_root))
+
+# Static configuration.
+#
+$(call include,$(bld_root)/c/gnu/configuration-static.make)
+
+ifneq ($(bld_root),$(scf_root))
+$(call -include,$(scf_root)/c/gnu/configuration-static.make)
+endif
+
+# Dynamic configuration.
+#
+c_gnu :=
+c_gnu_optimization_options :=
+
+$(call -include,$(dcf_root)/c/gnu/configuration-dynamic.make)
+
+ifdef c_gnu
+
+c_gnu_debugging_options := $(if $(findstring y,$(c_debug)),-g)
+
+$(out_root)/%: c_gnu_debugging_options := $(c_gnu_debugging_options)
+$(out_root)/%: c_gnu_optimization_options := $(c_gnu_optimization_options)
+
+else
+
+.NOTPARALLEL:
+
+endif