summaryrefslogtreecommitdiff
path: root/build-0.3/cxx/configuration.make
blob: 5ad97ae7799c38ea0a38ecf6953701306358fb52 (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
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