CMakeVariables.make.in 4.31 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`

37
38
39
# 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
40

41
# the standard shell for make
Bill Hoffman's avatar
Bill Hoffman committed
42
43
44
45
SHELL = /bin/sh

RANLIB        = @RANLIB@
CC            = @CC@
46
CFLAGS        = @CMAKE_SHLIB_CFLAGS@ @ANSI_CFLAGS@
Bill Hoffman's avatar
Bill Hoffman committed
47
48

CXX           = @CXX@
49
CXXFLAGS      = @CMAKE_SHLIB_CFLAGS@ @EXTRA_GCC_FLAG@ @CMAKE_TEMPLATE_FLAGS@ 
Bill Hoffman's avatar
Bill Hoffman committed
50

51
52
JAVA          = @JAVACOMMAND@
JRE           = @JAVACOMMAND@
53
54
55
JAVAC         = @JAVAC@
JAR           = @JAR@
JAVADOC       = @JAVADOC@
Bill Hoffman's avatar
Bill Hoffman committed
56

Bill Lorensen's avatar
Bill Lorensen committed
57
TCLSH         = @TCLSHCOMMAND@
Bill Hoffman's avatar
Bill Hoffman committed
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

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

BUILD_TCL     = @BUILD_TCL@
CLEAN_TCL     = @CLEAN_TCL@
BUILD_JAVA    = @BUILD_JAVA@
CLEAN_JAVA    = @CLEAN_JAVA@
BUILD_PYTHON    = @BUILD_PYTHON@
CLEAN_PYTHON    = @CLEAN_PYTHON@

USE_GRAPHICS_LIBS   = @USE_GRAPHICS_LIBS@
USE_IMAGING_LIBS    = @USE_IMAGING_LIBS@
USE_PATENTED_LIBS   = @USE_PATENTED_LIBS@
USE_CONTRIB_LIBS    = @USE_CONTRIB_LIBS@
USE_LOCAL_LIBS      = @USE_LOCAL_LIBS@

USE_GRAPHICS_PYTHON   = @USE_GRAPHICS_PYTHON@
USE_IMAGING_PYTHON    = @USE_IMAGING_PYTHON@
USE_PATENTED_PYTHON   = @USE_PATENTED_PYTHON@
USE_CONTRIB_PYTHON    = @USE_CONTRIB_PYTHON@
USE_LOCAL_PYTHON      = @USE_LOCAL_PYTHON@

USE_GRAPHICS_JAVA   = @USE_GRAPHICS_JAVA@
USE_IMAGING_JAVA    = @USE_IMAGING_JAVA@
USE_PATENTED_JAVA   = @USE_PATENTED_JAVA@
USE_CONTRIB_JAVA    = @USE_CONTRIB_JAVA@
USE_LOCAL_JAVA      = @USE_LOCAL_JAVA@

TOOLKIT_DEPENDS      = @TOOLKIT_DEPENDS@

93
94
95
CMAKE_TCL_SHLIB_TARGET = @CMAKE_TCL_SHLIB_TARGET@
CMAKE_SHLIB_BUILD_FLAGS = @CMAKE_SHLIB_BUILD_FLAGS@
CMAKE_SHLIB_LINK_FLAGS = @CMAKE_SHLIB_LINK_FLAGS@
Bill Hoffman's avatar
Bill Hoffman committed
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
DL_LIBS              = @DL_LIBS@
SHLIB_LD_LIBS        = @SHLIB_LD_LIBS@
SHLIB_SUFFIX         = @SHLIB_SUFFIX@

THREAD_LIBS          = @THREAD_LIBS@

GRAPHICS_API_OBJ     = @GRAPHICS_API_OBJ@
GRAPHICS_API_FLAGS   = @GRAPHICS_API_FLAGS@  @X_CFLAGS@
GRAPHICS_API_LIBS    = @GRAPHICS_API_LIBS@

CONTROLLER_API_OBJ     = @CONTROLLER_API_OBJ@
CONTROLLER_API_FLAGS   = @CONTROLLER_API_FLAGS@
CONTROLLER_API_LIBS    = @CONTROLLER_API_LIBS@



# 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    =
INSTALL         = @INSTALL@
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin

Bill Hoffman's avatar
Bill Hoffman committed
124
# set up the path to the rulesgen program
125
CMAKE = @CMAKE_CONFIG_DIR@/CMake/Source/CMakeBuildTargets
Bill Hoffman's avatar
Bill Hoffman committed
126
KIT_OBJ =  ${SRC_OBJ} ${EXTRA_KIT_OBJ}
Bill Hoffman's avatar
Bill Hoffman committed
127

Bill Hoffman's avatar
Bill Hoffman committed
128

Bill Hoffman's avatar
Bill Hoffman committed
129

Bill Hoffman's avatar
Bill Hoffman committed
130

131
132
# 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
133

Bill Hoffman's avatar
Bill Hoffman committed
134
CXX_FLAGS = ${CPPFLAGS} ${USER_CXXFLAGS} ${CXXFLAGS} \
Bill Hoffman's avatar
Bill Hoffman committed
135
136
	    ${KIT_FLAGS} ${INCLUDE_FLAGS}

137
138
139
140
# 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
141

Bill Hoffman's avatar
Bill Hoffman committed
142