summaryrefslogtreecommitdiff
path: root/build-0.3/cxx/gnu/configuration.make
blob: 57e00e97dc553a7ed53fe881dc47186b05bc116d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# file      : build/cxx/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)/cxx/gnu/configuration-rules.make,$(dcf_root))

# Static configuration.
#
$(call include,$(bld_root)/cxx/gnu/configuration-static.make)

ifneq ($(bld_root),$(scf_root))
$(call -include,$(scf_root)/cxx/gnu/configuration-static.make)
endif

# Dynamic configuration.
#
cxx_gnu :=
cxx_gnu_optimization_options :=

$(call -include,$(dcf_root)/cxx/gnu/configuration-dynamic.make)

ifdef cxx_gnu

cxx_gnu_debugging_options := $(if $(findstring y,$(cxx_debug)),-g)

$(out_root)/%: cxx_gnu_debugging_options := $(cxx_gnu_debugging_options)
$(out_root)/%: cxx_gnu_optimization_options := $(cxx_gnu_optimization_options)

else

.NOTPARALLEL:

endif