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