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