diff options
author | John Kohl <jtkohl@mit.edu> | 1990-05-30 15:35:06 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1990-05-30 15:35:06 +0000 |
commit | 66513137fec243fba7ee2f96a9a4dbcb863c8545 (patch) | |
tree | c17960c6df4014a00ed63d5282e644bae74abc1f /src/config | |
parent | c5a6192e0a5efe0cd2ee21c6f6c7d5593d19f1c3 (diff) | |
download | krb5-66513137fec243fba7ee2f96a9a4dbcb863c8545.tar.gz krb5-66513137fec243fba7ee2f96a9a4dbcb863c8545.tar.xz krb5-66513137fec243fba7ee2f96a9a4dbcb863c8545.zip |
put DES defines into Imakefiles /config files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@967 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/Project.tmpl | 6 | ||||
-rw-r--r-- | src/config/ibm.cf | 2 | ||||
-rw-r--r-- | src/config/ultrix.cf | 10 | ||||
-rw-r--r-- | src/config/vaxbsd.cf | 1 |
4 files changed, 18 insertions, 1 deletions
diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index 8a2705688..03f1e6e42 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -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) diff --git a/src/config/ibm.cf b/src/config/ibm.cf index fc8efbb81..5b317725d 100644 --- a/src/config/ibm.cf +++ b/src/config/ibm.cf @@ -20,3 +20,5 @@ #define StandardCppDefines -U__STDC__ #define SaberDefines #define StandardDefines -U__STDC__ + +#define DesDefines -DBITS32 -DBIG -DMSBFIRST -DMUSTALIGN diff --git a/src/config/ultrix.cf b/src/config/ultrix.cf index 3af74f2e4..16b0d39cc 100644 --- a/src/config/ultrix.cf +++ b/src/config/ultrix.cf @@ -23,11 +23,21 @@ #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 $ diff --git a/src/config/vaxbsd.cf b/src/config/vaxbsd.cf index 5a4ffef60..52380f21d 100644 --- a/src/config/vaxbsd.cf +++ b/src/config/vaxbsd.cf @@ -27,5 +27,6 @@ #ifdef VaxArchitecture #define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */ +#define DesDefines -DBITS32 -DBIG -DLSBFIRST #endif |