Use POSIX macros for linux
[oweals/cde.git] / cde / config / imake / imakemdep.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these libraries and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $TOG: imakemdep.h /main/102 1998/02/06 11:02:26 kaleb $ */
24 /*
25
26 Copyright (c) 1993, 1994, 1998  The Open Group
27
28 All Rights Reserved.
29
30 The above copyright notice and this permission notice shall be included in
31 all copies or substantial portions of the Software.
32
33 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
36 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
37 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39
40 Except as contained in this notice, the name of The Open Group shall not be
41 used in advertising or otherwise to promote the sale, use or other dealings
42 in this Software without prior written authorization from The Open Group.
43
44 */
45
46
47 /* 
48  * This file contains machine-dependent constants for the imake utility.
49  * When porting imake, read each of the steps below and add in any necessary
50  * definitions.  In general you should *not* edit ccimake.c or imake.c!
51  */
52
53 #ifdef CCIMAKE
54 /*
55  * Step 1:  imake_ccflags
56  *     Define any special flags that will be needed to get imake.c to compile.
57  *     These will be passed to the compile along with the contents of the
58  *     make variable BOOTSTRAPCFLAGS.
59  */
60 #ifdef hpux
61 #ifdef hp9000s800
62 #define imake_ccflags "-DSYSV"
63 #else
64 #define imake_ccflags "-Wc,-Nd4000,-Ns3000 -DSYSV"
65 #endif
66 #endif
67
68 #if defined(macII) || defined(_AUX_SOURCE)
69 #define imake_ccflags "-DmacII -DSYSV"
70 #endif
71
72 #ifdef stellar
73 #define imake_ccflags "-DSYSV"
74 #endif
75
76 #if defined(Oki) || defined(NCR)
77 #define imake_ccflags "-Xa -DSVR4"
78 #endif
79
80 #ifdef sony
81 #if defined(SYSTYPE_SYSV) || defined(_SYSTYPE_SYSV)
82 #define imake_ccflags "-DSVR4"
83 #else
84 #include <sys/param.h>
85 #if NEWSOS < 41
86 #define imake_ccflags "-Dbsd43 -DNOSTDHDRS"
87 #else
88 #if NEWSOS < 42
89 #define imake_ccflags "-Dbsd43"
90 #endif
91 #endif
92 #endif
93 #endif
94
95 #ifdef _CRAY
96 #define imake_ccflags "-DSYSV -DUSG"
97 #endif
98
99 #if defined(_IBMR2) || defined(aix)
100 #define imake_ccflags "-Daix -DSYSV"
101 #endif
102
103 #ifdef Mips
104 #  if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
105 #    define imake_ccflags "-DBSD43"
106 #  else 
107 #    define imake_ccflags "-DSYSV"
108 #  endif
109 #endif 
110
111 #ifdef is68k
112 #define imake_ccflags "-Dluna -Duniosb"
113 #endif
114
115 #ifdef SYSV386
116 # ifdef SVR4
117 #  define imake_ccflags "-Xa -DSVR4"
118 # else
119 #  define imake_ccflags "-DSYSV"
120 # endif
121 #endif
122
123 #ifdef SVR4
124 # ifdef i386
125 #  define imake_ccflags "-Xa -DSVR4"
126 # endif
127 #endif
128
129 #ifdef SYSV
130 # ifdef i386
131 #  define imake_ccflags "-DSYSV"
132 # endif
133 #endif
134
135 #ifdef __convex__
136 #define imake_ccflags "-fn -tm c1"
137 #endif
138
139 #ifdef apollo
140 #define imake_ccflags "-DX_NOT_POSIX"
141 #endif
142
143 #ifdef WIN32
144 #if _MSC_VER < 1000
145 #define imake_ccflags "-nologo -batch -D__STDC__"
146 #else
147 #define imake_ccflags "-nologo -D__STDC__"
148 #endif
149 #endif
150
151 #ifdef __sxg__
152 #define imake_ccflags "-DSYSV -DUSG -DNOSTDHDRS"
153 #endif
154
155 #ifdef sequent
156 #define imake_ccflags "-DX_NOT_STDC_ENV -DX_NOT_POSIX"
157 #endif
158
159 #ifdef _SEQUENT_
160 #define imake_ccflags "-DSYSV -DUSG"
161 #endif
162
163 #if defined(SX) || defined(PC_UX)
164 #define imake_ccflags "-DSYSV"
165 #endif
166
167 #ifdef nec_ews_svr2
168 #define imake_ccflags "-DUSG"
169 #endif
170
171 #if defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up) || defined(_nec_ft)
172 #define imake_ccflags "-DSVR4"
173 #endif
174
175 #ifdef  MACH
176 #define imake_ccflags "-DNOSTDHDRS"
177 #endif
178
179 #ifdef  __FreeBSD__
180 #include <sys/param.h>
181 #if defined(__FreeBSD_version)
182 #if __FreeBSD_version < 500000
183 #define imake_ccflags "-DCPP_IN_LIBEXEC"
184 #endif
185 #else
186 #define imake_ccflags "-DCPP_IN_LIBEXEC"
187 #endif
188 #endif
189
190 /* this is for OS/2 under EMX. This won't work with DOS */
191 #if defined(__EMX__)
192 #define imake_ccflags "-DBSD43"
193 #endif
194
195 #else /* not CCIMAKE */
196 #ifndef MAKEDEPEND
197 /*
198  * Step 2:  dup2
199  *     If your OS doesn't have a dup2() system call to duplicate one file
200  *     descriptor onto another, define such a mechanism here (if you don't
201  *     already fall under the existing category(ies).
202  */
203 #if defined(SYSV) && !defined(_CRAY) && !defined(Mips) && !defined(_SEQUENT_)
204 #define dup2(fd1,fd2)   ((fd1 == fd2) ? fd1 : (close(fd2), \
205                                                fcntl(fd1, F_DUPFD, fd2)))
206 #endif
207
208
209 /*
210  * Step 3:  FIXUP_CPP_WHITESPACE
211  *     If your cpp collapses tabs macro expansions into a single space and
212  *     replaces escaped newlines with a space, define this symbol.  This will
213  *     cause imake to attempt to patch up the generated Makefile by looking
214  *     for lines that have colons in them (this is why the rules file escapes
215  *     all colons).  One way to tell if you need this is to see whether or not
216  *     your Makefiles have no tabs in them and lots of @@ strings.
217  */
218 #if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || defined(__llvm__) || (defined(AMOEBA) && defined(CROSS_COMPILE))
219 #define FIXUP_CPP_WHITESPACE
220 #endif
221 #ifdef WIN32
222 #define REMOVE_CPP_LEADSPACE
223 #define INLINE_SYNTAX
224 #define MAGIC_MAKE_VARS
225 #endif
226
227 /*
228  * Step 4:  USE_CC_E, DEFAULT_CC, DEFAULT_CPP
229  *     If you want to use cc -E instead of cpp, define USE_CC_E.
230  *     If use cc -E but want a different compiler, define DEFAULT_CC.
231  *     If the cpp you need is not in /lib/cpp, define DEFAULT_CPP.
232  */
233 #ifdef hpux
234 #define USE_CC_E
235 #endif
236 #ifdef WIN32
237 #define USE_CC_E
238 #define DEFAULT_CC "cl"
239 #endif
240 #ifdef apollo
241 #define DEFAULT_CPP "/usr/lib/cpp"
242 #endif
243 #if defined(_IBMR2) && !defined(DEFAULT_CPP)
244 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
245 #endif
246 #if defined(sun) && (defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__))
247 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
248 #endif
249 #if defined(__NetBSD__) || (defined(__FreeBSD__) && !defined(CPP_IN_LIBEXEC))
250 #define DEFAULT_CPP "/usr/bin/cpp"
251 #endif
252 #ifdef __sxg__
253 #define DEFAULT_CPP "/usr/lib/cpp"
254 #endif
255 #ifdef _CRAY
256 #define DEFAULT_CPP "/lib/pcpp"
257 #endif
258 #if defined(__386BSD__) || defined(__OpenBSD__) \
259         || (defined(__FreeBSD__) && defined(CPP_IN_LIBEXEC))
260 #define DEFAULT_CPP "/usr/libexec/cpp"
261 #endif
262 #if defined(__FreeBSD__) && (__FreeBSD__ >= 10) && !defined(__llvm__)
263 #undef DEFAULT_CPP
264 #endif
265 #if defined(__sgi) && defined(__ANSI_CPP__)
266 #define USE_CC_E
267 #endif
268 #ifdef  MACH
269 #define USE_CC_E
270 #endif
271 #ifdef __minix_vmd
272 #define DEFAULT_CPP "/usr/lib/cpp"
273 #endif
274 #if defined(__EMX__)
275 /* expects cpp in PATH */
276 #define DEFAULT_CPP "cpp"
277 #endif
278
279 /*
280  * Step 5:  cpp_argv
281  *     The following table contains the flags that should be passed
282  *     whenever a Makefile is being generated.  If your preprocessor 
283  *     doesn't predefine any unique symbols, choose one and add it to the
284  *     end of this table.  Then, do the following:
285  * 
286  *         a.  Use this symbol in Imake.tmpl when setting MacroFile.
287  *         b.  Put this symbol in the definition of BootstrapCFlags in your
288  *             <platform>.cf file.
289  *         c.  When doing a make World, always add "BOOTSTRAPCFLAGS=-Dsymbol" 
290  *             to the end of the command line.
291  * 
292  *     Note that you may define more than one symbol (useful for platforms 
293  *     that support multiple operating systems).
294  */
295
296 #define ARGUMENTS 50    /* number of arguments in various arrays */
297 char *cpp_argv[ARGUMENTS] = {
298         "cc",           /* replaced by the actual program to exec */
299         "-I.",          /* add current directory to include path */
300 #ifdef unix
301         "-Uunix",       /* remove unix symbol so that filename unix.c okay */
302 #endif
303 #if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(MACH) || defined(ISC) || defined(__linux__) || defined(__hpux__) || defined(__vxworks)
304 # ifdef __i386__
305         "-D__i386__",
306 # endif
307 # ifdef __i486__
308         "-D__i486__",
309 # endif
310 # ifdef __i586__
311         "-D__i586__",
312 # endif
313 # ifdef __i686__
314         "-D__i686__",
315 # endif
316 # ifdef __k6__
317         "-D__k6__",
318 # endif
319 # ifdef __ia64__
320         "-D__ia64__",
321 # endif
322 # ifdef __amd64__
323         "-D__amd64__",
324 # endif
325 # ifdef __x86_64__
326         "-D__amd64__",
327 # endif
328 # ifdef __ppc__
329         {"-D__powerpc__", "1"},
330 # endif
331 # ifdef __ppc64__
332         {"-D__powerpc64__", "1"},
333 # endif
334 # ifdef __powerpc__
335         {"-D__powerpc__", "1"},
336 # endif
337 # ifdef __powerpc64__
338         {"-D__powerpc64__", "1"},
339 # endif
340
341 # if defined(__GNUC__) && !defined(__llvm__)
342         "-traditional",
343 # endif
344 # ifdef __llvm__
345         "-fms-extensions",
346         "-Wno-invalid-token-paste",
347         "-Wno-invalid-pp-token",
348 # endif
349 #endif
350
351 #ifdef M4330
352         "-DM4330",      /* Tektronix */
353 #endif
354 #ifdef M4310
355         "-DM4310",      /* Tektronix */
356 #endif
357 #if defined(macII) || defined(_AUX_SOURCE)
358         "-DmacII",      /* Apple A/UX */
359 #endif
360 #ifdef sony
361         "-Dsony",       /* Sony */
362 #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
363         "-Dbsd43",
364 #endif
365 #endif
366 #ifdef _IBMR2
367         "-D_IBMR2",     /* IBM RS-6000 (we ensured that aix is defined above */
368 #ifndef aix
369 #define aix             /* allow BOOTSTRAPCFLAGS="-D_IBMR2" */
370 #endif
371 #endif /* _IBMR2 */
372 #ifdef aix
373         "-Daix",        /* AIX instead of AOS */
374 #ifndef ibm
375 #define ibm             /* allow BOOTSTRAPCFLAGS="-Daix" */
376 #endif
377 #endif /* aix */
378 #ifdef ibm
379         "-Dibm",        /* IBM PS/2 and RT under both AOS and AIX */
380 #endif
381 #ifdef luna
382         "-Dluna",       /* OMRON luna 68K and 88K */
383 #ifdef luna1
384         "-Dluna1",
385 #endif
386 #ifdef luna88k          /* need not on UniOS-Mach Vers. 1.13 */
387         "-traditional", /* for some older version            */
388 #endif                  /* instead of "-DXCOMM=\\#"          */
389 #ifdef uniosb
390         "-Duniosb",
391 #endif
392 #ifdef uniosu
393         "-Duniosu",
394 #endif
395 #endif /* luna */
396 #ifdef _CRAY            /* Cray */
397         "-Ucray",
398 #endif
399 #ifdef Mips
400         "-DMips",       /* Define and use Mips for Mips Co. OS/mach. */
401 # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
402         "-DBSD43",      /* Mips RISCOS supports two environments */
403 # else
404         "-DSYSV",       /* System V environment is the default */
405 # endif
406 #endif /* Mips */
407 #ifdef MOTOROLA
408         "-DMOTOROLA",    /* Motorola Delta Systems */
409 # ifdef SYSV
410         "-DSYSV", 
411 # endif
412 # ifdef SVR4
413         "-DSVR4",
414 # endif
415 #endif /* MOTOROLA */
416 #ifdef i386
417         "-Di386",
418 # ifdef SVR4
419         "-DSVR4",
420 # endif
421 # ifdef SYSV
422         "-DSYSV",
423 #  ifdef ISC
424         "-DISC",
425 #   ifdef ISC40
426         "-DISC40",       /* ISC 4.0 */
427 #   else
428 #    ifdef ISC202
429         "-DISC202",      /* ISC 2.0.2 */
430 #    else
431 #     ifdef ISC30
432         "-DISC30",       /* ISC 3.0 */
433 #     else
434         "-DISC22",       /* ISC 2.2.1 */
435 #     endif
436 #    endif
437 #   endif
438 #  endif
439 #  ifdef ESIX
440         "-DESIX",
441 #  endif
442 #  ifdef ATT
443         "-DATT",
444 #  endif
445 #  ifdef DELL
446         "-DDELL",
447 #  endif
448 # endif
449 #endif
450 #ifdef SYSV386          /* System V/386 folks, obsolete */
451         "-Di386",
452 # ifdef SVR4
453         "-DSVR4",
454 # endif
455 # ifdef SYSV
456         "-DSYSV",
457 #  ifdef ISC
458         "-DISC",
459 #   ifdef ISC40
460         "-DISC40",       /* ISC 4.0 */
461 #   else
462 #    ifdef ISC202
463         "-DISC202",      /* ISC 2.0.2 */
464 #    else
465 #     ifdef ISC30
466         "-DISC30",       /* ISC 3.0 */
467 #     else
468         "-DISC22",       /* ISC 2.2.1 */
469 #     endif
470 #    endif
471 #   endif
472 #  endif
473 #  ifdef ESIX
474         "-DESIX",
475 #  endif
476 #  ifdef ATT
477         "-DATT",
478 #  endif
479 #  ifdef DELL
480         "-DDELL",
481 #  endif
482 # endif
483 #endif
484 #ifdef Oki
485         "-DOki",
486 #endif
487 #ifdef sun
488 #if defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__)
489         "-DSVR4",
490 #endif
491 #endif
492 #ifdef WIN32
493         "-DWIN32",
494         "-nologo",
495 #if _MSC_VER < 1000
496         "-batch",
497 #endif
498         "-D__STDC__",
499 #endif
500 #ifdef NCR
501         "-DNCR",        /* NCR */
502 #endif
503 #ifdef linux
504         "-traditional",
505         "-D__linux__",
506 #endif
507 #ifdef __sxg__
508         "-D__sxg__",
509 #endif
510 #ifdef nec_ews_svr2
511         "-Dnec_ews_svr2",
512 #endif
513 #ifdef AMOEBA
514         "-DAMOEBA",
515 # ifdef CROSS_COMPILE
516         "-DCROSS_COMPILE",
517 #  ifdef CROSS_i80386
518         "-DCROSS_i80386",
519 #  endif
520 #  ifdef CROSS_sparc
521         "-DCROSS_sparc",
522 #  endif
523 #  ifdef CROSS_mc68000
524         "-DCROSS_mc68000",
525 #  endif
526 # else
527 #  ifdef i80386
528         "-Di80386",
529 #  endif
530 #  ifdef sparc
531         "-Dsparc",
532 #  endif
533 #  ifdef mc68000
534         "-Dmc68000",
535 #  endif
536 # endif
537 #endif
538 #if defined(__sgi) && defined(__ANSI_CPP__)
539         "-cckr",
540 #endif
541 #ifdef __minix_vmd
542         "-Dminix",
543 #endif
544
545 #if defined(__EMX__)
546         "-traditional",
547         "-Demxos2",
548 #endif
549
550 };
551
552
553 /*
554  * Step 6: DEFAULT_OS_MAJOR_REV, DEFAULT_OS_MINOR_REV, DEFAULT_OS_TEENY_REV,
555  *      and DEFAULT_OS_NAME.
556  *      If your systems provides a way to generate the default major,
557  *      minor, teeny, or system names at runtime add commands below.
558  *      The syntax of the _REV strings is 'f fmt' where 'f' is an argument
559  *      you would give to uname, and "fmt" is a scanf() format string.
560  *      Supported uname arguments are "snrvm", and if you specify multiple
561  *      arguments they will be separated by spaces.  No more than 5 arguments
562  *      may be given.  Unlike uname() order of arguments matters.
563  */
564 #if defined(aix)
565 /* uname -v returns "x" (e.g. "4"), and uname -r returns "y" (e.g. "1") */
566 # define DEFAULT_OS_MAJOR_REV   "v %[0-9]"
567 # define DEFAULT_OS_MINOR_REV   "r %[0-9]"
568 /* No information available to generate default OSTeenyVersion value. */
569 # define DEFAULT_OS_NAME        "srvm %[^\n]"
570 #elif defined(sun) || defined(sgi) || defined(ultrix) || defined(__linux__) || defined(sony)
571 /* uname -r returns "x.y[.z]", e.g. "5.4" or "4.1.3" */
572 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
573 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
574 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]"
575 # define DEFAULT_OS_NAME        "srvm %[^\n]"
576 #elif defined(hpux)
577 /* uname -r returns "W.x.yz", e.g. "B.10.01" */
578 # define DEFAULT_OS_MAJOR_REV   "r %*[^.].%[0-9]"
579 # define DEFAULT_OS_MINOR_REV   "r %*[^.].%*d.%1s"
580 # define DEFAULT_OS_TEENY_REV   "r %*[^.].%*d.%*c%[0-9]"
581 # define DEFAULT_OS_NAME        "srvm %[^\n]"
582 #elif defined(__FreeBSD__)
583 /* uname -r returns "x.y[.z]-mumble", e.g. "9.0-RELEASE" or "11.0-CURRENT" */
584 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
585 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
586 # define DEFAULT_OS_TEENY_REV   "v %*s %*s %*s r%[0-9]"
587 # define DEFAULT_OS_NAME        "srm %[^\n]"
588 #elif defined(__NetBSD__)
589 /* 386BSD, and BSD/OS too? */
590 /* uname -r returns "x.y[.z]-mumble", e.g. "2.1.5-RELEASE" or "2.2-0801SNAP" */
591 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
592 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
593 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]"
594 # define DEFAULT_OS_NAME        "srm %[^\n]"
595 #elif defined(__OpenBSD__)
596 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
597 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
598 # define DEFAULT_OS_NAME        "srm %[^\n]"
599 #endif
600
601 #else /* else MAKEDEPEND */
602 /*
603  * Step 7:  predefs
604  *     If your compiler and/or preprocessor define any specific symbols, add
605  *     them to the the following table.  The definition of struct symtab is
606  *     in util/makedepend/def.h.
607  */
608 #undef DEF_EVALUATE
609 #undef DEF_STRINGIFY
610 #define DEF_EVALUATE(__x) #__x
611 #define DEF_STRINGIFY(_x) DEF_EVALUATE(_x)
612
613 struct symtab   predefs[] = {
614 #ifdef apollo
615         {"apollo", "1"},
616 #endif
617 #ifdef ibm032
618         {"ibm032", "1"},
619 #endif
620 #ifdef ibm
621         {"ibm", "1"},
622 #endif
623 #ifdef aix
624         {"aix", "1"},
625 #endif
626 #ifdef sun
627         {"sun", "1"},
628 #endif
629 #ifdef sun2
630         {"sun2", "1"},
631 #endif
632 #ifdef sun3
633         {"sun3", "1"},
634 #endif
635 #ifdef sun4
636         {"sun4", "1"},
637 #endif
638 #ifdef sparc
639         {"sparc", "1"},
640 #endif
641 #ifdef __sparc__
642         {"__sparc__", "1"},
643 #endif
644 #ifdef hpux
645         {"hpux", "1"},
646 #endif
647 #ifdef __hpux
648         {"__hpux", "1"},
649 #endif
650 #ifdef __hp9000s800
651         {"__hp9000s800", "1"},
652 #endif
653 #ifdef __hp9000s700
654         {"__hp9000s700", "1"},
655 #endif
656 #ifdef vax
657         {"vax", "1"},
658 #endif
659 #ifdef VMS
660         {"VMS", "1"},
661 #endif
662 #ifdef cray
663         {"cray", "1"},
664 #endif
665 #ifdef CRAY
666         {"CRAY", "1"},
667 #endif
668 #ifdef _CRAY
669         {"_CRAY", "1"},
670 #endif
671 #ifdef att
672         {"att", "1"},
673 #endif
674 #ifdef mips
675         {"mips", "1"},
676 #endif
677 #ifdef __mips__
678         {"__mips__", "1"},
679 #endif
680 #ifdef ultrix
681         {"ultrix", "1"},
682 #endif
683 #ifdef stellar
684         {"stellar", "1"},
685 #endif
686 #ifdef mc68000
687         {"mc68000", "1"},
688 #endif
689 #ifdef mc68020
690         {"mc68020", "1"},
691 #endif
692 #if defined(__GNUC__) && !defined(__linux__)
693         {"__GNUC__", DEF_STRINGIFY(__GNUC__)},
694 #endif
695 #ifdef __GNUC_MINOR__
696         {"__GNUC_MINOR__", DEF_STRINGIFY(__GNUC_MINOR__)},
697 #endif
698 #if __STDC__
699         {"__STDC__", "1"},
700 #endif
701 #ifdef __HIGHC__
702         {"__HIGHC__", "1"},
703 #endif
704 #ifdef CMU
705         {"CMU", "1"},
706 #endif
707 #ifdef luna
708         {"luna", "1"},
709 #ifdef luna1
710         {"luna1", "1"},
711 #endif
712 #ifdef luna2
713         {"luna2", "1"},
714 #endif
715 #ifdef luna88k
716         {"luna88k", "1"},
717 #endif
718 #ifdef uniosb
719         {"uniosb", "1"},
720 #endif
721 #ifdef uniosu
722         {"uniosu", "1"},
723 #endif
724 #endif
725 #ifdef ieeep754
726         {"ieeep754", "1"},
727 #endif
728 #ifdef is68k
729         {"is68k", "1"},
730 #endif
731 #ifdef m68k
732         {"m68k", "1"},
733 #endif
734 #ifdef m88k
735         {"m88k", "1"},
736 #endif
737 #ifdef __m88k__
738         {"__m88k__", "1"},
739 #endif
740 #ifdef bsd43
741         {"bsd43", "1"},
742 #endif
743 #ifdef hcx
744         {"hcx", "1"},
745 #endif
746 #ifdef sony
747         {"sony", "1"},
748 #ifdef SYSTYPE_SYSV
749         {"SYSTYPE_SYSV", "1"},
750 #endif
751 #ifdef _SYSTYPE_SYSV
752         {"_SYSTYPE_SYSV", "1"},
753 #endif
754 #endif
755 #ifdef __alpha
756         {"__alpha", "1"},
757 #endif
758 #ifdef __unix__
759         {"__unix__", "1"},
760 #endif
761 #ifdef __sxg__
762         {"__sxg__", "1"},
763 #endif
764 #ifdef _SEQUENT_
765         {"_SEQUENT_", "1"},
766         {"__STDC__", "1"},
767 #endif
768 #ifdef nec_ews_svr2
769         {"nec_ews_svr2", "1"},
770 #endif
771 #ifdef nec_ews_svr4
772         {"nec_ews_svr4", "1"},
773 #endif
774 #ifdef _nec_ews_svr4
775         {"_nec_ews_svr4", "1"},
776 #endif
777 #ifdef _nec_up
778         {"_nec_up", "1"},
779 #endif
780 #ifdef SX
781         {"SX", "1"},
782 #endif
783 #ifdef nec
784         {"nec", "1"},
785 #endif
786 #ifdef _nec_ft
787         {"_nec_ft", "1"},
788 #endif
789 #ifdef PC_UX
790         {"PC_UX", "1"},
791 #endif
792 #ifdef sgi
793         {"sgi", "1"},
794 #endif
795 #ifdef __sgi
796         {"__sgi", "1"},
797 #endif
798 #ifdef __FreeBSD__
799         {"__FreeBSD__", "1"},
800 #endif
801 #ifdef __OpenBSD__
802         {"__OpenBSD__", "1"},
803 #endif
804 #ifdef __NetBSD__
805         {"__NetBSD__", "1"},
806 #endif
807 #ifdef __EMX__
808         {"__EMX__", "1"},
809 #endif
810 # ifdef ia64
811         {"ia64", "1"},
812 # endif
813 # ifdef __ia64__
814         {"__ia64__", "1"},
815 # endif
816 # if defined (amd64) || defined (x86_64)
817         {"amd64", "1"},
818         {"x86_64", "1"},
819 # endif
820 # if defined (__amd64__) || defined (__x86_64__)
821         {"__amd64__", "1"},
822         {"__x86_64__", "1"},
823 # endif
824 # ifdef __i386
825         {"__i386", "1"},
826 # endif
827 # ifdef __i386__
828         {"__i386__", "1"},
829 # endif
830 # ifdef __i486__
831         {"__i486__", "1"},
832 # endif
833 # ifdef __i586__
834         {"__i586__", "1"},
835 # endif
836 # ifdef __i686__
837         {"__i686__", "1"},
838 # endif
839 # ifdef __k6__
840         {"__k6__", "1"},
841 # endif
842 # ifdef i386
843         {"i386", "1"},
844 # endif
845 # ifdef i486
846         {"i486", "1"},
847 # endif
848 # ifdef i586
849         {"i586", "1"},
850 # endif
851 # ifdef i686
852         { "i686", "1"},
853 # endif
854 # ifdef k6
855         {"k6", "1"},
856 # endif
857 # ifdef sparc
858         {"sparc", "1"},
859 # endif
860 # ifdef __sparc__
861         {"__sparc__", "1"},
862 # endif
863 #if defined(__ppc__)
864         {"__ppc__", "1"},
865 #endif
866 #if defined(__ppc64__)
867         {"__ppc64__", "1"},
868 #endif
869 # ifdef __powerpc__
870         {"__powerpc__", "1"},
871 # endif
872 # ifdef __powerpc64__
873         {"__powerpc64__", "1"},
874 # endif
875 #if defined(__BIG_ENDIAN__)
876       {"__BIG_ENDIAN__", "1"},
877 #endif
878 #if defined(__LITTLE_ENDIAN__)
879       {"__LITTLE_ENDIAN__", "1"},
880 #endif
881 #if defined(__vxworks)
882       {"vxworks", "1"},
883 #endif
884         /* add any additional symbols before this line */
885         {NULL, NULL}
886 };
887
888 #endif /* MAKEDEPEND */
889 #endif /* CCIMAKE */