Remove Unixware and openserver 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 #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 __osf__
485         "-D__osf__",
486 # ifdef __mips__
487         "-D__mips__",
488 # endif
489 # ifdef __alpha
490         "-D__alpha",
491 # endif
492 # ifdef __i386__
493         "-D__i386__",
494 # endif
495 # ifdef __GNUC__
496         "-traditional",
497 # endif
498 #endif
499 #ifdef Oki
500         "-DOki",
501 #endif
502 #ifdef sun
503 #if defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__)
504         "-DSVR4",
505 #endif
506 #endif
507 #ifdef WIN32
508         "-DWIN32",
509         "-nologo",
510 #if _MSC_VER < 1000
511         "-batch",
512 #endif
513         "-D__STDC__",
514 #endif
515 #ifdef NCR
516         "-DNCR",        /* NCR */
517 #endif
518 #ifdef linux
519         "-traditional",
520         "-Dlinux",
521 #endif
522 #ifdef __sxg__
523         "-D__sxg__",
524 #endif
525 #ifdef nec_ews_svr2
526         "-Dnec_ews_svr2",
527 #endif
528 #ifdef AMOEBA
529         "-DAMOEBA",
530 # ifdef CROSS_COMPILE
531         "-DCROSS_COMPILE",
532 #  ifdef CROSS_i80386
533         "-DCROSS_i80386",
534 #  endif
535 #  ifdef CROSS_sparc
536         "-DCROSS_sparc",
537 #  endif
538 #  ifdef CROSS_mc68000
539         "-DCROSS_mc68000",
540 #  endif
541 # else
542 #  ifdef i80386
543         "-Di80386",
544 #  endif
545 #  ifdef sparc
546         "-Dsparc",
547 #  endif
548 #  ifdef mc68000
549         "-Dmc68000",
550 #  endif
551 # endif
552 #endif
553 #if defined(__sgi) && defined(__ANSI_CPP__)
554         "-cckr",
555 #endif
556 #ifdef __minix_vmd
557         "-Dminix",
558 #endif
559
560 #if defined(__EMX__)
561         "-traditional",
562         "-Demxos2",
563 #endif
564
565 };
566
567
568 /*
569  * Step 6: DEFAULT_OS_MAJOR_REV, DEFAULT_OS_MINOR_REV, DEFAULT_OS_TEENY_REV,
570  *      and DEFAULT_OS_NAME.
571  *      If your systems provides a way to generate the default major,
572  *      minor, teeny, or system names at runtime add commands below.
573  *      The syntax of the _REV strings is 'f fmt' where 'f' is an argument
574  *      you would give to uname, and "fmt" is a scanf() format string.
575  *      Supported uname arguments are "snrvm", and if you specify multiple
576  *      arguments they will be separated by spaces.  No more than 5 arguments
577  *      may be given.  Unlike uname() order of arguments matters.
578  */
579 #if defined(aix)
580 /* uname -v returns "x" (e.g. "4"), and uname -r returns "y" (e.g. "1") */
581 # define DEFAULT_OS_MAJOR_REV   "v %[0-9]"
582 # define DEFAULT_OS_MINOR_REV   "r %[0-9]"
583 /* No information available to generate default OSTeenyVersion value. */
584 # define DEFAULT_OS_NAME        "srvm %[^\n]"
585 #elif defined(sun) || defined(sgi) || defined(ultrix) || defined(linux) || defined(sony)
586 /* uname -r returns "x.y[.z]", e.g. "5.4" or "4.1.3" */
587 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
588 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
589 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]"
590 # define DEFAULT_OS_NAME        "srvm %[^\n]"
591 #elif defined(hpux)
592 /* uname -r returns "W.x.yz", e.g. "B.10.01" */
593 # define DEFAULT_OS_MAJOR_REV   "r %*[^.].%[0-9]"
594 # define DEFAULT_OS_MINOR_REV   "r %*[^.].%*d.%1s"
595 # define DEFAULT_OS_TEENY_REV   "r %*[^.].%*d.%*c%[0-9]"
596 # define DEFAULT_OS_NAME        "srvm %[^\n]"
597 #elif defined(__osf__)
598 /* uname -r returns "Wx.y", e.g. "V3.2" or "T4.0" */
599 # define DEFAULT_OS_MAJOR_REV   "r %*[^0-9]%[0-9]"
600 # define DEFAULT_OS_MINOR_REV   "r %*[^.].%[0-9]"
601 # define DEFAULT_OS_NAME        "srvm %[^\n]"
602 #elif defined(__FreeBSD__)
603 /* uname -r returns "x.y[.z]-mumble", e.g. "9.0-RELEASE" or "11.0-CURRENT" */
604 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
605 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
606 # define DEFAULT_OS_TEENY_REV   "v %*s %*s %*s r%[0-9]"
607 # define DEFAULT_OS_NAME        "srm %[^\n]"
608 #elif defined(__NetBSD__)
609 /* 386BSD, and BSD/OS too? */
610 /* uname -r returns "x.y[.z]-mumble", e.g. "2.1.5-RELEASE" or "2.2-0801SNAP" */
611 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
612 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
613 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]"
614 # define DEFAULT_OS_NAME        "srm %[^\n]"
615 #elif defined(__OpenBSD__)
616 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
617 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
618 # define DEFAULT_OS_NAME        "srm %[^\n]"
619 #endif
620
621 #else /* else MAKEDEPEND */
622 /*
623  * Step 7:  predefs
624  *     If your compiler and/or preprocessor define any specific symbols, add
625  *     them to the the following table.  The definition of struct symtab is
626  *     in util/makedepend/def.h.
627  */
628 #undef DEF_EVALUATE
629 #undef DEF_STRINGIFY
630 #define DEF_EVALUATE(__x) #__x
631 #define DEF_STRINGIFY(_x) DEF_EVALUATE(_x)
632
633 struct symtab   predefs[] = {
634 #ifdef apollo
635         {"apollo", "1"},
636 #endif
637 #ifdef ibm032
638         {"ibm032", "1"},
639 #endif
640 #ifdef ibm
641         {"ibm", "1"},
642 #endif
643 #ifdef aix
644         {"aix", "1"},
645 #endif
646 #ifdef sun
647         {"sun", "1"},
648 #endif
649 #ifdef sun2
650         {"sun2", "1"},
651 #endif
652 #ifdef sun3
653         {"sun3", "1"},
654 #endif
655 #ifdef sun4
656         {"sun4", "1"},
657 #endif
658 #ifdef sparc
659         {"sparc", "1"},
660 #endif
661 #ifdef __sparc__
662         {"__sparc__", "1"},
663 #endif
664 #ifdef hpux
665         {"hpux", "1"},
666 #endif
667 #ifdef __hpux
668         {"__hpux", "1"},
669 #endif
670 #ifdef __hp9000s800
671         {"__hp9000s800", "1"},
672 #endif
673 #ifdef __hp9000s700
674         {"__hp9000s700", "1"},
675 #endif
676 #ifdef vax
677         {"vax", "1"},
678 #endif
679 #ifdef VMS
680         {"VMS", "1"},
681 #endif
682 #ifdef cray
683         {"cray", "1"},
684 #endif
685 #ifdef CRAY
686         {"CRAY", "1"},
687 #endif
688 #ifdef _CRAY
689         {"_CRAY", "1"},
690 #endif
691 #ifdef att
692         {"att", "1"},
693 #endif
694 #ifdef mips
695         {"mips", "1"},
696 #endif
697 #ifdef __mips__
698         {"__mips__", "1"},
699 #endif
700 #ifdef ultrix
701         {"ultrix", "1"},
702 #endif
703 #ifdef stellar
704         {"stellar", "1"},
705 #endif
706 #ifdef mc68000
707         {"mc68000", "1"},
708 #endif
709 #ifdef mc68020
710         {"mc68020", "1"},
711 #endif
712 #if defined(__GNUC__) && !defined(linux)
713         {"__GNUC__", DEF_STRINGIFY(__GNUC__)},
714 #endif
715 #ifdef __GNUC_MINOR__
716         {"__GNUC_MINOR__", DEF_STRINGIFY(__GNUC_MINOR__)},
717 #endif
718 #if __STDC__
719         {"__STDC__", "1"},
720 #endif
721 #ifdef __HIGHC__
722         {"__HIGHC__", "1"},
723 #endif
724 #ifdef CMU
725         {"CMU", "1"},
726 #endif
727 #ifdef luna
728         {"luna", "1"},
729 #ifdef luna1
730         {"luna1", "1"},
731 #endif
732 #ifdef luna2
733         {"luna2", "1"},
734 #endif
735 #ifdef luna88k
736         {"luna88k", "1"},
737 #endif
738 #ifdef uniosb
739         {"uniosb", "1"},
740 #endif
741 #ifdef uniosu
742         {"uniosu", "1"},
743 #endif
744 #endif
745 #ifdef ieeep754
746         {"ieeep754", "1"},
747 #endif
748 #ifdef is68k
749         {"is68k", "1"},
750 #endif
751 #ifdef m68k
752         {"m68k", "1"},
753 #endif
754 #ifdef m88k
755         {"m88k", "1"},
756 #endif
757 #ifdef __m88k__
758         {"__m88k__", "1"},
759 #endif
760 #ifdef bsd43
761         {"bsd43", "1"},
762 #endif
763 #ifdef hcx
764         {"hcx", "1"},
765 #endif
766 #ifdef sony
767         {"sony", "1"},
768 #ifdef SYSTYPE_SYSV
769         {"SYSTYPE_SYSV", "1"},
770 #endif
771 #ifdef _SYSTYPE_SYSV
772         {"_SYSTYPE_SYSV", "1"},
773 #endif
774 #endif
775 #ifdef __OSF__
776         {"__OSF__", "1"},
777 #endif
778 #ifdef __osf__
779         {"__osf__", "1"},
780 #endif
781 #ifdef __alpha
782         {"__alpha", "1"},
783 #endif
784 #ifdef __DECC
785         {"__DECC",  "1"},
786 #endif
787 #ifdef __decc
788         {"__decc",  "1"},
789 #endif
790 #ifdef __unix__
791         {"__unix__", "1"},
792 #endif
793 #ifdef __sxg__
794         {"__sxg__", "1"},
795 #endif
796 #ifdef _SEQUENT_
797         {"_SEQUENT_", "1"},
798         {"__STDC__", "1"},
799 #endif
800 #ifdef nec_ews_svr2
801         {"nec_ews_svr2", "1"},
802 #endif
803 #ifdef nec_ews_svr4
804         {"nec_ews_svr4", "1"},
805 #endif
806 #ifdef _nec_ews_svr4
807         {"_nec_ews_svr4", "1"},
808 #endif
809 #ifdef _nec_up
810         {"_nec_up", "1"},
811 #endif
812 #ifdef SX
813         {"SX", "1"},
814 #endif
815 #ifdef nec
816         {"nec", "1"},
817 #endif
818 #ifdef _nec_ft
819         {"_nec_ft", "1"},
820 #endif
821 #ifdef PC_UX
822         {"PC_UX", "1"},
823 #endif
824 #ifdef sgi
825         {"sgi", "1"},
826 #endif
827 #ifdef __sgi
828         {"__sgi", "1"},
829 #endif
830 #ifdef __FreeBSD__
831         {"__FreeBSD__", "1"},
832 #endif
833 #ifdef __OpenBSD__
834         {"__OpenBSD__", "1"},
835 #endif
836 #ifdef __NetBSD__
837         {"__NetBSD__", "1"},
838 #endif
839 #ifdef __EMX__
840         {"__EMX__", "1"},
841 #endif
842 # ifdef ia64
843         {"ia64", "1"},
844 # endif
845 # ifdef __ia64__
846         {"__ia64__", "1"},
847 # endif
848 # if defined (amd64) || defined (x86_64)
849         {"amd64", "1"},
850         {"x86_64", "1"},
851 # endif
852 # if defined (__amd64__) || defined (__x86_64__)
853         {"__amd64__", "1"},
854         {"__x86_64__", "1"},
855 # endif
856 # ifdef __i386
857         {"__i386", "1"},
858 # endif
859 # ifdef __i386__
860         {"__i386__", "1"},
861 # endif
862 # ifdef __i486__
863         {"__i486__", "1"},
864 # endif
865 # ifdef __i586__
866         {"__i586__", "1"},
867 # endif
868 # ifdef __i686__
869         {"__i686__", "1"},
870 # endif
871 # ifdef __k6__
872         {"__k6__", "1"},
873 # endif
874 # ifdef i386
875         {"i386", "1"},
876 # endif
877 # ifdef i486
878         {"i486", "1"},
879 # endif
880 # ifdef i586
881         {"i586", "1"},
882 # endif
883 # ifdef i686
884         { "i686", "1"},
885 # endif
886 # ifdef k6
887         {"k6", "1"},
888 # endif
889 # ifdef sparc
890         {"sparc", "1"},
891 # endif
892 # ifdef __sparc__
893         {"__sparc__", "1"},
894 # endif
895 #if defined(__ppc__)
896         {"__ppc__", "1"},
897 #endif
898 #if defined(__ppc64__)
899         {"__ppc64__", "1"},
900 #endif
901 # ifdef __powerpc__
902         {"__powerpc__", "1"},
903 # endif
904 # ifdef __powerpc64__
905         {"__powerpc64__", "1"},
906 # endif
907 #if defined(__BIG_ENDIAN__)
908       {"__BIG_ENDIAN__", "1"},
909 #endif
910 #if defined(__LITTLE_ENDIAN__)
911       {"__LITTLE_ENDIAN__", "1"},
912 #endif
913 #if defined(__vxworks)
914       {"vxworks", "1"},
915 #endif
916         /* add any additional symbols before this line */
917         {NULL, NULL}
918 };
919
920 #endif /* MAKEDEPEND */
921 #endif /* CCIMAKE */