summaryrefslogtreecommitdiffstats
path: root/src/config/site.def.example
blob: 7219e82bac467df4c5a3f8c165cddc3580d32a16 (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
/**/# $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 !!!
 */

/*
 * Krb5Root --- where the root of the Kerberos 5 tree should be
 */
#define Krb5Root	/krb5

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

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

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

/* 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 IsodeDir /mit/isode/isode-7.0
#define IsodeLib /mit/isode/isode-7.0/@sys/lib/libisode.a
#define IsodeIncls /mit/isode/isode-7.0/@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

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

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

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

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

/* additional include paths, if needed, such as those needed
   to get special include files, like Kerberos V4 include files */
/* #define	StandardIncludes -I/usr/athena/include */

#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 NO		/* Define this if you are in the
				   athena environment.
				   No one else should define this.  */

/* Define BuildGssapi to be YES if you want to build GSSAPI.  Note: GSSAPI
   doesn't build with C compilers that don't support full ANSI C.  
   For example, the Ultrix C compiler.  GCC, however, does work.
   Project.tmpl defines BuildGssapi to be YES if HasGcc is YES. */

/* #define BuildGssapi YES */

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