Changes for separate source and binary directories.
authorJohn Carr <jfc@mit.edu>
Fri, 25 Sep 1992 03:06:00 +0000 (03:06 +0000)
committerJohn Carr <jfc@mit.edu>
Fri, 25 Sep 1992 03:06:00 +0000 (03:06 +0000)
MIT configuration options.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2408 dc483132-0cff-0310-8789-dd5450dbe970

src/config/site.def

index b3178e1214e88f4226fece36f4a0fd89d398a593..09315aceedea9a179358435929711ca5066c1f41 100644 (file)
 
 #define IsodeLib -L/mit/isode/isode-7.0/@sys/lib -lisode
 #define IsodeDir /mit/isode/isode-7.0
-/*
-#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. */
 
 
 #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
+
+#define Krb5Root       /mit/krb5/rsaix
+#undef LdLibLocations
+#define LdLibLocations -L/usr/athena/lib/shared -L/mit/krb5/rsaix/lib/shared
+#endif
+
+#ifdef UltrixArchitecture
+#define        Krb5Root        /mit/krb5/decmips
 #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 /mit/krb5/src
+#endif
+
 #if defined(VaxArchitecture) || defined(RtArchitecture)
+#ifdef HasGCC
+#ifdef SourceTop
+#define        STDCTopIncludes -I$(SRCTOP)/include/stdc-incl
+#else
 #define        STDCTopIncludes -I$(TOP)/include/stdc-incl
 #endif
+#endif /* HasGCC */
+#endif
+
+#ifdef UltrixArchitecture
+#define MakeCmd gmake
+#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