summaryrefslogtreecommitdiff
path: root/build-0.3/cxx/configuration.make
blob: 4529f62dd1d84e45d3b16ae50fb474d363abec1e (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
35
36
37
38
39
40
41
42
43
44
# file      : build/cxx/configuration.make
# copyright : Copyright (c) 2004-2012 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) $(cxx_pp_cmd_options)
$(out_root)/%: cxx_extra_options    := $(cxx_extra_options) $(cxx_cmd_options)
$(out_root)/%: cxx_ld_extra_options := $(cxx_ld_extra_options) $(cxx_ld_cmd_options)
$(out_root)/%: cxx_extra_libs       := $(cxx_extra_libs) $(cxx_cmd_libs)
$(out_root)/%: cxx_extra_lib_paths  := $(cxx_extra_lib_paths) $(cxx_cmd_lib_paths)

else

.NOTPARALLEL:

endif