summaryrefslogtreecommitdiffstats
path: root/src/config/site.def
blob: ba72da146719ce75e9f8c43be54efec7d7abc977 (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
189
190
191
/**/# $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 !!!
 */

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

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

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

#ifdef SunArchitecture
#define	CcCmd cc -pipe
#endif

/*
 * If you want to use VPATH to do makefile building, set it here.
 */
#undef Use_VPATH

/* 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.

   -T0x400000 has a similar effect on AIX 1.2

   Symbolic debugging is difficult on RT and PS/2 when this option is used. */
#if defined(AIXArchitecture) && OSMajorVersion == 1
#define	ExtraLoadFlags -T0x400000
#else
#if !defined(UltrixArchitecture) && !defined(AIXArchitecture) && !defined(SunArchitecture) && !defined(LinuxArchitecture)
#define ExtraLoadFlags -Z
#endif
#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 /usr/athena/lib/libhesiod.a
#define HesiodIncludes -I/usr/athena/include

#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

#ifndef PS2Architecture
/* 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. */

/* Work around bug in gld; it doesn't like the at-sign in @sys */

#define IsodeDir /mit/isode/isode-7.0
#define IsodeLib -L/mit/isode/isode-7.0/gld-bug-sys/lib -lisode
#define IsodeIncls /mit/isode/isode-7.0/gld-bug-sys/include

/*
 * #define ISODE 7 only if you are using ISODE 7.0 or later.
 */
#define ISODE7

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

#define PepsyCmd IsodeDir/@sys/bin/pepsy
#endif

/* #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 */

#define Krb4LibList /usr/athena/lib/libkrb.a $(KLIBLOC) -l$(DES425LIB)
#define Krb4KdbList /usr/athena/lib/libkdb.a

/* If you have the Hash library it will enable the GSSAPI validation code.
   It will make the GSSAPI library more robust, but it is not strictly 
   necessary. */
#define HasHashLibrary NO

#if 0
/* alternate library search paths, if needed for some system libraries */
#define LdLibLocations -L/usr/athena/lib
#endif

/* additional include paths, if needed, such as those needed
   to get special include files, like <ss/ss.h> or <com_err.h>,
   or Kerberos V4 include files */
#ifdef notdef
#define	StandardIncludes -I/usr/athena/include
#endif

#if defined(AIXArchitecture) && OSMajorVersion == 3
#define	StandardDefines	-D_ALL_SOURCE
/* For all its flaws, gmake has one advantage over AIX make: it supports
   VPATH in the way the Kerberos config files want.   WARNING: if you combine
   RCS and VPATH with gmake will will probably lose.  */
#define MakeCmd gmake
.SUFFIXES:
.SUFFIXES: .et .c .h .o

#undef LdLibLocations
#define LdLibLocations -L/usr/athena/lib/shared -L/mit/krb5/rsaix/lib/shared
#endif

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

/* Define this if you are building for multiple architectures or operating
   systems.  This tells the build where to look for the sources.  */
#ifndef UseInstalled
/* #define SourceTop /u1/krb5/sandbox/build */
#endif

#if defined(VaxArchitecture) || defined(RtArchitecture)
#if HasGcc
#ifdef SourceTop
#define	STDCTopIncludes	-I$(SRCTOP)/include/stdc-incl
#else
#define	STDCTopIncludes	-I$(TOP)/include/stdc-incl
#endif
#endif /* HasGcc */
#endif

/* Define these appropriately if you have tcl installed */
#define HasTcl YES
#define TclIncludes -I/u1/tcl/include
#define TclLibs -L/u1/tcl/lib -ltcl -lm