1 |
|
---|
2 | /* $XConsortium: imakemdep.h,v 1.83 95/04/07 19:47:46 kaleb Exp $ */
|
---|
3 | /* $XFree86: xc/config/imake/imakemdep.h,v 3.12 1995/07/08 10:22:17 dawes Exp $ */
|
---|
4 | /*
|
---|
5 |
|
---|
6 | Copyright (c) 1993, 1994 X Consortium
|
---|
7 |
|
---|
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
|
---|
9 | of this software and associated documentation files (the "Software"), to deal
|
---|
10 | in the Software without restriction, including without limitation the rights
|
---|
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
---|
12 | copies of the Software, and to permit persons to whom the Software is
|
---|
13 | furnished to do so, subject to the following conditions:
|
---|
14 |
|
---|
15 | The above copyright notice and this permission notice shall be included in
|
---|
16 | all copies or substantial portions of the Software.
|
---|
17 |
|
---|
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
---|
21 | X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
---|
22 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
---|
24 |
|
---|
25 | Except as contained in this notice, the name of the X Consortium shall not be
|
---|
26 | used in advertising or otherwise to promote the sale, use or other dealings
|
---|
27 | in this Software without prior written authorization from the X Consortium.
|
---|
28 |
|
---|
29 | */
|
---|
30 |
|
---|
31 |
|
---|
32 | /*
|
---|
33 | * This file contains machine-dependent constants for the imake utility.
|
---|
34 | * When porting imake, read each of the steps below and add in any necessary
|
---|
35 | * definitions. In general you should *not* edit ccimake.c or imake.c!
|
---|
36 | */
|
---|
37 |
|
---|
38 | #ifdef CCIMAKE
|
---|
39 | /*
|
---|
40 | * Step 1: imake_ccflags
|
---|
41 | * Define any special flags that will be needed to get imake.c to compile.
|
---|
42 | * These will be passed to the compile along with the contents of the
|
---|
43 | * make variable BOOTSTRAPCFLAGS.
|
---|
44 | */
|
---|
45 | #ifdef hpux
|
---|
46 | #ifdef hp9000s800
|
---|
47 | #define imake_ccflags "-DSYSV"
|
---|
48 | #else
|
---|
49 | #define imake_ccflags "-Wc,-Nd4000,-Ns3000 -DSYSV"
|
---|
50 | #endif
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #if defined(macII) || defined(_AUX_SOURCE)
|
---|
54 | #define imake_ccflags "-DmacII -DSYSV"
|
---|
55 | #endif
|
---|
56 |
|
---|
57 | #ifdef stellar
|
---|
58 | #define imake_ccflags "-DSYSV"
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | #if defined(USL) || defined(Oki) || defined(NCR)
|
---|
62 | #define imake_ccflags "-Xc -DSVR4"
|
---|
63 | #endif
|
---|
64 |
|
---|
65 | #ifdef sony
|
---|
66 | #if defined(SYSTYPE_SYSV) || defined(_SYSTYPE_SYSV)
|
---|
67 | #define imake_ccflags "-DSVR4"
|
---|
68 | #else
|
---|
69 | #include <sys/param.h>
|
---|
70 | #if NEWSOS < 41
|
---|
71 | #define imake_ccflags "-Dbsd43 -DNOSTDHDRS"
|
---|
72 | #else
|
---|
73 | #if NEWSOS < 42
|
---|
74 | #define imake_ccflags "-Dbsd43"
|
---|
75 | #endif
|
---|
76 | #endif
|
---|
77 | #endif
|
---|
78 | #endif
|
---|
79 |
|
---|
80 | #ifdef _CRAY
|
---|
81 | #define imake_ccflags "-DSYSV -DUSG"
|
---|
82 | #endif
|
---|
83 |
|
---|
84 | #if defined(_IBMR2) || defined(aix)
|
---|
85 | #define imake_ccflags "-Daix -DSYSV"
|
---|
86 | #endif
|
---|
87 |
|
---|
88 | #ifdef Mips
|
---|
89 | # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
|
---|
90 | # define imake_ccflags "-DBSD43"
|
---|
91 | # else
|
---|
92 | # define imake_ccflags "-DSYSV"
|
---|
93 | # endif
|
---|
94 | #endif
|
---|
95 |
|
---|
96 | #ifdef is68k
|
---|
97 | #define imake_ccflags "-Dluna -Duniosb"
|
---|
98 | #endif
|
---|
99 |
|
---|
100 | #ifdef SYSV386
|
---|
101 | # ifdef SVR4
|
---|
102 | # define imake_ccflags "-Xc -DSVR4"
|
---|
103 | # else
|
---|
104 | # define imake_ccflags "-DSYSV"
|
---|
105 | # endif
|
---|
106 | #endif
|
---|
107 |
|
---|
108 | #ifdef SVR4
|
---|
109 | # ifdef i386
|
---|
110 | # define imake_ccflags "-Xc -DSVR4"
|
---|
111 | # endif
|
---|
112 | #endif
|
---|
113 |
|
---|
114 | #ifdef SYSV
|
---|
115 | # ifdef i386
|
---|
116 | # define imake_ccflags "-DSYSV"
|
---|
117 | # endif
|
---|
118 | #endif
|
---|
119 |
|
---|
120 | #ifdef __convex__
|
---|
121 | #define imake_ccflags "-fn -tm c1"
|
---|
122 | #endif
|
---|
123 |
|
---|
124 | #ifdef apollo
|
---|
125 | #define imake_ccflags "-DX_NOT_POSIX"
|
---|
126 | #endif
|
---|
127 |
|
---|
128 | #ifdef WIN32
|
---|
129 | #define imake_ccflags "-nologo -batch -D__STDC__"
|
---|
130 | #endif
|
---|
131 |
|
---|
132 | #ifdef __uxp__
|
---|
133 | #define imake_ccflags "-DSVR4 -DANSICPP"
|
---|
134 | #endif
|
---|
135 |
|
---|
136 | #ifdef __sxg__
|
---|
137 | #define imake_ccflags "-DSYSV -DUSG -DNOSTDHDRS"
|
---|
138 | #endif
|
---|
139 |
|
---|
140 | #ifdef sequent
|
---|
141 | #define imake_ccflags "-DX_NOT_STDC_ENV -DX_NOT_POSIX"
|
---|
142 | #endif
|
---|
143 |
|
---|
144 | #ifdef _SEQUENT_
|
---|
145 | #define imake_ccflags "-DSYSV -DUSG"
|
---|
146 | #endif
|
---|
147 |
|
---|
148 | #if defined(SX) || defined(PC_UX)
|
---|
149 | #define imake_ccflags "-DSYSV"
|
---|
150 | #endif
|
---|
151 |
|
---|
152 | #ifdef nec_ews_svr2
|
---|
153 | #define imake_ccflags "-DUSG"
|
---|
154 | #endif
|
---|
155 |
|
---|
156 | #if defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up) || defined(_nec_ft)
|
---|
157 | #define imake_ccflags "-DSVR4"
|
---|
158 | #endif
|
---|
159 |
|
---|
160 | #ifdef MACH
|
---|
161 | #define imake_ccflags "-DNOSTDHDRS"
|
---|
162 | #endif
|
---|
163 |
|
---|
164 | /* this is for OS/2 under EMX. This won't work with DOS */
|
---|
165 | #if defined(__EMX__)
|
---|
166 | #define imake_ccflags "-DBSD43"
|
---|
167 | #endif
|
---|
168 |
|
---|
169 | #else /* not CCIMAKE */
|
---|
170 | #ifndef MAKEDEPEND
|
---|
171 | /*
|
---|
172 | * Step 2: dup2
|
---|
173 | * If your OS doesn't have a dup2() system call to duplicate one file
|
---|
174 | * descriptor onto another, define such a mechanism here (if you don't
|
---|
175 | * already fall under the existing category(ies).
|
---|
176 | */
|
---|
177 | #if defined(SYSV) && !defined(_CRAY) && !defined(Mips) && !defined(_SEQUENT_)
|
---|
178 | #define dup2(fd1,fd2) ((fd1 == fd2) ? fd1 : (close(fd2), \
|
---|
179 | fcntl(fd1, F_DUPFD, fd2)))
|
---|
180 | #endif
|
---|
181 |
|
---|
182 |
|
---|
183 | /*
|
---|
184 | * Step 3: FIXUP_CPP_WHITESPACE
|
---|
185 | * If your cpp collapses tabs macro expansions into a single space and
|
---|
186 | * replaces escaped newlines with a space, define this symbol. This will
|
---|
187 | * cause imake to attempt to patch up the generated Makefile by looking
|
---|
188 | * for lines that have colons in them (this is why the rules file escapes
|
---|
189 | * all colons). One way to tell if you need this is to see whether or not
|
---|
190 | * your Makefiles have no tabs in them and lots of @@ strings.
|
---|
191 | */
|
---|
192 | #if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || (defined(AMOEBA) && defined(CROSS_COMPILE))
|
---|
193 | #define FIXUP_CPP_WHITESPACE
|
---|
194 | #endif
|
---|
195 | #ifdef WIN32
|
---|
196 | #define REMOVE_CPP_LEADSPACE
|
---|
197 | #define INLINE_SYNTAX
|
---|
198 | #define MAGIC_MAKE_VARS
|
---|
199 | #endif
|
---|
200 | #ifdef __minix_vmd
|
---|
201 | #define FIXUP_CPP_WHITESPACE
|
---|
202 | #endif
|
---|
203 |
|
---|
204 | /*
|
---|
205 | * Step 4: USE_CC_E, DEFAULT_CC, DEFAULT_CPP
|
---|
206 | * If you want to use cc -E instead of cpp, define USE_CC_E.
|
---|
207 | * If use cc -E but want a different compiler, define DEFAULT_CC.
|
---|
208 | * If the cpp you need is not in /lib/cpp, define DEFAULT_CPP.
|
---|
209 | */
|
---|
210 | #ifdef hpux
|
---|
211 | #define USE_CC_E
|
---|
212 | #endif
|
---|
213 | #ifdef WIN32
|
---|
214 | #define USE_CC_E
|
---|
215 | #define DEFAULT_CC "cl"
|
---|
216 | #endif
|
---|
217 | #ifdef apollo
|
---|
218 | #define DEFAULT_CPP "/usr/lib/cpp"
|
---|
219 | #endif
|
---|
220 | #if defined(_IBMR2) && !defined(DEFAULT_CPP)
|
---|
221 | #define DEFAULT_CPP "/usr/lpp/X11/Xamples/util/cpp/cpp"
|
---|
222 | #endif
|
---|
223 | #if defined(sun) && defined(SVR4)
|
---|
224 | #define DEFAULT_CPP "/usr/ccs/lib/cpp"
|
---|
225 | #endif
|
---|
226 | #ifdef __bsdi__
|
---|
227 | #define DEFAULT_CPP "/usr/bin/cpp"
|
---|
228 | #endif
|
---|
229 | #ifdef __uxp__
|
---|
230 | #define DEFAULT_CPP "/usr/ccs/lib/cpp"
|
---|
231 | #endif
|
---|
232 | #ifdef __sxg__
|
---|
233 | #define DEFAULT_CPP "/usr/lib/cpp"
|
---|
234 | #endif
|
---|
235 | #ifdef _CRAY
|
---|
236 | #define DEFAULT_CPP "/lib/pcpp"
|
---|
237 | #endif
|
---|
238 | #if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
---|
239 | #define DEFAULT_CPP "/usr/libexec/cpp"
|
---|
240 | #endif
|
---|
241 | #ifdef MACH
|
---|
242 | #define USE_CC_E
|
---|
243 | #endif
|
---|
244 | #ifdef __minix_vmd
|
---|
245 | #define DEFAULT_CPP "/usr/lib/cpp"
|
---|
246 | #endif
|
---|
247 | #if defined(__EMX__)
|
---|
248 | /* expects cpp in PATH */
|
---|
249 | #define DEFAULT_CPP "cpp"
|
---|
250 | #endif
|
---|
251 |
|
---|
252 | /*
|
---|
253 | * Step 5: cpp_argv
|
---|
254 | * The following table contains the flags that should be passed
|
---|
255 | * whenever a Makefile is being generated. If your preprocessor
|
---|
256 | * doesn't predefine any unique symbols, choose one and add it to the
|
---|
257 | * end of this table. Then, do the following:
|
---|
258 | *
|
---|
259 | * a. Use this symbol in Imake.tmpl when setting MacroFile.
|
---|
260 | * b. Put this symbol in the definition of BootstrapCFlags in your
|
---|
261 | * <platform>.cf file.
|
---|
262 | * c. When doing a make World, always add "BOOTSTRAPCFLAGS=-Dsymbol"
|
---|
263 | * to the end of the command line.
|
---|
264 | *
|
---|
265 | * Note that you may define more than one symbol (useful for platforms
|
---|
266 | * that support multiple operating systems).
|
---|
267 | */
|
---|
268 |
|
---|
269 | #define ARGUMENTS 50 /* number of arguments in various arrays */
|
---|
270 | char *cpp_argv[ARGUMENTS] = {
|
---|
271 | "cc", /* replaced by the actual program to exec */
|
---|
272 | "-I.", /* add current directory to include path */
|
---|
273 | #ifdef unix
|
---|
274 | "-Uunix", /* remove unix symbol so that filename unix.c okay */
|
---|
275 | #endif
|
---|
276 | #if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH)
|
---|
277 | # ifdef __i386__
|
---|
278 | "-D__i386__",
|
---|
279 | # endif
|
---|
280 | # ifdef __x86_64__
|
---|
281 | "-D__x86_64__",
|
---|
282 | # endif
|
---|
283 | # ifdef __GNUC__
|
---|
284 | "-traditional",
|
---|
285 | # endif
|
---|
286 | #endif
|
---|
287 | #ifdef M4330
|
---|
288 | "-DM4330", /* Tektronix */
|
---|
289 | #endif
|
---|
290 | #ifdef M4310
|
---|
291 | "-DM4310", /* Tektronix */
|
---|
292 | #endif
|
---|
293 | #if defined(macII) || defined(_AUX_SOURCE)
|
---|
294 | "-DmacII", /* Apple A/UX */
|
---|
295 | #endif
|
---|
296 | #ifdef USL
|
---|
297 | "-DUSL", /* USL */
|
---|
298 | #endif
|
---|
299 | #ifdef sony
|
---|
300 | "-Dsony", /* Sony */
|
---|
301 | #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
|
---|
302 | "-Dbsd43",
|
---|
303 | #endif
|
---|
304 | #endif
|
---|
305 | #ifdef _IBMR2
|
---|
306 | "-D_IBMR2", /* IBM RS-6000 (we ensured that aix is defined above */
|
---|
307 | #ifndef aix
|
---|
308 | #define aix /* allow BOOTSTRAPCFLAGS="-D_IBMR2" */
|
---|
309 | #endif
|
---|
310 | #endif /* _IBMR2 */
|
---|
311 | #ifdef aix
|
---|
312 | "-Daix", /* AIX instead of AOS */
|
---|
313 | #ifndef ibm
|
---|
314 | #define ibm /* allow BOOTSTRAPCFLAGS="-Daix" */
|
---|
315 | #endif
|
---|
316 | #endif /* aix */
|
---|
317 | #ifdef ibm
|
---|
318 | "-Dibm", /* IBM PS/2 and RT under both AOS and AIX */
|
---|
319 | #endif
|
---|
320 | #ifdef luna
|
---|
321 | "-Dluna", /* OMRON luna 68K and 88K */
|
---|
322 | #ifdef luna1
|
---|
323 | "-Dluna1",
|
---|
324 | #endif
|
---|
325 | #ifdef luna88k /* need not on UniOS-Mach Vers. 1.13 */
|
---|
326 | "-traditional", /* for some older version */
|
---|
327 | #endif /* instead of "-DXCOMM=\\#" */
|
---|
328 | #ifdef uniosb
|
---|
329 | "-Duniosb",
|
---|
330 | #endif
|
---|
331 | #ifdef uniosu
|
---|
332 | "-Duniosu",
|
---|
333 | #endif
|
---|
334 | #endif /* luna */
|
---|
335 | #ifdef _CRAY /* Cray */
|
---|
336 | "-Ucray",
|
---|
337 | #endif
|
---|
338 | #ifdef Mips
|
---|
339 | "-DMips", /* Define and use Mips for Mips Co. OS/mach. */
|
---|
340 | # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
|
---|
341 | "-DBSD43", /* Mips RISCOS supports two environments */
|
---|
342 | # else
|
---|
343 | "-DSYSV", /* System V environment is the default */
|
---|
344 | # endif
|
---|
345 | #endif /* Mips */
|
---|
346 | #ifdef MOTOROLA
|
---|
347 | "-DMOTOROLA", /* Motorola Delta Systems */
|
---|
348 | # ifdef SYSV
|
---|
349 | "-DSYSV",
|
---|
350 | # endif
|
---|
351 | # ifdef SVR4
|
---|
352 | "-DSVR4",
|
---|
353 | # endif
|
---|
354 | #endif /* MOTOROLA */
|
---|
355 | #ifdef i386
|
---|
356 | "-Di386",
|
---|
357 | # ifdef SVR4
|
---|
358 | "-DSVR4",
|
---|
359 | # endif
|
---|
360 | # ifdef SYSV
|
---|
361 | "-DSYSV",
|
---|
362 | # ifdef ISC
|
---|
363 | "-DISC",
|
---|
364 | # ifdef ISC40
|
---|
365 | "-DISC40", /* ISC 4.0 */
|
---|
366 | # else
|
---|
367 | # ifdef ISC202
|
---|
368 | "-DISC202", /* ISC 2.0.2 */
|
---|
369 | # else
|
---|
370 | # ifdef ISC30
|
---|
371 | "-DISC30", /* ISC 3.0 */
|
---|
372 | # else
|
---|
373 | "-DISC22", /* ISC 2.2.1 */
|
---|
374 | # endif
|
---|
375 | # endif
|
---|
376 | # endif
|
---|
377 | # endif
|
---|
378 | # ifdef SCO
|
---|
379 | "-DSCO",
|
---|
380 | # ifdef SCO324
|
---|
381 | "-DSCO324",
|
---|
382 | # endif
|
---|
383 | # endif
|
---|
384 | # endif
|
---|
385 | # ifdef ESIX
|
---|
386 | "-DESIX",
|
---|
387 | # endif
|
---|
388 | # ifdef ATT
|
---|
389 | "-DATT",
|
---|
390 | # endif
|
---|
391 | # ifdef DELL
|
---|
392 | "-DDELL",
|
---|
393 | # endif
|
---|
394 | #endif
|
---|
395 | #ifdef SYSV386 /* System V/386 folks, obsolete */
|
---|
396 | "-Di386",
|
---|
397 | # ifdef SVR4
|
---|
398 | "-DSVR4",
|
---|
399 | # endif
|
---|
400 | # ifdef ISC
|
---|
401 | "-DISC",
|
---|
402 | # ifdef ISC40
|
---|
403 | "-DISC40", /* ISC 4.0 */
|
---|
404 | # else
|
---|
405 | # ifdef ISC202
|
---|
406 | "-DISC202", /* ISC 2.0.2 */
|
---|
407 | # else
|
---|
408 | # ifdef ISC30
|
---|
409 | "-DISC30", /* ISC 3.0 */
|
---|
410 | # else
|
---|
411 | "-DISC22", /* ISC 2.2.1 */
|
---|
412 | # endif
|
---|
413 | # endif
|
---|
414 | # endif
|
---|
415 | # endif
|
---|
416 | # ifdef SCO
|
---|
417 | "-DSCO",
|
---|
418 | # ifdef SCO324
|
---|
419 | "-DSCO324",
|
---|
420 | # endif
|
---|
421 | # endif
|
---|
422 | # ifdef ESIX
|
---|
423 | "-DESIX",
|
---|
424 | # endif
|
---|
425 | # ifdef ATT
|
---|
426 | "-DATT",
|
---|
427 | # endif
|
---|
428 | # ifdef DELL
|
---|
429 | "-DDELL",
|
---|
430 | # endif
|
---|
431 | #endif
|
---|
432 | #ifdef __osf__
|
---|
433 | "-D__osf__",
|
---|
434 | # ifdef __mips__
|
---|
435 | "-D__mips__",
|
---|
436 | # endif
|
---|
437 | # ifdef __alpha
|
---|
438 | "-D__alpha",
|
---|
439 | # endif
|
---|
440 | # ifdef __i386__
|
---|
441 | "-D__i386__",
|
---|
442 | # endif
|
---|
443 | # ifdef __GNUC__
|
---|
444 | "-traditional",
|
---|
445 | # endif
|
---|
446 | #endif
|
---|
447 | #ifdef Oki
|
---|
448 | "-DOki",
|
---|
449 | #endif
|
---|
450 | #ifdef sun
|
---|
451 | #ifdef SVR4
|
---|
452 | "-DSVR4",
|
---|
453 | #endif
|
---|
454 | #endif
|
---|
455 | #ifdef WIN32
|
---|
456 | "-DWIN32",
|
---|
457 | "-nologo",
|
---|
458 | "-batch",
|
---|
459 | "-D__STDC__",
|
---|
460 | #endif
|
---|
461 | #ifdef NCR
|
---|
462 | "-DNCR", /* NCR */
|
---|
463 | #endif
|
---|
464 | #ifdef linux
|
---|
465 | "-traditional",
|
---|
466 | "-Dlinux",
|
---|
467 | #endif
|
---|
468 | #ifdef __uxp__
|
---|
469 | "-D__uxp__",
|
---|
470 | #endif
|
---|
471 | #ifdef __sxg__
|
---|
472 | "-D__sxg__",
|
---|
473 | #endif
|
---|
474 | #ifdef nec_ews_svr2
|
---|
475 | "-Dnec_ews_svr2",
|
---|
476 | #endif
|
---|
477 | #ifdef AMOEBA
|
---|
478 | "-DAMOEBA",
|
---|
479 | # ifdef CROSS_COMPILE
|
---|
480 | "-DCROSS_COMPILE",
|
---|
481 | # ifdef CROSS_i80386
|
---|
482 | "-Di80386",
|
---|
483 | # endif
|
---|
484 | # ifdef CROSS_sparc
|
---|
485 | "-Dsparc",
|
---|
486 | # endif
|
---|
487 | # ifdef CROSS_mc68000
|
---|
488 | "-Dmc68000",
|
---|
489 | # endif
|
---|
490 | # else
|
---|
491 | # ifdef i80386
|
---|
492 | "-Di80386",
|
---|
493 | # endif
|
---|
494 | # ifdef sparc
|
---|
495 | "-Dsparc",
|
---|
496 | # endif
|
---|
497 | # ifdef mc68000
|
---|
498 | "-Dmc68000",
|
---|
499 | # endif
|
---|
500 | # endif
|
---|
501 | #endif
|
---|
502 | #ifdef __minix_vmd
|
---|
503 | "-Dminix",
|
---|
504 | #endif
|
---|
505 |
|
---|
506 | #if defined(__EMX__)
|
---|
507 | "-traditional",
|
---|
508 | "-Demxos2",
|
---|
509 | #endif
|
---|
510 |
|
---|
511 | };
|
---|
512 | #else /* else MAKEDEPEND */
|
---|
513 | /*
|
---|
514 | * Step 6: predefs
|
---|
515 | * If your compiler and/or preprocessor define any specific symbols, add
|
---|
516 | * them to the the following table. The definition of struct symtab is
|
---|
517 | * in util/makedepend/def.h.
|
---|
518 | */
|
---|
519 | struct symtab predefs[] = {
|
---|
520 | #ifdef apollo
|
---|
521 | {"apollo", "1"},
|
---|
522 | #endif
|
---|
523 | #ifdef ibm032
|
---|
524 | {"ibm032", "1"},
|
---|
525 | #endif
|
---|
526 | #ifdef ibm
|
---|
527 | {"ibm", "1"},
|
---|
528 | #endif
|
---|
529 | #ifdef aix
|
---|
530 | {"aix", "1"},
|
---|
531 | #endif
|
---|
532 | #ifdef sun
|
---|
533 | {"sun", "1"},
|
---|
534 | #endif
|
---|
535 | #ifdef sun2
|
---|
536 | {"sun2", "1"},
|
---|
537 | #endif
|
---|
538 | #ifdef sun3
|
---|
539 | {"sun3", "1"},
|
---|
540 | #endif
|
---|
541 | #ifdef sun4
|
---|
542 | {"sun4", "1"},
|
---|
543 | #endif
|
---|
544 | #ifdef sparc
|
---|
545 | {"sparc", "1"},
|
---|
546 | #endif
|
---|
547 | #ifdef __sparc__
|
---|
548 | {"__sparc__", "1"},
|
---|
549 | #endif
|
---|
550 | #ifdef hpux
|
---|
551 | {"hpux", "1"},
|
---|
552 | #endif
|
---|
553 | #ifdef __hpux
|
---|
554 | {"__hpux", "1"},
|
---|
555 | #endif
|
---|
556 | #ifdef __hp9000s800
|
---|
557 | {"__hp9000s800", "1"},
|
---|
558 | #endif
|
---|
559 | #ifdef __hp9000s700
|
---|
560 | {"__hp9000s700", "1"},
|
---|
561 | #endif
|
---|
562 | #ifdef vax
|
---|
563 | {"vax", "1"},
|
---|
564 | #endif
|
---|
565 | #ifdef VMS
|
---|
566 | {"VMS", "1"},
|
---|
567 | #endif
|
---|
568 | #ifdef cray
|
---|
569 | {"cray", "1"},
|
---|
570 | #endif
|
---|
571 | #ifdef CRAY
|
---|
572 | {"CRAY", "1"},
|
---|
573 | #endif
|
---|
574 | #ifdef _CRAY
|
---|
575 | {"_CRAY", "1"},
|
---|
576 | #endif
|
---|
577 | #ifdef att
|
---|
578 | {"att", "1"},
|
---|
579 | #endif
|
---|
580 | #ifdef mips
|
---|
581 | {"mips", "1"},
|
---|
582 | #endif
|
---|
583 | #ifdef __mips__
|
---|
584 | {"__mips__", "1"},
|
---|
585 | #endif
|
---|
586 | #ifdef ultrix
|
---|
587 | {"ultrix", "1"},
|
---|
588 | #endif
|
---|
589 | #ifdef stellar
|
---|
590 | {"stellar", "1"},
|
---|
591 | #endif
|
---|
592 | #ifdef mc68000
|
---|
593 | {"mc68000", "1"},
|
---|
594 | #endif
|
---|
595 | #ifdef mc68020
|
---|
596 | {"mc68020", "1"},
|
---|
597 | #endif
|
---|
598 | #ifdef __GNUC__
|
---|
599 | {"__GNUC__", "1"},
|
---|
600 | #endif
|
---|
601 | #if __STDC__
|
---|
602 | {"__STDC__", "1"},
|
---|
603 | #endif
|
---|
604 | #ifdef __HIGHC__
|
---|
605 | {"__HIGHC__", "1"},
|
---|
606 | #endif
|
---|
607 | #ifdef CMU
|
---|
608 | {"CMU", "1"},
|
---|
609 | #endif
|
---|
610 | #ifdef luna
|
---|
611 | {"luna", "1"},
|
---|
612 | #ifdef luna1
|
---|
613 | {"luna1", "1"},
|
---|
614 | #endif
|
---|
615 | #ifdef luna2
|
---|
616 | {"luna2", "1"},
|
---|
617 | #endif
|
---|
618 | #ifdef luna88k
|
---|
619 | {"luna88k", "1"},
|
---|
620 | #endif
|
---|
621 | #ifdef uniosb
|
---|
622 | {"uniosb", "1"},
|
---|
623 | #endif
|
---|
624 | #ifdef uniosu
|
---|
625 | {"uniosu", "1"},
|
---|
626 | #endif
|
---|
627 | #endif
|
---|
628 | #ifdef ieeep754
|
---|
629 | {"ieeep754", "1"},
|
---|
630 | #endif
|
---|
631 | #ifdef is68k
|
---|
632 | {"is68k", "1"},
|
---|
633 | #endif
|
---|
634 | #ifdef m68k
|
---|
635 | {"m68k", "1"},
|
---|
636 | #endif
|
---|
637 | #ifdef m88k
|
---|
638 | {"m88k", "1"},
|
---|
639 | #endif
|
---|
640 | #ifdef __m88k__
|
---|
641 | {"__m88k__", "1"},
|
---|
642 | #endif
|
---|
643 | #ifdef bsd43
|
---|
644 | {"bsd43", "1"},
|
---|
645 | #endif
|
---|
646 | #ifdef hcx
|
---|
647 | {"hcx", "1"},
|
---|
648 | #endif
|
---|
649 | #ifdef sony
|
---|
650 | {"sony", "1"},
|
---|
651 | #ifdef SYSTYPE_SYSV
|
---|
652 | {"SYSTYPE_SYSV", "1"},
|
---|
653 | #endif
|
---|
654 | #ifdef _SYSTYPE_SYSV
|
---|
655 | {"_SYSTYPE_SYSV", "1"},
|
---|
656 | #endif
|
---|
657 | #endif
|
---|
658 | #ifdef __OSF__
|
---|
659 | {"__OSF__", "1"},
|
---|
660 | #endif
|
---|
661 | #ifdef __osf__
|
---|
662 | {"__osf__", "1"},
|
---|
663 | #endif
|
---|
664 | #ifdef __alpha
|
---|
665 | {"__alpha", "1"},
|
---|
666 | #endif
|
---|
667 | #ifdef __DECC
|
---|
668 | {"__DECC", "1"},
|
---|
669 | #endif
|
---|
670 | #ifdef __decc
|
---|
671 | {"__decc", "1"},
|
---|
672 | #endif
|
---|
673 | #ifdef __uxp__
|
---|
674 | {"__uxp__", "1"},
|
---|
675 | #endif
|
---|
676 | #ifdef __sxg__
|
---|
677 | {"__sxg__", "1"},
|
---|
678 | #endif
|
---|
679 | #ifdef _SEQUENT_
|
---|
680 | {"_SEQUENT_", "1"},
|
---|
681 | {"__STDC__", "1"},
|
---|
682 | #endif
|
---|
683 | #ifdef __bsdi__
|
---|
684 | {"__bsdi__", "1"},
|
---|
685 | #endif
|
---|
686 | #ifdef nec_ews_svr2
|
---|
687 | {"nec_ews_svr2", "1"},
|
---|
688 | #endif
|
---|
689 | #ifdef nec_ews_svr4
|
---|
690 | {"nec_ews_svr4", "1"},
|
---|
691 | #endif
|
---|
692 | #ifdef _nec_ews_svr4
|
---|
693 | {"_nec_ews_svr4", "1"},
|
---|
694 | #endif
|
---|
695 | #ifdef _nec_up
|
---|
696 | {"_nec_up", "1"},
|
---|
697 | #endif
|
---|
698 | #ifdef SX
|
---|
699 | {"SX", "1"},
|
---|
700 | #endif
|
---|
701 | #ifdef nec
|
---|
702 | {"nec", "1"},
|
---|
703 | #endif
|
---|
704 | #ifdef _nec_ft
|
---|
705 | {"_nec_ft", "1"},
|
---|
706 | #endif
|
---|
707 | #ifdef PC_UX
|
---|
708 | {"PC_UX", "1"},
|
---|
709 | #endif
|
---|
710 | #ifdef sgi
|
---|
711 | {"sgi", "1"},
|
---|
712 | #endif
|
---|
713 | #ifdef __sgi
|
---|
714 | {"__sgi", "1"},
|
---|
715 | #endif
|
---|
716 | #ifdef __FreeBSD__
|
---|
717 | {"__FreeBSD__", "1"},
|
---|
718 | #endif
|
---|
719 | #ifdef __NetBSD__
|
---|
720 | {"__NetBSD__", "1"},
|
---|
721 | #endif
|
---|
722 | #ifdef __OpenBSD__
|
---|
723 | {"__OpenBSD__", "1"},
|
---|
724 | #endif
|
---|
725 | #ifdef __EMX__
|
---|
726 | {"__EMX__", "1"},
|
---|
727 | #endif
|
---|
728 | /* add any additional symbols before this line */
|
---|
729 | {NULL, NULL}
|
---|
730 | };
|
---|
731 |
|
---|
732 | #endif /* MAKEDEPEND */
|
---|
733 | #endif /* CCIMAKE */
|
---|