#ifndef ArAddCmd
#define ArAddCmd ar cruv
#endif
+#ifndef DesDefines
+#define DesDefines YouMustFigureOutYourDesDefines
+#endif
#ifndef PepyPosyRules
#define PepyPosyRules() @@\
PEPY = PepyCmd
POSY = PosyCmd
TOUCH = TouchCmd
+ DESDEFINES = DesDefines
ETSRC = $(TOP)/comerr
SSSRC = $(TOP)/ss
OSLIB = $(TOP)/lib/os/libos.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)
#define StandardCppDefines -U__STDC__
#define SaberDefines
#define StandardDefines -U__STDC__
+
+#define DesDefines -DBITS32 -DBIG -DMSBFIRST -DMUSTALIGN
#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 $
#ifdef VaxArchitecture
#define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */
+#define DesDefines -DBITS32 -DBIG -DLSBFIRST
#endif