# -*-Mode: Makefile;-*-
#
# --------------------------------------------------------------------------------
# variables listed here are automatically exported to sub-makefiles
# documentation for single variables can be found in ../SOURCE_TOOLS/parent_make.txt

export ARBHOME
export ARB_64
export ARBBID

export use_ARB_main
export use_ARB_main_C

export DEBUG
export OPENGL
export RNA3D_LIB

export MACH
export DARWIN
export LINUX
export DEBIAN

export CC CXX

# [not recommended] instead of testing gcc versions in sub-makefiles ..
export USE_GCC_46_OR_HIGHER USE_GCC_50_OR_HIGHER USE_GCC_70_OR_HIGHER
export USE_CLANG
# .. better use explicit flags describing the bug/workaround

export A_CC  CC_INCLUDES
export A_CXX CXX_INCLUDES
export cflags cxxflags shared_cflags

export POST_COMPILE

export LD_LIBRARY_PATH ARBBUILD_LIBRARY_PATH LIBPATH

export SYSLIBS

export CORE_LIB
export ARBDB_LIB
export ARB_CORE_LIBS
export GL_LIBS_SYS GL_PNGLIBS_SYS
export TIFFLIBS XMLLIBS

export LINK_STATIC LINK_EXECUTABLE LINK_STATIC_LIB LINK_SHARED_LIB SHARED_LIB_SUFFIX

export MAKEDEPENDFLAGS MAKEDEPEND

export SEP
export NODIR

export UNIT_TESTS
export SHOWTODO
export SANITIZE

# support for clang static checker
export CLANG_STATIC_CHECKER
export CCC_ANALYZER_CPLUSPLUS

# pass down SANITIZER control variables
export ASAN_OPTIONS LSAN_OPTIONS UBSAN_OPTIONS

# jenkins related
export SVN_URL
export SVN_REVISION

# injected variables
export XLIBS
export XINCLUDES
export XAW_LIBS
export XML_INCLUDES