blob: 97da2f024c9bf2ccf98030c30d90882fba586f17 (
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/c/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/configuration-rules.make,$(dcf_root))
# Static configuration.
#
$(call include,$(bld_root)/c/configuration-static.make)
# Dynamic configuration.
#
c_id :=
c_optimize :=
c_debug :=
c_rpath :=
c_pp_extra_options :=
c_extra_options :=
c_ld_extra_options :=
c_extra_libs :=
c_extra_lib_paths :=
$(call -include,$(dcf_root)/c/configuration-dynamic.make)
ifdef c_id
$(out_root)/%: c_id := $(c_id)
$(out_root)/%: c_optimize := $(c_optimize)
$(out_root)/%: c_debug := $(c_debug)
$(out_root)/%: c_rpath := $(c_rpath)
$(out_root)/%: c_pp_extra_options := $(c_pp_extra_options)
$(out_root)/%: c_extra_options := $(c_extra_options)
$(out_root)/%: c_ld_extra_options := $(c_ld_extra_options)
$(out_root)/%: c_extra_libs := $(c_extra_libs)
$(out_root)/%: c_extra_lib_paths := $(c_extra_lib_paths)
else
.NOTPARALLEL:
endif
|