CMakeVariables.make.in 3 KB
Newer Older
1 2 3 4 5

# ***** BEGIN VARIBLES THAT CAN BE OVERRIDDEN IN CMakeLocal.make.in **************
# CMakeLocal.make.in should be in the directory where you run configure
# in, which need not be the source directory

6 7 8 9
# The following LOCAL_* variables can be overridden in the CMakeLists.txt 
# files directly, inside the VERBATIM section.   However, that will 
# not be used on the windows build, so keep it to unix things.
#
10 11
# use this to add targets to the default all 
# so they are built when make is run by default
12
# LOCAL_BUILD_TARGETS = 
13 14

# use this flag to add -L and -l options to the link line
15
# LOCAL_LINK_FLAGS =
16 17

# use this flag to add -I flags to the compile line
18
# LOCAL_INCLUDE_FLAGS =
19 20 21 22 23 24 25 26 27 28 29 30 31

# use this flag to add compiler options like -g -O, etc
# for the "C" compiler, for gcc these default to -g -O2
USER_CFLAGS   = @CFLAGS@

# use this flag to add compiler options like -g -O, etc
# for the "C++" compiler, for gcc these default to -g -O2
USER_CXXFLAGS = @CXXFLAGS@

# ***** END VARIBLES THAT CAN BE OVERRIDDEN IN CMakeLocal.make.in **************


# This is the path to the top of the Source tree
Bill Hoffman's avatar
Bill Hoffman committed
32 33
topdir = @fullSrcDir@

34 35 36
# This is the directory that contains the source for the CMakeLists.txt file
currentdir = `cd ${srcdir}; pwd`

Ken Martin's avatar
Ken Martin committed
37 38 39
# This is the directory that contains the output for the CMakeLists.txt file
currentbindir = `pwd`

40 41 42
# This is the directory configure was run in
# where the binaries will be placed
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
Bill Hoffman's avatar
Bill Hoffman committed
43

44
# the standard shell for make
Bill Hoffman's avatar
Bill Hoffman committed
45 46 47 48
SHELL = /bin/sh

RANLIB        = @RANLIB@
CC            = @CC@
49
CFLAGS        = @CMAKE_SHLIB_CFLAGS@ @CMAKE_ANSI_CFLAGS@
Bill Hoffman's avatar
Bill Hoffman committed
50 51

CXX           = @CXX@
Ken Martin's avatar
Ken Martin committed
52
CXXFLAGS      = @CMAKE_SHLIB_CFLAGS@ @CMAKE_TEMPLATE_FLAGS@ 
Bill Hoffman's avatar
Bill Hoffman committed
53 54 55 56 57 58 59 60

X_EXTRA_LIBS  = @X_EXTRA_LIBS@
X_PRE_LIBS    = @X_PRE_LIBS@
XLIBS         = @X_LIBS@
prefix        = @prefix@
exec_prefix   = @exec_prefix@
LIB_RUNTIME_DIR = @exec_prefix@/lib

61 62
CMAKE_SHLIB_BUILD_FLAGS = @CMAKE_SHLIB_BUILD_FLAGS@
CMAKE_SHLIB_LINK_FLAGS = @CMAKE_SHLIB_LINK_FLAGS@
Ken Martin's avatar
Ken Martin committed
63 64 65 66
DL_LIBS              = @CMAKE_DL_LIBS@
SHLIB_LD_LIBS        = @CMAKE_SHLIB_LD_LIBS@
SHLIB_SUFFIX         = @CMAKE_SHLIB_SUFFIX@
THREAD_LIBS          = @CMAKE_THREAD_LIBS@
Bill Hoffman's avatar
Bill Hoffman committed
67 68 69 70 71 72 73 74 75 76 77 78

# install support
#
# The following definition can be set to non-null for special systems
# like AFS with replication.  It allows the pathnames used for installation
# to be different than those used for actually reference files at
# run-time.  INSTALL_ROOT is prepended to $prefix and $exec_prefix
# when installing files.
INSTALL_ROOT    =
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin

Bill Hoffman's avatar
Bill Hoffman committed
79
# set up the path to the rulesgen program
80
CMAKE = @CMAKE_CONFIG_DIR@/CMake/Source/CMakeBuildTargets
Bill Hoffman's avatar
Bill Hoffman committed
81

82 83
# C++ compile flags, INCLUDE_FLAGS is set in CMakeTargets.make which
# is generated by CMakeBuildTargets, see CMake/Source
Bill Hoffman's avatar
Bill Hoffman committed
84

Ken Martin's avatar
Ken Martin committed
85
CXX_FLAGS = ${CPPFLAGS} ${USER_CXXFLAGS} ${CXXFLAGS} ${INCLUDE_FLAGS}
Bill Hoffman's avatar
Bill Hoffman committed
86

87 88 89 90
# C compile flags, INCLUDE_FLAGS is set in CMakeTargets.make which
# is generated by CMakeBuildTargets, see CMake/Source

CC_FLAGS = ${CPPFLAGS} ${USER_CFLAGS} ${CFLAGS} ${INCLUDE_FLAGS}
Bill Hoffman's avatar
Bill Hoffman committed
91

Bill Hoffman's avatar
Bill Hoffman committed
92