~ubuntu-branches/ubuntu/warty/openafs/warty

« back to all changes in this revision

Viewing changes to src/des/des_conf.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 1988 by the Massachusetts Institute of Technology.
 
3
 *
 
4
 * For copying and distribution information, please see the file
 
5
 * <mit-copyright.h>.
 
6
 *
 
7
 * This file contains configuration information for the DES library
 
8
 * which is machine specific; currently, this file contains
 
9
 * configuration information for the vax, the "ibm032" (RT), and
 
10
 * the "PC8086" (IBM PC). 
 
11
 *
 
12
 * Note:  cross-compiled targets must appear BEFORE their corresponding
 
13
 * cross-compiler host.  Otherwise, both will be defined when running
 
14
 * the native compiler on the programs that construct cross-compiled
 
15
 * sources. 
 
16
 */
 
17
 
 
18
#include <afs/param.h>
 
19
#include <mit-cpyright.h>
 
20
 
 
21
/* Machine-type and OS-type based configuration */
 
22
 
 
23
#ifdef PC8086
 
24
#define IBMPC
 
25
#define BITS16
 
26
/* #define BIG */
 
27
#define CROSSMSDOS
 
28
#define LSBFIRST
 
29
 
 
30
#else
 
31
 
 
32
#ifdef vax
 
33
#define VAX
 
34
#ifndef __STDC__                /* not Berkeley PCC */
 
35
#ifndef __GNU__                 /* ditto */
 
36
#ifndef NOASM                   /* are we doing C-only? */
 
37
#define VAXASM
 
38
#endif                          /* NOASM */
 
39
#endif                          /* __GNU__ */
 
40
#endif                          /* __STDC__ */
 
41
#define BITS32
 
42
#define BIG
 
43
#define BSDUNIX
 
44
#define LSBFIRST
 
45
 
 
46
#else
 
47
 
 
48
#ifdef sun
 
49
#define BITS32
 
50
#define BIG
 
51
#define BSDUNIX
 
52
#define MSBFIRST
 
53
 
 
54
#else
 
55
 
 
56
#ifdef  AFS_AIX_ENV
 
57
#define IBMWS
 
58
#define IBMWSASM
 
59
#define BITS32
 
60
#define BIG
 
61
#define BSDUNIX /*Does it mean the default us S5? NO */
 
62
#define MSBFIRST
 
63
#define MUSTALIGN
 
64
#else
 
65
#ifdef multimax
 
66
#define BITS32
 
67
#define BIG
 
68
#define BSDUNIX
 
69
#define LSBFIRST
 
70
#else
 
71
 
 
72
Sorry, you lose.
 
73
Figure out what the machine looks like and fix this file to
 
74
include it.
 
75
#endif /* multimax */
 
76
#endif /* AFS_AIX_ENV */
 
77
#endif /* sun */
 
78
#endif /* vax */
 
79
#endif /* pc8086 */
 
80
 
 
81
/* Language configuration -- are we ANSI or are we Berkeley? */
 
82
 
 
83
#ifndef __STDC__
 
84
#define const
 
85
#endif