aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile/header.in
blob: 6757abbade68721d1af9a4102b9dd1d2e8d11812 (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
# Compiler Options
CXX            = %{cxx} %{cxx_abi_flags}
LINKER         = %{linker}

PYTHON_EXE     = %{python_exe}

CXXFLAGS       = %{cc_compile_flags}
WARN_FLAGS     = %{cc_warning_flags}
SO_OBJ_FLAGS   = %{shared_flags}

LIB_LINK_CMD   = %{lib_link_cmd}
CLI_LINK_CMD   = %{cli_link_cmd}
TEST_LINK_CMD  = %{test_link_cmd}

LIB_LINKS_TO   = %{link_to}
CLI_LINKS_TO   = %{link_to_botan} $(LIB_LINKS_TO)
TEST_LINKS_TO  = %{link_to_botan} $(LIB_LINKS_TO)

LIB_FLAGS      = $(SO_OBJ_FLAGS) $(CXXFLAGS) $(WARN_FLAGS)
CLI_FLAGS      = $(CXXFLAGS) $(WARN_FLAGS)
TEST_FLAGS     = $(CXXFLAGS) $(WARN_FLAGS)

SCRIPTS_DIR    = %{scripts_dir}
INSTALLED_LIB_DIR = %{prefix}/%{libdir}

CLI_POST_LINK_CMD  = %{cli_post_link_cmd}
TEST_POST_LINK_CMD = %{test_post_link_cmd}