source: trunk/SOURCE_TOOLS/export2sub

Last change on this file was 19446, checked in by westram, 15 months ago
  • introduce onlyC_flags
    • flags used for C compilation only.
    • similar to cxxflags (references added).
    • pass down onlyC_flags into AxML, CLUSTAL, CLUSTALW, FASTDNAML, FASTTREE, GL, MrBAYES, PHYLIP, PHYML*, RAxML, SINA(unused), SOURCE_TOOLS, SUPPORT, TOOLS, TREEGEN + TREEPUZZLE.
    • set flags to -Werror-implicit-function-declaration
      • error is only effective in a small part of these modules.
      • TODO need to activate warnings → will activate the error as well.
File size: 1.7 KB
Line 
1# -*-Mode: Makefile;-*-
2#
3# --------------------------------------------------------------------------------
4# variables listed here are automatically exported to sub-makefiles
5# documentation for single variables can be found in ../SOURCE_TOOLS/parent_make.txt
6
7export ARB_ORG_MAKEFLAGS
8
9export ARBHOME
10export ARB_64
11export ARBBID
12
13export use_ARB_main
14export use_ARB_main_C
15
16export DEBUG
17export OPENGL
18export RNA3D_LIB
19export ISINA
20
21export MACH
22export DARWIN
23export LINUX
24export DEBIAN
25
26export CC CXX
27
28# [not recommended] instead of testing gcc versions in sub-makefiles ..
29export USE_GCC_46_OR_HIGHER USE_GCC_50_OR_HIGHER USE_GCC_70_OR_HIGHER
30export USE_CLANG
31# .. better use explicit flags describing the bug/workaround
32
33export A_CC  CC_INCLUDES
34export A_CXX CXX_INCLUDES
35export cflags cxxflags shared_cflags onlyC_flags
36
37# these are needed to link SINA vs. sanitized ARB libs:
38export SANI_CFLAGS SANI_CLFLAGS
39
40export POST_COMPILE
41
42export LD_LIBRARY_PATH ARBBUILD_LIBRARY_PATH LIBPATH
43
44export SYSLIBS
45
46export CORE_LIB
47export ARBDB_LIB
48export ARB_CORE_LIBS
49export GL_LIBS_SYS GL_PNGLIBS_SYS
50export TIFFLIBS XMLLIBS
51
52export LINK_STATIC LINK_EXECUTABLE LINK_STATIC_LIB LINK_SHARED_LIB SHARED_LIB_SUFFIX
53
54export MAKEDEPENDFLAGS MAKEDEPEND
55
56export SEP
57export NODIR
58
59export UNIT_TESTS
60export SHOWTODO
61export SANITIZE
62
63# currently used for SINA build only:
64export ARB_RPC_LIBS ARB_RPC_INCLUDE
65
66# support for OPENMP
67export USE_OPENMP
68
69# support for clang static checker
70export CLANG_STATIC_CHECKER
71export CCC_ANALYZER_CPLUSPLUS
72
73# pass down SANITIZER control variables
74export ASAN_OPTIONS LSAN_OPTIONS UBSAN_OPTIONS
75
76# jenkins related
77export SVN_URL
78export SVN_REVISION
79
80# injected variables
81export XLIBS
82export XINCLUDES
83export XAW_LIBS
84export XML_INCLUDES
85
Note: See TracBrowser for help on using the repository browser.