recognise OpenBSD version
[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 librararies 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(USL) || defined(__USLC__) || defined(Oki) || defined(NCR)
77 #define imake_ccflags "-Xa -DSVR4"
78 #endif
79
80 /* SCO may define __USLC__ so put this after the USL check */
81 #if defined(M_UNIX) || defined(_SCO_DS)
82 #ifdef imake_ccflags
83 #undef imake_ccflags
84 #endif
85 #define imake_ccflags "-Dsco"
86 #endif
87
88 #ifdef sony
89 #if defined(SYSTYPE_SYSV) || defined(_SYSTYPE_SYSV)
90 #define imake_ccflags "-DSVR4"
91 #else
92 #include <sys/param.h>
93 #if NEWSOS < 41
94 #define imake_ccflags "-Dbsd43 -DNOSTDHDRS"
95 #else
96 #if NEWSOS < 42
97 #define imake_ccflags "-Dbsd43"
98 #endif
99 #endif
100 #endif
101 #endif
102
103 #ifdef _CRAY
104 #define imake_ccflags "-DSYSV -DUSG"
105 #endif
106
107 #if defined(_IBMR2) || defined(aix)
108 #define imake_ccflags "-Daix -DSYSV"
109 #endif
110
111 #ifdef Mips
112 #  if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
113 #    define imake_ccflags "-DBSD43"
114 #  else 
115 #    define imake_ccflags "-DSYSV"
116 #  endif
117 #endif 
118
119 #ifdef is68k
120 #define imake_ccflags "-Dluna -Duniosb"
121 #endif
122
123 #ifdef SYSV386
124 # ifdef SVR4
125 #  define imake_ccflags "-Xa -DSVR4"
126 # else
127 #  define imake_ccflags "-DSYSV"
128 # endif
129 #endif
130
131 #ifdef SVR4
132 # ifdef i386
133 #  define imake_ccflags "-Xa -DSVR4"
134 # endif
135 #endif
136
137 #ifdef SYSV
138 # ifdef i386
139 #  define imake_ccflags "-DSYSV"
140 # endif
141 #endif
142
143 #ifdef __convex__
144 #define imake_ccflags "-fn -tm c1"
145 #endif
146
147 #ifdef apollo
148 #define imake_ccflags "-DX_NOT_POSIX"
149 #endif
150
151 #ifdef WIN32
152 #if _MSC_VER < 1000
153 #define imake_ccflags "-nologo -batch -D__STDC__"
154 #else
155 #define imake_ccflags "-nologo -D__STDC__"
156 #endif
157 #endif
158
159 #ifdef __uxp__
160 #define imake_ccflags "-DSVR4 -DANSICPP"
161 #endif
162
163 #ifdef __sxg__
164 #define imake_ccflags "-DSYSV -DUSG -DNOSTDHDRS"
165 #endif
166
167 #ifdef sequent
168 #define imake_ccflags "-DX_NOT_STDC_ENV -DX_NOT_POSIX"
169 #endif
170
171 #ifdef _SEQUENT_
172 #define imake_ccflags "-DSYSV -DUSG"
173 #endif
174
175 #if defined(SX) || defined(PC_UX)
176 #define imake_ccflags "-DSYSV"
177 #endif
178
179 #ifdef nec_ews_svr2
180 #define imake_ccflags "-DUSG"
181 #endif
182
183 #if defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up) || defined(_nec_ft)
184 #define imake_ccflags "-DSVR4"
185 #endif
186
187 #ifdef  MACH
188 #define imake_ccflags "-DNOSTDHDRS"
189 #endif
190
191 /* this is for OS/2 under EMX. This won't work with DOS */
192 #if defined(__EMX__)
193 #define imake_ccflags "-DBSD43"
194 #endif
195
196 #else /* not CCIMAKE */
197 #ifndef MAKEDEPEND
198 /*
199  * Step 2:  dup2
200  *     If your OS doesn't have a dup2() system call to duplicate one file
201  *     descriptor onto another, define such a mechanism here (if you don't
202  *     already fall under the existing category(ies).
203  */
204 #if defined(SYSV) && !defined(_CRAY) && !defined(Mips) && !defined(_SEQUENT_) && !defined(sco)
205 #define dup2(fd1,fd2)   ((fd1 == fd2) ? fd1 : (close(fd2), \
206                                                fcntl(fd1, F_DUPFD, fd2)))
207 #endif
208
209
210 /*
211  * Step 3:  FIXUP_CPP_WHITESPACE
212  *     If your cpp collapses tabs macro expansions into a single space and
213  *     replaces escaped newlines with a space, define this symbol.  This will
214  *     cause imake to attempt to patch up the generated Makefile by looking
215  *     for lines that have colons in them (this is why the rules file escapes
216  *     all colons).  One way to tell if you need this is to see whether or not
217  *     your Makefiles have no tabs in them and lots of @@ strings.
218  */
219 #if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || defined(sco) || (defined(AMOEBA) && defined(CROSS_COMPILE))
220 #define FIXUP_CPP_WHITESPACE
221 #endif
222 #ifdef WIN32
223 #define REMOVE_CPP_LEADSPACE
224 #define INLINE_SYNTAX
225 #define MAGIC_MAKE_VARS
226 #endif
227
228 /*
229  * Step 4:  USE_CC_E, DEFAULT_CC, DEFAULT_CPP
230  *     If you want to use cc -E instead of cpp, define USE_CC_E.
231  *     If use cc -E but want a different compiler, define DEFAULT_CC.
232  *     If the cpp you need is not in /lib/cpp, define DEFAULT_CPP.
233  */
234 #ifdef hpux
235 #define USE_CC_E
236 #endif
237 #ifdef WIN32
238 #define USE_CC_E
239 #define DEFAULT_CC "cl"
240 #endif
241 #ifdef apollo
242 #define DEFAULT_CPP "/usr/lib/cpp"
243 #endif
244 #if defined(_IBMR2) && !defined(DEFAULT_CPP)
245 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
246 #endif
247 #if defined(sun) && (defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__))
248 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
249 #endif
250 #ifdef __bsdi__
251 #define DEFAULT_CPP "/usr/bin/cpp"
252 #endif
253 #ifdef __uxp__
254 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
255 #endif
256 #ifdef __sxg__
257 #define DEFAULT_CPP "/usr/lib/cpp"
258 #endif
259 #ifdef _CRAY
260 #define DEFAULT_CPP "/lib/pcpp"
261 #endif
262 #if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
263 #define DEFAULT_CPP "/usr/libexec/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(USL) || defined(sco) || defined(ISC) || defined(__bsdi__) || 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 # ifdef __GNUC__
342         "-traditional",
343 # endif
344 #endif
345
346 #ifdef M4330
347         "-DM4330",      /* Tektronix */
348 #endif
349 #ifdef M4310
350         "-DM4310",      /* Tektronix */
351 #endif
352 #if defined(macII) || defined(_AUX_SOURCE)
353         "-DmacII",      /* Apple A/UX */
354 #endif
355 #if defined(USL) || defined(__USLC__)
356         "-DUSL",        /* USL */
357 #endif
358 #ifdef sony
359         "-Dsony",       /* Sony */
360 #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
361         "-Dbsd43",
362 #endif
363 #endif
364 #ifdef _IBMR2
365         "-D_IBMR2",     /* IBM RS-6000 (we ensured that aix is defined above */
366 #ifndef aix
367 #define aix             /* allow BOOTSTRAPCFLAGS="-D_IBMR2" */
368 #endif
369 #endif /* _IBMR2 */
370 #ifdef aix
371         "-Daix",        /* AIX instead of AOS */
372 #ifndef ibm
373 #define ibm             /* allow BOOTSTRAPCFLAGS="-Daix" */
374 #endif
375 #endif /* aix */
376 #ifdef ibm
377         "-Dibm",        /* IBM PS/2 and RT under both AOS and AIX */
378 #endif
379 #ifdef luna
380         "-Dluna",       /* OMRON luna 68K and 88K */
381 #ifdef luna1
382         "-Dluna1",
383 #endif
384 #ifdef luna88k          /* need not on UniOS-Mach Vers. 1.13 */
385         "-traditional", /* for some older version            */
386 #endif                  /* instead of "-DXCOMM=\\#"          */
387 #ifdef uniosb
388         "-Duniosb",
389 #endif
390 #ifdef uniosu
391         "-Duniosu",
392 #endif
393 #endif /* luna */
394 #ifdef _CRAY            /* Cray */
395         "-Ucray",
396 #endif
397 #ifdef Mips
398         "-DMips",       /* Define and use Mips for Mips Co. OS/mach. */
399 # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
400         "-DBSD43",      /* Mips RISCOS supports two environments */
401 # else
402         "-DSYSV",       /* System V environment is the default */
403 # endif
404 #endif /* Mips */
405 #ifdef MOTOROLA
406         "-DMOTOROLA",    /* Motorola Delta Systems */
407 # ifdef SYSV
408         "-DSYSV", 
409 # endif
410 # ifdef SVR4
411         "-DSVR4",
412 # endif
413 #endif /* MOTOROLA */
414 #if defined(M_UNIX) || defined(sco)
415         "-Dsco",
416 # if defined(sco324)
417         "-Dsco324",
418 # endif
419 #endif
420 #ifdef i386
421         "-Di386",
422 # ifdef SVR4
423         "-DSVR4",
424 # endif
425 # ifdef SYSV
426         "-DSYSV",
427 #  ifdef ISC
428         "-DISC",
429 #   ifdef ISC40
430         "-DISC40",       /* ISC 4.0 */
431 #   else
432 #    ifdef ISC202
433         "-DISC202",      /* ISC 2.0.2 */
434 #    else
435 #     ifdef ISC30
436         "-DISC30",       /* ISC 3.0 */
437 #     else
438         "-DISC22",       /* ISC 2.2.1 */
439 #     endif
440 #    endif
441 #   endif
442 #  endif
443 #  ifdef SCO
444         "-DSCO",
445 #   ifdef SCO324
446         "-DSCO324",
447 #   endif
448 #  endif
449 #  ifdef ESIX
450         "-DESIX",
451 #  endif
452 #  ifdef ATT
453         "-DATT",
454 #  endif
455 #  ifdef DELL
456         "-DDELL",
457 #  endif
458 # endif
459 #endif
460 #ifdef SYSV386          /* System V/386 folks, obsolete */
461         "-Di386",
462 # ifdef SVR4
463         "-DSVR4",
464 # endif
465 # ifdef SYSV
466         "-DSYSV",
467 #  ifdef ISC
468         "-DISC",
469 #   ifdef ISC40
470         "-DISC40",       /* ISC 4.0 */
471 #   else
472 #    ifdef ISC202
473         "-DISC202",      /* ISC 2.0.2 */
474 #    else
475 #     ifdef ISC30
476         "-DISC30",       /* ISC 3.0 */
477 #     else
478         "-DISC22",       /* ISC 2.2.1 */
479 #     endif
480 #    endif
481 #   endif
482 #  endif
483 #  ifdef SCO
484         "-DSCO",
485 #   ifdef SCO324
486         "-DSCO324",
487 #   endif
488 #  endif
489 #  ifdef ESIX
490         "-DESIX",
491 #  endif
492 #  ifdef ATT
493         "-DATT",
494 #  endif
495 #  ifdef DELL
496         "-DDELL",
497 #  endif
498 # endif
499 #endif
500 #ifdef __osf__
501         "-D__osf__",
502 # ifdef __mips__
503         "-D__mips__",
504 # endif
505 # ifdef __alpha
506         "-D__alpha",
507 # endif
508 # ifdef __i386__
509         "-D__i386__",
510 # endif
511 # ifdef __GNUC__
512         "-traditional",
513 # endif
514 #endif
515 #ifdef Oki
516         "-DOki",
517 #endif
518 #ifdef sun
519 #if defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__)
520         "-DSVR4",
521 #endif
522 #endif
523 #ifdef WIN32
524         "-DWIN32",
525         "-nologo",
526 #if _MSC_VER < 1000
527         "-batch",
528 #endif
529         "-D__STDC__",
530 #endif
531 #ifdef NCR
532         "-DNCR",        /* NCR */
533 #endif
534 #ifdef linux
535         "-traditional",
536         "-Dlinux",
537 #endif
538 #ifdef __uxp__
539         "-D__uxp__",
540 #endif
541 #ifdef __sxg__
542         "-D__sxg__",
543 #endif
544 #ifdef nec_ews_svr2
545         "-Dnec_ews_svr2",
546 #endif
547 #ifdef AMOEBA
548         "-DAMOEBA",
549 # ifdef CROSS_COMPILE
550         "-DCROSS_COMPILE",
551 #  ifdef CROSS_i80386
552         "-DCROSS_i80386",
553 #  endif
554 #  ifdef CROSS_sparc
555         "-DCROSS_sparc",
556 #  endif
557 #  ifdef CROSS_mc68000
558         "-DCROSS_mc68000",
559 #  endif
560 # else
561 #  ifdef i80386
562         "-Di80386",
563 #  endif
564 #  ifdef sparc
565         "-Dsparc",
566 #  endif
567 #  ifdef mc68000
568         "-Dmc68000",
569 #  endif
570 # endif
571 #endif
572 #if defined(__sgi) && defined(__ANSI_CPP__)
573         "-cckr",
574 #endif
575 #ifdef __minix_vmd
576         "-Dminix",
577 #endif
578
579 #if defined(__EMX__)
580         "-traditional",
581         "-Demxos2",
582 #endif
583
584 };
585
586
587 /*
588  * Step 6: DEFAULT_OS_MAJOR_REV, DEFAULT_OS_MINOR_REV, DEFAULT_OS_TEENY_REV,
589  *      and DEFAULT_OS_NAME.
590  *      If your systems provides a way to generate the default major,
591  *      minor, teeny, or system names at runtime add commands below.
592  *      The syntax of the _REV strings is 'f fmt' where 'f' is an argument
593  *      you would give to uname, and "fmt" is a scanf() format string.
594  *      Supported uname arguments are "snrvm", and if you specify multiple
595  *      arguments they will be separated by spaces.  No more than 5 arguments
596  *      may be given.  Unlike uname() order of arguments matters.
597  */
598 #if defined(aix)
599 /* uname -v returns "x" (e.g. "4"), and uname -r returns "y" (e.g. "1") */
600 # define DEFAULT_OS_MAJOR_REV   "v %[0-9]"
601 # define DEFAULT_OS_MINOR_REV   "r %[0-9]"
602 /* No information available to generate default OSTeenyVersion value. */
603 # define DEFAULT_OS_NAME        "srvm %[^\n]"
604 #elif defined(sun) || defined(sgi) || defined(ultrix) || defined(__uxp__) || defined(linux) || defined(sony)
605 /* uname -r returns "x.y[.z]", e.g. "5.4" or "4.1.3" */
606 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
607 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
608 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]"
609 # define DEFAULT_OS_NAME        "srvm %[^\n]"
610 #elif defined(hpux)
611 /* uname -r returns "W.x.yz", e.g. "B.10.01" */
612 # define DEFAULT_OS_MAJOR_REV   "r %*[^.].%[0-9]"
613 # define DEFAULT_OS_MINOR_REV   "r %*[^.].%*d.%1s"
614 # define DEFAULT_OS_TEENY_REV   "r %*[^.].%*d.%*c%[0-9]"
615 # define DEFAULT_OS_NAME        "srvm %[^\n]"
616 #elif defined(USL) || defined(__USLC__)
617 /* uname -v returns "x.yz" or "x.y.z", e.g. "2.02" or "2.1.2". */
618 # define DEFAULT_OS_MAJOR_REV   "v %[0-9]"
619 # define DEFAULT_OS_MINOR_REV   "v %*d.%1s"
620 # define DEFAULT_OS_TEENY_REV   "v %*d.%*c%[.0-9]"
621 # define DEFAULT_OS_NAME        "srvm %[^\n]"
622 #elif defined(__osf__)
623 /* uname -r returns "Wx.y", e.g. "V3.2" or "T4.0" */
624 # define DEFAULT_OS_MAJOR_REV   "r %*[^0-9]%[0-9]"
625 # define DEFAULT_OS_MINOR_REV   "r %*[^.].%[0-9]"
626 # define DEFAULT_OS_NAME        "srvm %[^\n]"
627 #elif defined(__uxp__)
628 /* NOTE: "x.y[.z]" above handles UXP/DF.  This is a sample alternative. */
629 /* uname -v returns "VxLy Yzzzzz ....", e.g. "V20L10 Y95021 Increment 5 ..." */
630 # define DEFAULT_OS_MAJOR_REV   "v V%[0-9]"
631 # define DEFAULT_OS_MINOR_REV   "v V%*dL%[0-9]"
632 # define DEFAULT_OS_NAME        "srvm %[^\n]"
633 #elif defined(__FreeBSD__)
634 /* NetBSD, OpenBSD, 386BSD, and BSD/OS too? */
635 /* uname -r returns "x.y[.z]-mumble", e.g. "2.1.5-RELEASE" or "2.2-0801SNAP" */
636 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
637 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
638 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]" 
639 # define DEFAULT_OS_NAME        "srm %[^\n]"
640 #elif defined(__OpenBSD__)
641 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
642 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
643 # define DEFAULT_OS_NAME        "srm %[^\n]"
644 #endif
645
646 #else /* else MAKEDEPEND */
647 /*
648  * Step 7:  predefs
649  *     If your compiler and/or preprocessor define any specific symbols, add
650  *     them to the the following table.  The definition of struct symtab is
651  *     in util/makedepend/def.h.
652  */
653 struct symtab   predefs[] = {
654 #ifdef apollo
655         {"apollo", "1"},
656 #endif
657 #ifdef ibm032
658         {"ibm032", "1"},
659 #endif
660 #ifdef ibm
661         {"ibm", "1"},
662 #endif
663 #ifdef aix
664         {"aix", "1"},
665 #endif
666 #ifdef sun
667         {"sun", "1"},
668 #endif
669 #ifdef sun2
670         {"sun2", "1"},
671 #endif
672 #ifdef sun3
673         {"sun3", "1"},
674 #endif
675 #ifdef sun4
676         {"sun4", "1"},
677 #endif
678 #ifdef sparc
679         {"sparc", "1"},
680 #endif
681 #ifdef __sparc__
682         {"__sparc__", "1"},
683 #endif
684 #ifdef hpux
685         {"hpux", "1"},
686 #endif
687 #ifdef __hpux
688         {"__hpux", "1"},
689 #endif
690 #ifdef __hp9000s800
691         {"__hp9000s800", "1"},
692 #endif
693 #ifdef __hp9000s700
694         {"__hp9000s700", "1"},
695 #endif
696 #ifdef vax
697         {"vax", "1"},
698 #endif
699 #ifdef VMS
700         {"VMS", "1"},
701 #endif
702 #ifdef cray
703         {"cray", "1"},
704 #endif
705 #ifdef CRAY
706         {"CRAY", "1"},
707 #endif
708 #ifdef _CRAY
709         {"_CRAY", "1"},
710 #endif
711 #ifdef att
712         {"att", "1"},
713 #endif
714 #ifdef mips
715         {"mips", "1"},
716 #endif
717 #ifdef __mips__
718         {"__mips__", "1"},
719 #endif
720 #ifdef ultrix
721         {"ultrix", "1"},
722 #endif
723 #ifdef stellar
724         {"stellar", "1"},
725 #endif
726 #ifdef mc68000
727         {"mc68000", "1"},
728 #endif
729 #ifdef mc68020
730         {"mc68020", "1"},
731 #endif
732 #ifdef __GNUC__
733         {"__GNUC__", "1"},
734 #endif
735 #if __STDC__
736         {"__STDC__", "1"},
737 #endif
738 #ifdef __HIGHC__
739         {"__HIGHC__", "1"},
740 #endif
741 #ifdef CMU
742         {"CMU", "1"},
743 #endif
744 #ifdef luna
745         {"luna", "1"},
746 #ifdef luna1
747         {"luna1", "1"},
748 #endif
749 #ifdef luna2
750         {"luna2", "1"},
751 #endif
752 #ifdef luna88k
753         {"luna88k", "1"},
754 #endif
755 #ifdef uniosb
756         {"uniosb", "1"},
757 #endif
758 #ifdef uniosu
759         {"uniosu", "1"},
760 #endif
761 #endif
762 #ifdef ieeep754
763         {"ieeep754", "1"},
764 #endif
765 #ifdef is68k
766         {"is68k", "1"},
767 #endif
768 #ifdef m68k
769         {"m68k", "1"},
770 #endif
771 #ifdef m88k
772         {"m88k", "1"},
773 #endif
774 #ifdef __m88k__
775         {"__m88k__", "1"},
776 #endif
777 #ifdef bsd43
778         {"bsd43", "1"},
779 #endif
780 #ifdef hcx
781         {"hcx", "1"},
782 #endif
783 #ifdef sony
784         {"sony", "1"},
785 #ifdef SYSTYPE_SYSV
786         {"SYSTYPE_SYSV", "1"},
787 #endif
788 #ifdef _SYSTYPE_SYSV
789         {"_SYSTYPE_SYSV", "1"},
790 #endif
791 #endif
792 #ifdef __OSF__
793         {"__OSF__", "1"},
794 #endif
795 #ifdef __osf__
796         {"__osf__", "1"},
797 #endif
798 #ifdef __alpha
799         {"__alpha", "1"},
800 #endif
801 #ifdef __DECC
802         {"__DECC",  "1"},
803 #endif
804 #ifdef __decc
805         {"__decc",  "1"},
806 #endif
807 #ifdef __unix__
808         {"__unix__", "1"},
809 #endif
810 #ifdef __uxp__
811         {"__uxp__", "1"},
812 #endif
813 #ifdef __sxg__
814         {"__sxg__", "1"},
815 #endif
816 #ifdef _SEQUENT_
817         {"_SEQUENT_", "1"},
818         {"__STDC__", "1"},
819 #endif
820 #ifdef __bsdi__
821         {"__bsdi__", "1"},
822 #endif
823 #ifdef nec_ews_svr2
824         {"nec_ews_svr2", "1"},
825 #endif
826 #ifdef nec_ews_svr4
827         {"nec_ews_svr4", "1"},
828 #endif
829 #ifdef _nec_ews_svr4
830         {"_nec_ews_svr4", "1"},
831 #endif
832 #ifdef _nec_up
833         {"_nec_up", "1"},
834 #endif
835 #ifdef SX
836         {"SX", "1"},
837 #endif
838 #ifdef nec
839         {"nec", "1"},
840 #endif
841 #ifdef _nec_ft
842         {"_nec_ft", "1"},
843 #endif
844 #ifdef PC_UX
845         {"PC_UX", "1"},
846 #endif
847 #ifdef sgi
848         {"sgi", "1"},
849 #endif
850 #ifdef __sgi
851         {"__sgi", "1"},
852 #endif
853 #ifdef __FreeBSD__
854         {"__FreeBSD__", "1"},
855 #endif
856 #ifdef __OpenBSD__
857         {"__OpenBSD__", "1"},
858 #endif
859 #ifdef __NetBSD__
860         {"__NetBSD__", "1"},
861 #endif
862 #ifdef __EMX__
863         {"__EMX__", "1"},
864 #endif
865 # ifdef ia64
866         {"ia64", "1"},
867 # endif
868 # ifdef __ia64__
869         {"__ia64__", "1"},
870 # endif
871 # if defined (amd64) || defined (x86_64)
872         {"amd64", "1"},
873         {"x86_64", "1"},
874 # endif
875 # if defined (__amd64__) || defined (__x86_64__)
876         {"__amd64__", "1"},
877         {"__x86_64__", "1"},
878 # endif
879 # ifdef __i386
880         {"__i386", "1"},
881 # endif
882 # ifdef __i386__
883         {"__i386__", "1"},
884 # endif
885 # ifdef __i486__
886         {"__i486__", "1"},
887 # endif
888 # ifdef __i586__
889         {"__i586__", "1"},
890 # endif
891 # ifdef __i686__
892         {"__i686__", "1"},
893 # endif
894 # ifdef __k6__
895         {"__k6__", "1"},
896 # endif
897 # ifdef i386
898         {"i386", "1"},
899 # endif
900 # ifdef i486
901         {"i486", "1"},
902 # endif
903 # ifdef i586
904         {"i586", "1"},
905 # endif
906 # ifdef i686
907         { "i686", "1"},
908 # endif
909 # ifdef k6
910         {"k6", "1"},
911 # endif
912 # ifdef sparc
913         {"sparc", "1"},
914 # endif
915 # ifdef __sparc__
916         {"__sparc__", "1"},
917 # endif
918 #if defined(__ppc__)
919         {"__ppc__", "1"},
920 #endif
921 #if defined(__ppc64__)
922         {"__ppc64__", "1"},
923 #endif
924 # ifdef __powerpc__
925         {"__powerpc__", "1"},
926 # endif
927 # ifdef __powerpc64__
928         {"__powerpc64__", "1"},
929 # endif
930 #if defined(__BIG_ENDIAN__)
931       {"__BIG_ENDIAN__", "1"},
932 #endif
933 #if defined(__LITTLE_ENDIAN__)
934       {"__LITTLE_ENDIAN__", "1"},
935 #endif
936 #if defined(__vxworks)
937       {"vxworks", "1"},
938 #endif
939         /* add any additional symbols before this line */
940         {NULL, NULL}
941 };
942
943 #endif /* MAKEDEPEND */
944 #endif /* CCIMAKE */