put DES defines into Imakefiles /config files
authorJohn Kohl <jtkohl@mit.edu>
Wed, 30 May 1990 15:35:06 +0000 (15:35 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 30 May 1990 15:35:06 +0000 (15:35 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@967 dc483132-0cff-0310-8789-dd5450dbe970

src/config/Project.tmpl
src/config/ibm.cf
src/config/ultrix.cf
src/config/vaxbsd.cf

index 8a27056888d536a1de2079bed55b13b76ab79cd8..03f1e6e42839b09cec07d327265bd4d9830e2285 100644 (file)
@@ -36,6 +36,9 @@
 #ifndef ArAddCmd
 #define ArAddCmd ar cruv
 #endif
+#ifndef DesDefines
+#define DesDefines YouMustFigureOutYourDesDefines
+#endif
 
 #ifndef PepyPosyRules
 #define        PepyPosyRules()                                                 @@\
@@ -118,6 +121,7 @@ libdir/lib/**/libname.a:                                            @@\
              PEPY = PepyCmd
              POSY = PosyCmd
             TOUCH = TouchCmd
+       DESDEFINES = DesDefines
             ETSRC = $(TOP)/comerr
             SSSRC = $(TOP)/ss
             OSLIB = $(TOP)/lib/os/libos.a
@@ -127,7 +131,7 @@ libdir/lib/**/libname.a:                                            @@\
          ISODELIB = $(ISODE)/@sys/lib/libisode.a
 
            DBMLIB = DbmLib
-          DEPKLIB = $(KRB5LIB) $(OSLIB) $(DESLIB) $(CRCLIB)
+          DEPKLIB = $(KRB5LIB) $(DESLIB) $(OSLIB) $(CRCLIB)
              KLIB = $(DEPKLIB) $(ISODELIB) $(COMERRLIB) $(DBMLIB)
         DEPKDBLIB = $(TOP)/lib/kdb/libkdb.a
            KDBLIB = $(DEPKDBLIB)
index fc8efbb81b4c9561f402f10cbdc58e2e4fdfc493..5b317725dcc4ae806a87ca835ee75c8aac331e31 100644 (file)
@@ -20,3 +20,5 @@
 #define StandardCppDefines -U__STDC__
 #define SaberDefines
 #define StandardDefines -U__STDC__
+
+#define DesDefines -DBITS32 -DBIG -DMSBFIRST -DMUSTALIGN
index 3af74f2e4a26849b1df5a66a1edc7f52bfeb3e51..16b0d39cc013fef27ea08d0bc3eb98abfeb1fe90 100644 (file)
 #ifdef VaxArchitecture
 #define UnalignedReferencesAllowed YES        /* if arbitrary deref is okay */
 #define HasSaberC YES
+#define DesDefines -DBITS32 -DBIG -DLSBFIRST
 #endif
 
 #ifdef MipsArchitecture
 #define HasSaberC YES
 /* #define HasGcc YES */
+#ifdef MIPSEL
+#define DesDefines -DBITS32 -DBIG -DMUSTALIGN -DLSBFIRST
+#else
+#ifdef MIPSEB
+#define DesDefines -DBITS32 -DBIG -DMUSTALIGN -DMSBFIRST
+#else /* not MIPSEB */
+ error: you must figure out what endian your MIPS is!
+#endif /* MIPSEB */
+#endif /* MIPSEL */
 #endif
 
 /**/# platform:  $XConsortium: ultrix.cf,v 1.20 89/12/22 15:56:14 rws Exp $
index 5a4ffef60863773555dcad9864192860882bbbb2..52380f21dc60a8c830b9c0e03059114518513d76 100644 (file)
@@ -27,5 +27,6 @@
 
 #ifdef VaxArchitecture
 #define UnalignedReferencesAllowed YES        /* if arbitrary deref is okay */
+#define DesDefines -DBITS32 -DBIG -DLSBFIRST
 #endif