]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | *FCA : Fri Mar 26 17:27:50 CET 1999 by Federico Carminati |
2 | * define UNIX when LINUX defined | |
3 | ||
4 | ||
d9f43611 | 5 | #if defined(CERNLIB_LXIA64) |
6 | * | |
7 | * Take normal LINUX as basis for Itanium | |
8 | #ifndef CERNLIB_LINUX | |
9 | #define CERNLIB_LINUX | |
10 | #endif | |
11 | #endif | |
12 | ||
b9d0a01d | 13 | #if ((defined(CERNLIB_LINUX))||(defined (CERNLIB_SUN))) |
fe4da5cc | 14 | #ifndef CERNLIB_UNIX |
15 | #define CERNLIB_UNIX | |
16 | #endif | |
17 | #endif | |
18 | ||
19 | #if (defined(CERNLIB_UNIX))&&(!defined(CERNLIB_SINGLE)) | |
20 | #ifndef CERNLIB_DOUBLE | |
21 | #define CERNLIB_DOUBLE | |
22 | #endif | |
23 | #endif | |
24 | ||
25 | #if defined(CERNLIB_DECS)||defined(CERNLIB_QMALPH)||defined(CERNLIB_APOLLO)||defined(CERNLIB_SGI)||defined(CERNLIB_NEXT)||defined(CERNLIB_LINUX)||defined(CERNLIB_MSDOS)||defined(CERNLIB_CONVEX32)||defined(CERNLIB_QFAPOGEE)||defined(CERNLIB_QFEPC)||defined(CERNLIB_QFMSOFT)||defined(CERNLIB_QFDEC)||defined(CERNLIB_WINNT) | |
26 | #ifndef CERNLIB_NOQUAD | |
27 | #define CERNLIB_NOQUAD | |
28 | #endif | |
29 | #endif | |
30 | ||
31 | #if !defined(CERNLIB_NOQUAD) | |
32 | #ifndef CERNLIB_QUAD | |
33 | #define CERNLIB_QUAD | |
34 | #endif | |
35 | #endif | |
36 | ||
37 | #if defined(CERNLIB_QMALPH) | |
38 | #ifndef CERNLIB_FORTRAN | |
39 | #define CERNLIB_FORTRAN | |
40 | #endif | |
41 | #endif | |
42 | ||
43 | #if (defined(CERNLIB_CONVEX))&&(defined(CERNLIB_SINGLE)) | |
44 | #ifndef CERNLIB_CONVEX64 | |
45 | #define CERNLIB_CONVEX64 | |
46 | #endif | |
47 | #endif | |
48 | #if (defined(CERNLIB_CONVEX))&&(!defined(CERNLIB_CONVEX64)) | |
49 | #ifndef CERNLIB_CONVEX32 | |
50 | #define CERNLIB_CONVEX32 | |
51 | #endif | |
52 | #endif | |
53 | #if defined(CERNLIB_CONVEX32)||defined(CERNLIB_CONVEX64) | |
54 | #ifndef CERNLIB_CONVEX | |
55 | #define CERNLIB_CONVEX | |
56 | #endif | |
57 | #endif | |
58 | ||
59 | #if 0 | |
60 | * DEC Fortran 1.0 is used for Windows/NT | |
61 | #endif | |
62 | #if defined(CERNLIB_WINNT) && !defined(CERNLIB_QFMSOFT) | |
63 | #ifndef CERNLIB_DECS | |
64 | #define CERNLIB_DECS | |
65 | #endif | |
66 | ||
67 | #ifndef CERNLIB_QMALPH | |
68 | #define CERNLIB_QMALPH | |
69 | #endif | |
70 | ||
71 | #ifndef CERNLIB_FORTRAN | |
72 | #define CERNLIB_FORTRAN | |
73 | #endif | |
74 | #endif | |
75 | ||
76 | #if (defined(CERNLIB_MSDOS))&&(!defined(CERNLIB_NDP))&&(!defined(CERNLIB_WINNT)) | |
77 | #ifndef CERNLIB_QF2C | |
78 | #define CERNLIB_QF2C | |
79 | #endif | |
80 | #endif | |
81 | ||
82 | #if defined(CERNLIB_LINUX) | |
83 | #ifndef CERNLIB_QF2C | |
84 | #define CERNLIB_QF2C | |
85 | #endif | |
86 | #endif | |
87 | ||
88 | #if defined(CERNLIB_IBMMVS)||defined(CERNLIB_IBMVM) | |
89 | #ifndef CERNLIB_IBM | |
90 | #define CERNLIB_IBM | |
91 | #endif | |
92 | #endif | |
93 | ||
94 | #if defined(CERNLIB_CDC)||defined(CERNLIB_CRAY) | |
95 | #ifndef CERNLIB_SINGLE | |
96 | #define CERNLIB_SINGLE | |
97 | #endif | |
98 | #endif | |
99 | ||
100 | #if defined(CERNLIB_IBM)||defined(CERNLIB_VAX)||defined(CERNLIB_NORD) | |
101 | #ifndef CERNLIB_DOUBLE | |
102 | #define CERNLIB_DOUBLE | |
103 | #endif | |
104 | #endif | |
105 | ||
106 | #if defined(CERNLIB_IBM) | |
107 | #ifndef CERNLIB_QMIBMXA | |
108 | #define CERNLIB_QMIBMXA | |
109 | #endif | |
110 | #endif | |
111 | ||
112 | #if 0 | |
113 | * Defines for the tests not used to build lib | |
114 | #endif | |
115 | ||
116 | #if defined(CERNLIB_DOUBLE) | |
117 | #ifndef CERNLIB_CMPXDOUB | |
118 | #define CERNLIB_CMPXDOUB | |
119 | #endif | |
120 | #endif | |
121 | ||
122 | #if defined(CERNLIB_CRAY) | |
123 | #ifndef CERNLIB_CMPXDOUB | |
124 | #define CERNLIB_CMPXDOUB | |
125 | #endif | |
126 | #endif | |
127 | ||
128 | #if (defined(CERNLIB_UNIX))&&(!defined(CERNLIB_SINGLE)) | |
129 | #ifndef CERNLIB_QIEEE | |
130 | #define CERNLIB_QIEEE | |
131 | #endif | |
132 | #endif | |
133 | ||
134 | #if defined(CERNLIB_IBMRT) | |
135 | #ifndef CERNLIB_IBMRS | |
136 | #define CERNLIB_IBMRS | |
137 | #endif | |
138 | #endif |