~uhh-ssd/+junk/humidity_readout

« back to all changes in this revision

Viewing changes to plplot/plplot-5.9.9/cmake/modules/instdirs.cmake

  • Committer: Joachim Erfle
  • Date: 2013-07-24 13:53:41 UTC
  • Revision ID: joachim.erfle@desy.de-20130724135341-1qojpp701zsn009p
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# cmake/modules/installdirs.cmake
 
2
#
 
3
# Copyright (C) 2006  Alan W. Irwin
 
4
#
 
5
# This file is part of PLplot.
 
6
#
 
7
# PLplot is free software; you can redistribute it and/or modify
 
8
# it under the terms of the GNU Library General Public License as published
 
9
# by the Free Software Foundation; version 2 of the License.
 
10
#
 
11
# PLplot is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
# GNU Library General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU Library General Public License
 
17
# along with the file PLplot; if not, write to the Free Software
 
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 
19
 
 
20
# Module for determining all installation directories for PLplot.
 
21
 
 
22
# Note, use absolute install locations only since relative ones are
 
23
# automatically prefixed with ${CMAKE_INSTALL_PREFIX} which may destroy
 
24
# the fine-tuning of installation locations that we desire.
 
25
 
 
26
# Cached install locations following what is done for the autotools configure
 
27
# script: (CMAKE_INSTALL_SBINDIR, CMAKE_INSTALL_LIBEXECDIR,
 
28
# CMAKE_INSTALL_SHAREDSTATEDIR, CMAKE_INSTALL_LOCALSTATEDIR, and
 
29
# CMAKE_INSTALL_OLDINCLUDEDIR not set because PLplot does not use those
 
30
# install locations).
 
31
 
 
32
set(
 
33
CMAKE_INSTALL_EXEC_PREFIX
 
34
${CMAKE_INSTALL_PREFIX}
 
35
CACHE PATH "install location for architecture-dependent files"
 
36
)
 
37
 
 
38
set(
 
39
CMAKE_INSTALL_BINDIR
 
40
${CMAKE_INSTALL_EXEC_PREFIX}/bin
 
41
CACHE PATH "install location for user executables"
 
42
)
 
43
 
 
44
set(
 
45
CMAKE_INSTALL_DATADIR
 
46
${CMAKE_INSTALL_PREFIX}/share
 
47
CACHE PATH "install location for read-only architecture-independent data"
 
48
)
 
49
 
 
50
set(
 
51
CMAKE_INSTALL_LIBDIR
 
52
${CMAKE_INSTALL_EXEC_PREFIX}/lib
 
53
CACHE PATH "install location for object code libraries"
 
54
)
 
55
 
 
56
set(
 
57
CMAKE_INSTALL_INCLUDEDIR
 
58
${CMAKE_INSTALL_PREFIX}/include
 
59
CACHE PATH "install location for C header files"
 
60
)
 
61
 
 
62
set(
 
63
CMAKE_INSTALL_INFODIR
 
64
${CMAKE_INSTALL_DATADIR}/info
 
65
CACHE PATH "install location for info documentation"
 
66
)
 
67
 
 
68
set(
 
69
CMAKE_INSTALL_MANDIR
 
70
${CMAKE_INSTALL_DATADIR}/man
 
71
CACHE PATH "install location for man documentation"
 
72
)
 
73
 
 
74
# Configured PLplot install locations determined from user-updatable
 
75
# cached values above.
 
76
 
 
77
# Data.
 
78
set(DATA_DIR ${CMAKE_INSTALL_DATADIR}/${PACKAGE}${VERSION})
 
79
 
 
80
# Libraries.
 
81
set(LIB_DIR ${CMAKE_INSTALL_LIBDIR})
 
82
 
 
83
# Headers.
 
84
set(INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR}/${PACKAGE})
 
85
 
 
86
# Binaries.
 
87
set(BIN_DIR ${CMAKE_INSTALL_BINDIR})
 
88
 
 
89
# Shared library path.
 
90
set(SHLIB_DIR ${CMAKE_INSTALL_LIBDIR})
 
91
 
 
92
# Tcl files.
 
93
set(TCL_DIR ${CMAKE_INSTALL_DATADIR}/${PACKAGE}${VERSION}/tcl)
 
94
 
 
95
# Ada source files (*.adb, *.ads) (following recommendations in
 
96
# http://www.ada-france.org/debian/debian-ada-policy.html
 
97
set(ADA_INCLUDE_DIR ${CMAKE_INSTALL_DATADIR}/ada/adainclude/plplotada${LIB_TAG})
 
98
 
 
99
# Ada library information files (*.ali) (following recommendations in
 
100
# http://www.ada-france.org/debian/debian-ada-policy.html
 
101
set(ADA_LIB_DIR ${CMAKE_INSTALL_LIBDIR}/ada/adalib/plplotada${LIB_TAG})
 
102
 
 
103
# Drivers.
 
104
set(DRV_DIR ${CMAKE_INSTALL_LIBDIR}/${PACKAGE}${VERSION}/drivers${LIB_TAG})
 
105
 
 
106
# Documentation.
 
107
set(DOC_DIR ${CMAKE_INSTALL_DATADIR}/doc/${PACKAGE})
 
108
 
 
109
# Info pages.
 
110
set(INFO_DIR ${CMAKE_INSTALL_INFODIR})
 
111
 
 
112
# Man pages.
 
113
set(MAN_DIR ${CMAKE_INSTALL_MANDIR})
 
114
 
 
115
# Other path-related variables.
 
116
 
 
117
# Absolute path of top-level build directory.
 
118
set(BUILD_DIR ${CMAKE_BINARY_DIR})
 
119
 
 
120
# Absolute path of top-level source directory.
 
121
set(SOURCE_DIR ${CMAKE_SOURCE_DIR})
 
122
 
 
123
# The following *_CMD variables are needed in
 
124
# examples/*/Makefile.examples.cmake
 
125
 
 
126
set(LIB_DIR_CMD "-L${LIB_DIR}")
 
127
set(INCLUDE_DIR_CMD "-I${INCLUDE_DIR}")