summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-01-19 02:45:38 +0000
committerTheodore Tso <tytso@mit.edu>1994-01-19 02:45:38 +0000
commit66c9d4023a7f17f18f060265a59dc9ed570b6634 (patch)
tree7477638724ee55475e63f2d4b8d94bca6f2b32e6
parent560e44adbb38a103fac14da1f9ce06ba5cd9a331 (diff)
downloadkrb5-66c9d4023a7f17f18f060265a59dc9ed570b6634.tar.gz
krb5-66c9d4023a7f17f18f060265a59dc9ed570b6634.tar.xz
krb5-66c9d4023a7f17f18f060265a59dc9ed570b6634.zip
Example site.def which should be renamed to site.def for releases
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3365 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/config/site.def5
-rw-r--r--src/config/site.def.example274
2 files changed, 279 insertions, 0 deletions
diff --git a/src/config/site.def b/src/config/site.def
index ba0f3dc25..71eece63d 100644
--- a/src/config/site.def
+++ b/src/config/site.def
@@ -217,6 +217,11 @@
(might want to be in the architecture-specific
configuration 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
+
#if 0
/* alternate library search paths, if needed for some system libraries */
#define LdLibLocations -L/usr/athena/lib
diff --git a/src/config/site.def.example b/src/config/site.def.example
new file mode 100644
index 000000000..4d8fa2be4
--- /dev/null
+++ b/src/config/site.def.example
@@ -0,0 +1,274 @@
+/**/# $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 $(KRB5ROOT)/man/man$(ADMIN_MANSUFFIX)
+#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 $(KRB5ROOT)/man/man$(SERVER_MANSUFFIX)
+#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 $(KRB5ROOT)/man/man$(CLIENT_MANSUFFIX)
+#endif
+
+/* FileManSuffix: man page suffix for files */
+#ifndef FileManSuffix
+#define FileManSuffix 5
+#endif
+/* FileMandir: manual page directory for file man pages */
+#ifndef FileMandir
+#define FileMandir $(KRB5ROOT)/man/man$(FILE_MANSUFFIX)
+#endif
+
+/*
+ * 3. Binary program install areas.
+ */
+/* AdminBindir: binary install directory for administrative programs */
+#ifndef AdminBindir
+#define AdminBindir $(KRB5ROOT)/admin
+#endif
+
+/* ServerBindir: binary install directory for server programs */
+#ifndef ServerBindir
+#define ServerBindir $(KRB5ROOT)/sbin
+#endif
+
+/* ClientBindir: binary install directory for client programs */
+#ifndef ClientBindir
+#define ClientBindir $(KRB5ROOT)/bin
+#endif
+
+/* Libdir: install directory for kerberos libraries */
+#ifndef Krb5Libdir
+#define Krb5Libdir $(KRB5ROOT)/lib
+#endif
+
+#ifndef Krb5Incdir
+#define Krb5Incdir $(KRB5ROOT)/include
+#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
+
+/* With gcc, use -g -O. Otherwise use the default (-O). */
+#if !defined(DefaultCDebugFlags) && HasGcc
+#define DefaultCDebugFlags OptimizedCDebugFlags DebuggableCDebugFlags
+#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
+
+#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 yes, you have vfprintf/vsprintf in libc (might want to be in the
+ * architecture-specific configuration file)
+ */
+/* #define HasVfprintf YES */
+
+/*
+ * If yes, you have vsyslog in libc (might want to be in the
+ * architecture-specific configuration file)
+ */
+/* #define HasVsyslog YES */
+
+/*
+ * If yes, you have strdup in libc (might want to be in the
+ * architecture-specific configuration file)
+ */
+/* #define HasStrdup YES */
+
+/*
+ * If yes, you have strerror in libc (might want to be in the
+ * architecture-specific configuration file)
+ */
+/* #define HasStrerror YES */
+
+/*
+ * If yes, you have memmove in libc (might want to be in the
+ * architecture-specific configuration file)
+ */
+/* #define HasMemmove YES */
+
+/*
+ * 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. */
+
+#if HasGcc
+#define BuildGssapi YES
+#else
+#define BuildGssapi NO
+#endif
+
+/* 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(UltrixArchitecture)
+#undef STDCTopIncludes
+#undef CcCmd
+#define CcCmd gcc -pedantic -pipe -Wall -fpcc-struct-return
+#define OptimizedCDebugFlags -O3
+#define DefaultCDebugFlags OptimizedCDebugFlags -g
+#endif
+
+