summaryrefslogtreecommitdiffstats
path: root/src/config/site.def
blob: 9d63dc67889b71bda91d84e7fa5d44d768d901a4 (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
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
/**/# $Source$
/**/# $Author$
/**/# $Id$
/**/#

/**/# site:  $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $

/*****************************************************************************
 *                                                                           *
 *			   SITE-SPECIFIC DEFINITIONS                         *
 *                                                                           *
 * Override any of the defaults in *.tmpl here.                              *
 *                                                                           *
 *                                                                           *
 * Make sure you check the following parameters:                             *
 *                                                                           *
 *     1.  HasLargeTmp                                                       *
 *     2.  All the manpage locations & suffixes                              *
 *     3.  All the binary install locations                                  *
 *                                                                           *
 * Note on using DESTDIR:  If you want to install into a scratch directory   *
 * but will eventually move the tree back to the root, compile with DESTDIR  *
 * blank and install with "make install DESTDIR=directory".                  *
 *                                                                           *
 *****************************************************************************/


/* General */
#define InstKmemFlag	-g kmem -m 2755
#define StripInstalledPrograms	YES
#define InstUidFlags	-o root -m 4755

/*
 * SET THESE PARAMETERS FIRST !!!
 */

/*
 * 1.  HasLargeTmp - if your /tmp space is less than a 1meg, you should
 * probably set this to NO
 */
#ifndef HasLargeTmp
#define HasLargeTmp YES
#endif

/*
 * 2. Man page locations & suffixes.
 */
/* AdminManSuffix: man page suffix for administrative programs */
#ifndef AdminManSuffix
#define AdminManSuffix 8
#endif
/* AdminMandir: manual page directory for administrative man pages */
#ifndef AdminMandir
#define AdminMandir /krb5/man/man8
#endif

/* ServerManSuffix: man page suffix for server programs */
#ifndef ServerManSuffix
#define ServerManSuffix 8
#endif
/* ServerMandir: manual page directory for server man pages */
#ifndef ServerMandir
#define ServerMandir /krb5/man/man8
#endif

/* ClientManSuffix: man page suffix for client programs */
#ifndef ClientManSuffix
#define ClientManSuffix 1
#endif
/* ClientMandir: manual page directory for client man pages */
#ifndef ClientMandir
#define ClientMandir /krb5/man/man1
#endif

/*
 * 3. Binary program install areas.
 */
/* AdminBindir: binary install directory for administrative programs */
#ifndef AdminBindir
#define AdminBindir /krb5/admin
#endif

/* ServerBindir: binary install directory for server programs */
#ifndef ServerBindir
#define ServerBindir /krb5/sbin
#endif

/* ClientBindir: binary install directory for client programs */
#ifndef ClientBindir
#define ClientBindir /krb5/bin
#endif

/*****************************************************************************
 *                                                                           *
 *			       Build Parameters                              *
 *                                                                           *
 *****************************************************************************/

/*
 * If you want to use GCC, set HasGcc in the appropriate .cf files.
 */
#ifndef HasGcc
#define HasGcc NO
#endif

/* The -Z flag is a special loader flag at Athena to unmap page zero on
   some architectures that normally allow p0 references, e.g. VAX BSD. */
#ifndef UltrixArchitecture
#define ExtraLoadFlags -Z
#endif

#ifndef DefaultCDebugFlags
#if HasGcc
#define DefaultCDebugFlags OptimizedCDebugFlags DebuggableCDebugFlags
#else
#define DefaultCDebugFlags DebuggableCDebugFlags
#endif
#endif

#if HasNdbm
#define DbmLib
#else
#define DbmLib -ldbm
#endif

/* If you have the Hesiod software and libraries installed, and want to
   use it in some application programs, then turn these on.  If they're
   not turned on, they are left empty in Project.tmpl */
#define HesiodDefines -DHESIOD
#define HesiodLibs -lhesiod

#if 0
/* not yet in use, but maybe someday... */
/* If you have the Zephyr software and libraries installed, and want to
   use it in some application programs, then turn these on.  If they're
   not turned on, they are left empty in Project.tmpl.

   NOTE:  You must have Kerberos v4 in order to use Zephyr.
 */
#define ZephyrDefines -DZEPHYR
#define ZephyrLibs -lzephyr
#endif

/* define IsodeLib to be what you pass to the loader to find the ISODE
   library.  This might want to be -lisode if you have it installed.
   IsodeDir is put into the 'make' variable ISODE. */

#define IsodeLib -L/mit/isode/isode-6.8/@sys/lib -lisode
#define IsodeDir /mit/isode/isode-6.8

/* Re-define PepsyCmd if pepsy isn't in your search path. */

#define PepsyCmd $(ISODE)/@sys/bin/pepsy

#define UseImakeInstalled /* -- turn on if you have imake installed */
#define UseMakedependInstalled /* -- turn on if you have makedepend installed */
#define Krb4ApplCompat /* turn this on if you want selected applications to
			  work with both v4 & v5 code */
#define Krb4KDCCompat /* turn this on if you want the KDC to provide v4
			 tickets from a v5 database */
/* #define Krb4Includes <empty>	-- If you don't want to use our copy of the
   				   Kerberos V4 include files, set this to
				   an empty name, by using the /**/
/* 				   trick */
/* #define Krb4LibList -lquux  -- If -lkrb -ldes is NOT the right thing
   				  to get V4 libraries, define it here
				  to something else */


/* the following might want to be put into a specific architecture
   definition file */

/* #define HasVfprintf -- turn on if you have vfprintf/vsprintf in libc
   			  (might want to be in the architecture-specific
			   configuration file) */
/* #define HasVsyslog -- turn on if you have vsyslog in libc
   			  (might want to be in the architecture-specific
			   configuration file) */
/* #define LdLibLocations -L/foo/bar -- alternate library search paths,
					if needed for some system libraries */
/* #define StandardIncludes -I/foo/bar -- additional include paths, if
					needed, such as those needed
					to get special include files,
					like <ss/ss.h> or <com_err.h> */

#define	AthenaEnv YES		/* Define this if you are in the
				   athena environment.
				   No one else should define this.  */