blob: e47731c6ee8b83b3930f828d062b22eb7014dd51 (
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
|
# file : build/c/configuration.make
# copyright : Copyright (c) 2004-2012 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) $(c_pp_cmd_options)
$(out_root)/%: c_extra_options := $(c_extra_options) $(c_cmd_options)
$(out_root)/%: c_ld_extra_options := $(c_ld_extra_options) $(c_ld_cmd_options)
$(out_root)/%: c_extra_libs := $(c_extra_libs) $(c_cmd_libs)
$(out_root)/%: c_extra_lib_paths := $(c_extra_lib_paths) $(c_cmd_lib_paths)
else
.NOTPARALLEL:
endif
|