summaryrefslogtreecommitdiff
path: root/sofort/ccenv/ccenv.in
blob: 8e5f0e09d680749cbcfbe70b4574c278f1692dcf (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# @ccenv_cfgtype@ system flavor
OS                                      = @ccenv_os@
OS_SEMANTICS                            = @ccenv_os_semantics@

OS_DSO_EXRULES                          = @ccenv_os_dso_exrules@
OS_DSO_LINKAGE                          = @ccenv_os_dso_linkage@

OS_APP_PREFIX                           = @ccenv_os_app_prefix@
OS_APP_SUFFIX                           = @ccenv_os_app_suffix@

OS_LIB_PREFIX                           = @ccenv_os_lib_prefix@
OS_LIB_SUFFIX                           = @ccenv_os_lib_suffix@

OS_IMPLIB_EXT                           = @ccenv_os_implib_ext@
OS_LIBDEF_EXT                           = @ccenv_os_libdef_ext@

OS_ARCHIVE_EXT                          = @ccenv_os_archive_ext@
OS_SONAME                               = @ccenv_os_soname@

OS_LIB_PREFIXED_SUFFIX                  = @ccenv_os_lib_prefixed_suffix@
OS_LIB_SUFFIXED_SUFFIX                  = @ccenv_os_lib_suffixed_suffix@

# @ccenv_cfgtype@ characteristics
CC_HOST                                 = @ccenv_cc_host@
CC_BITS                                 = @ccenv_cc_bits@

CC_ARFMT                                = @ccenv_cc_arfmt@
CC_SOFMT                                = @ccenv_cc_sofmt@
CC_BINFMT                               = @ccenv_cc_binfmt@
CC_UNDERSCORE                           = @ccenv_cc_underscore@
CC_ENVIRONMENT                          = @ccenv_cc_environment@

CC_ARCH_BFD                             = @ccenv_cc_arch_bfd@
CC_ARCH_LLVM                            = @ccenv_cc_arch_llvm@

# incompatible tool variants
AS_ASM                                  = @ccenv_as_asm@
AS_LL                                   = @ccenv_as_ll@
AS_MC                                   = @ccenv_as_mc@

LD_BFD                                  = @ccenv_ld_bfd@
LD_GOLD                                 = @ccenv_ld_gold@
LD_LLD                                  = @ccenv_ld_lld@

OBJDUMP_BFD                             = @ccenv_objdump_bfd@
OBJDUMP_LLVM                            = @ccenv_objdump_llvm@

READELF_BFD                             = @ccenv_readelf_bfd@
READELF_LLVM                            = @ccenv_readelf_llvm@

# @ccenv_cfgtype@ primary tools
CC                                      = @ccenv_cc@
CPP                                     = @ccenv_cpp@
CXX                                     = @ccenv_cxx@

AR                                      = @ccenv_ar@
NM                                      = @ccenv_nm@
OBJDUMP                                 = @ccenv_objdump@
RANLIB                                  = @ccenv_ranlib@
SIZE                                    = @ccenv_size@
STRIP                                   = @ccenv_strip@
STRINGS                                 = @ccenv_strings@

ADDR2LINE                               = @ccenv_addr2line@
COV                                     = @ccenv_cov@
CXXFILT                                 = @ccenv_cxxfilt@
OBJCOPY                                 = @ccenv_objcopy@

ELFEDIT                                 = @ccenv_elfedit@
READELF                                 = @ccenv_readelf@
READOBJ                                 = @ccenv_readobj@

PERK                                    = @ccenv_perk@
MDSO                                    = @ccenv_mdso@
DLLTOOL                                 = @ccenv_dlltool@

WINDMC                                  = @ccenv_windmc@
WINDRC                                  = @ccenv_windrc@

PKGCONF                                 = @ccenv_pkgconf@

# @ccenv_cfgtype@ secondary tools
# note: the direct use of $(@ccenv_makevar_prefix@LD) is highly discouraged
AS                                      = @ccenv_as@
LD                                      = @ccenv_ld@

# @ccenv_cfgtype@ visibility attributes
CFLAGS_ATTR_VISIBILITY_DEFAULT          = -D_ATTR_VISIBILITY_DEFAULT=@ccenv_attr_visibility_default@
CFLAGS_ATTR_VISIBILITY_HIDDEN           = -D_ATTR_VISIBILITY_HIDDEN=@ccenv_attr_visibility_hidden@
CFLAGS_ATTR_VISIBILITY_INTERNAL         = -D_ATTR_VISIBILITY_INTERNAL=@ccenv_attr_visibility_internal@
CFLAGS_ATTR_VISIBILITY_PROTECTED        = -D_ATTR_VISIBILITY_PROTECTED=@ccenv_attr_visibility_protected@

# @ccenv_cfgtype@ cflags
CFLAGS_OS                              += -DSO_LIB_SUFFIX=\"@ccenv_os_lib_suffix@\"
CFLAGS_OS                              += @ccenv_cflags_os@
CFLAGS_PIC                             += @ccenv_cflags_pic@