File: site.def

package info (click to toggle)
lcgdm 1.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,532 kB
  • sloc: ansic: 226,887; sh: 13,562; perl: 11,575; python: 11,572; cpp: 5,716; sql: 1,824; makefile: 1,301; fortran: 113
file content (203 lines) | stat: -rw-r--r-- 5,877 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
93
94
95
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/*
 * $Id: site.def 13553 2017-11-13 11:21:00Z amanzi $
*/
/*
 * Copyright (C) 1993-2011 by CERN/IT/GD/CT
 * All rights reserved
 */

/*
 * $RCSfile: site.def,v $ $Revision: 13553 $ $Date: 2017-11-13 12:21:00 +0100 (Mon, 13 Nov 2017) $ CERN IT-GD/CT   Jean-Philippe Baud
 */
/* Platform is normally guessed from the CPP predefined symbols */


/* Prefix by default */
prefix = /opt/lcg

/* Default architecture specific libdir name, rewritten by the configure script */
_lib = lib64

/* First define the flavour of Name Server to be built */
#define BuildNameServerAsLFC	YES
#define BuildNameServerAsDPNS	NO
#define EMIBuild		NO

#define ArgusLocation	/usr
#define SEMsgLocation	/usr
#define CgsiGsoapLocation	/usr
#if defined(_WIN32)
#define CupvConfigFile	%%SystemRoot%%\\system32\\drivers\\etc\\CUPVCONFIG
#else
#define CupvConfigFile	/etc/CUPVCONFIG
#endif
#define CupvHost	"UNUSED"
#define DicomcopySpool	$(prefix)/var/log/dicomcopy
#define DliSpool	$(prefix)/var/log/lfc-dli
#define DomainName	cern.ch
#if defined(_WIN32)
#define DpmConfigFile	%%SystemRoot%%\\system32\\drivers\\etc\\DPMCONFIG
#else
#define DpmConfigFile	$(prefix)/etc/DPMCONFIG
#endif
#define DpmcopySpool	$(prefix)/var/log/dpmcopy
#define DpmHost	"UNUSED"
#define DpmSpool	$(prefix)/var/log/dpm
#define FilManDir       $(prefix)/share/man/man4
#define FilManSuffix    4
#define GlobusLocation	/usr
#if defined(__ia64__) || defined(__x86_64)
#define GlobusFlavour	globus
#else
#define GlobusFlavour	globus
#endif
#define GsoapLocation	/usr/local
#define GsoapVersion	2.8
/* add '-z' here, if used with gSOAP v2.7.6e or higher */
#define GsoapWsdl2hFlags
#define ShareDir	$(prefix)/share
#define IdMapFile	$(prefix)/etc/lcgdm-mapfile
#if defined(_WIN32)
#define InstallBinDir	\\cern.ch\dfs\Applications\CERN\LFC\bin
#define InstallSBinDir	\\cern.ch\dfs\Applications\CERN\LFC\bin
#else
#define InstallBinDir	$(prefix)/bin
#define InstallSBinDir	$(prefix)/sbin
#endif
#if defined(_WIN32)
#define InstallIncludeDir       \\cern.ch\dfs\Applications\CERN\LFC\include
#else
#define InstallIncludeDir       $(prefix)/include
#endif
#if defined(_WIN32)
#define InstallLibDir	\\cern.ch\dfs\Applications\CERN\LFC\lib
#else
#define InstallLibDir	$(prefix)/$(_lib)
#endif
#if defined(_WIN32)
#define InstallPerlDir   \\cern.ch\dfs\Applications\CERN\LFC\lib\perl
#elif EMIBuild == NO
#define InstallPerlDir $(prefix)/$(_lib)/perl
#else
#define InstallPerlDir  $(shell perl -MConfig -e '$$x = $$Config{vendorarchexp}; $$x =~ s!$$Config{prefix}!$(prefix)! ; print $$x')
#endif
#define PythonProgram	python
#if defined(_WIN32)
#define InstallPythonDir   \\cern.ch\dfs\Applications\CERN\LFC\lib\python
#else
#define InstallPythonDir   $(shell PythonProgram -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,'$(prefix)'))")
#endif
#define LibManDir       $(prefix)/share/man/man3
#define LibManSuffix    3
#if defined(_WIN32)
#define LocalHostsList	%%SystemRoot%%\\system32\\drivers\\etc\\shift.localhosts
#else
#define LocalHostsList	/etc/shift.localhosts
#endif
#define ManDir  $(prefix)/share/man/man1
#define ManSuffix       1
#define DmonManDir  $(prefix)/share/man/man8
#define DmonManSuffix       8
#define MySQLLocation	/usr
#define NfsRoot	/shift
#if defined(_WIN32)
#define NsConfigFile	%%SystemRoot%%\\system32\\drivers\\etc\\NSCONFIG
#else
#define NsConfigFile	$(prefix)/etc/NSCONFIG
#endif
#define NsHost	"UNUSED"
#if BuildNameServerAsLFC
#define NsHostPfx	lfc
#define NsSpool	$(prefix)/var/log/lfc
#define NsRoot  "/grid"
#else
#if BuildNameServerAsDPNS
#define NsHostPfx	dpns
#define NsSpool	$(prefix)/var/log/dpns
#define NsRoot  "/dpm"
#endif
#endif
#if defined(_WIN32)
#define OperatorDir	%%SystemRoot%%
#else
#define OperatorDir	/etc/operator
#endif
#if defined(_WIN32)
#define RemoteHostsList %%SystemRoot%%\\system32\\drivers\\etc\\shift.remhosts
#else
#define RemoteHostsList /etc/shift.remhosts
#endif
#define RfioSpool	$(prefix)/var/log/rfio
#define SacctDir	$(prefix)/var/log/sacct
#if defined(_WIN32)
#define ShiftConfigFile	%%SystemRoot%%\\system32\\drivers\\etc\\shift.conf
#else
#define ShiftConfigFile	/etc/shift.conf
#endif
#define Srmv1Spool $(prefix)/var/log/srmv1
#define Srmv2Spool $(prefix)/var/log/srmv2
#define Srmv2_2Spool $(prefix)/var/log/srmv2.2
#define StagerSuperGroup	dpmmgr
#define StagerSuperUser		dpmmgr
#define SwigLocation	/usr
/* the swig library location below is rewritten by the configure script */
#define SwigLib    /usr/share/swig/1.3.40
#define EtcDir		$(prefix)/etc
#define SysconfDir	EtcDir/sysconfig
#define InitRcDir	EtcDir/rc.d/init.d
#define LogRotateDir	EtcDir/logrotate.d
#if BuildNameServerAsLFC
#define TopLibraryName		lfc
#else
#if BuildNameServerAsDPNS
#define TopLibraryName		dpm
#else
#define TopLibraryName		lcg-dm-common
#endif
#endif
#define VomsLocation	/usr

#define BuildDicomCopy		NO
#define BuildDLI		NO
#define BuildDPMClient		NO
#define BuildDPMServer		NO
#define BuildInterfaces		YES
#define BuildNameServerClient	YES
#define BuildNameServerDaemon	NO
#define BuildNameServerLibrary	YES
#define BuildRfioClient		NO
#define BuildRfioServer		NO
#define BuildSecurity		YES
#define BuildSRMv1Server	NO
#define BuildSRMv2Server	NO
#define BuildSRMv2_2Server	NO
#define BuildTest		NO
#define PyRunSwig               YES

#define Accounting		YES
#define UseArgus		YES
#define UseCupv			NO
#define UseGSI		YES
#define UseKRB4			NO
#define UseKRB5		NO
#define UseMySQL		NO
#define UseNroff		NO
#define UseOracle		NO
#define UsePostgres		NO
#define UseSEMsg		NO
#define UseVirtualIds		YES
#define UseVOMS			YES

#if BuildSecurity
#define SecMakeStaticLibrary	NO

#if UseHeimdalKrb5
#define Krb5Config		/usr/heimdal/bin/krb5-config
#else
#define Krb5Config		/usr/kerberos/bin/krb5-config
#endif
#define Krb4Config		/usr/kerberos4/bin/krb4-config
#endif /* BuildSecurity */

#define BuildFlavour	lfc
#define BackendFlavour		mysql