2ec32e27b051c2dec07dfdbac42c676733cac384
[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 #endif
641
642 #else /* else MAKEDEPEND */
643 /*
644  * Step 7:  predefs
645  *     If your compiler and/or preprocessor define any specific symbols, add
646  *     them to the the following table.  The definition of struct symtab is
647  *     in util/makedepend/def.h.
648  */
649 struct symtab   predefs[] = {
650 #ifdef apollo
651         {"apollo", "1"},
652 #endif
653 #ifdef ibm032
654         {"ibm032", "1"},
655 #endif
656 #ifdef ibm
657         {"ibm", "1"},
658 #endif
659 #ifdef aix
660         {"aix", "1"},
661 #endif
662 #ifdef sun
663         {"sun", "1"},
664 #endif
665 #ifdef sun2
666         {"sun2", "1"},
667 #endif
668 #ifdef sun3
669         {"sun3", "1"},
670 #endif
671 #ifdef sun4
672         {"sun4", "1"},
673 #endif
674 #ifdef sparc
675         {"sparc", "1"},
676 #endif
677 #ifdef __sparc__
678         {"__sparc__", "1"},
679 #endif
680 #ifdef hpux
681         {"hpux", "1"},
682 #endif
683 #ifdef __hpux
684         {"__hpux", "1"},
685 #endif
686 #ifdef __hp9000s800
687         {"__hp9000s800", "1"},
688 #endif
689 #ifdef __hp9000s700
690         {"__hp9000s700", "1"},
691 #endif
692 #ifdef vax
693         {"vax", "1"},
694 #endif
695 #ifdef VMS
696         {"VMS", "1"},
697 #endif
698 #ifdef cray
699         {"cray", "1"},
700 #endif
701 #ifdef CRAY
702         {"CRAY", "1"},
703 #endif
704 #ifdef _CRAY
705         {"_CRAY", "1"},
706 #endif
707 #ifdef att
708         {"att", "1"},
709 #endif
710 #ifdef mips
711         {"mips", "1"},
712 #endif
713 #ifdef __mips__
714         {"__mips__", "1"},
715 #endif
716 #ifdef ultrix
717         {"ultrix", "1"},
718 #endif
719 #ifdef stellar
720         {"stellar", "1"},
721 #endif
722 #ifdef mc68000
723         {"mc68000", "1"},
724 #endif
725 #ifdef mc68020
726         {"mc68020", "1"},
727 #endif
728 #ifdef __GNUC__
729         {"__GNUC__", "1"},
730 #endif
731 #if __STDC__
732         {"__STDC__", "1"},
733 #endif
734 #ifdef __HIGHC__
735         {"__HIGHC__", "1"},
736 #endif
737 #ifdef CMU
738         {"CMU", "1"},
739 #endif
740 #ifdef luna
741         {"luna", "1"},
742 #ifdef luna1
743         {"luna1", "1"},
744 #endif
745 #ifdef luna2
746         {"luna2", "1"},
747 #endif
748 #ifdef luna88k
749         {"luna88k", "1"},
750 #endif
751 #ifdef uniosb
752         {"uniosb", "1"},
753 #endif
754 #ifdef uniosu
755         {"uniosu", "1"},
756 #endif
757 #endif
758 #ifdef ieeep754
759         {"ieeep754", "1"},
760 #endif
761 #ifdef is68k
762         {"is68k", "1"},
763 #endif
764 #ifdef m68k
765         {"m68k", "1"},
766 #endif
767 #ifdef m88k
768         {"m88k", "1"},
769 #endif
770 #ifdef __m88k__
771         {"__m88k__", "1"},
772 #endif
773 #ifdef bsd43
774         {"bsd43", "1"},
775 #endif
776 #ifdef hcx
777         {"hcx", "1"},
778 #endif
779 #ifdef sony
780         {"sony", "1"},
781 #ifdef SYSTYPE_SYSV
782         {"SYSTYPE_SYSV", "1"},
783 #endif
784 #ifdef _SYSTYPE_SYSV
785         {"_SYSTYPE_SYSV", "1"},
786 #endif
787 #endif
788 #ifdef __OSF__
789         {"__OSF__", "1"},
790 #endif
791 #ifdef __osf__
792         {"__osf__", "1"},
793 #endif
794 #ifdef __alpha
795         {"__alpha", "1"},
796 #endif
797 #ifdef __DECC
798         {"__DECC",  "1"},
799 #endif
800 #ifdef __decc
801         {"__decc",  "1"},
802 #endif
803 #ifdef __unix__
804         {"__unix__", "1"},
805 #endif
806 #ifdef __uxp__
807         {"__uxp__", "1"},
808 #endif
809 #ifdef __sxg__
810         {"__sxg__", "1"},
811 #endif
812 #ifdef _SEQUENT_
813         {"_SEQUENT_", "1"},
814         {"__STDC__", "1"},
815 #endif
816 #ifdef __bsdi__
817         {"__bsdi__", "1"},
818 #endif
819 #ifdef nec_ews_svr2
820         {"nec_ews_svr2", "1"},
821 #endif
822 #ifdef nec_ews_svr4
823         {"nec_ews_svr4", "1"},
824 #endif
825 #ifdef _nec_ews_svr4
826         {"_nec_ews_svr4", "1"},
827 #endif
828 #ifdef _nec_up
829         {"_nec_up", "1"},
830 #endif
831 #ifdef SX
832         {"SX", "1"},
833 #endif
834 #ifdef nec
835         {"nec", "1"},
836 #endif
837 #ifdef _nec_ft
838         {"_nec_ft", "1"},
839 #endif
840 #ifdef PC_UX
841         {"PC_UX", "1"},
842 #endif
843 #ifdef sgi
844         {"sgi", "1"},
845 #endif
846 #ifdef __sgi
847         {"__sgi", "1"},
848 #endif
849 #ifdef __FreeBSD__
850         {"__FreeBSD__", "1"},
851 #endif
852 #ifdef __OpenBSD__
853         {"__OpenBSD__", "1"},
854 #endif
855 #ifdef __NetBSD__
856         {"__NetBSD__", "1"},
857 #endif
858 #ifdef __EMX__
859         {"__EMX__", "1"},
860 #endif
861 # ifdef ia64
862         {"ia64", "1"},
863 # endif
864 # ifdef __ia64__
865         {"__ia64__", "1"},
866 # endif
867 # if defined (amd64) || defined (x86_64)
868         {"amd64", "1"},
869         {"x86_64", "1"},
870 # endif
871 # if defined (__amd64__) || defined (__x86_64__)
872         {"__amd64__", "1"},
873         {"__x86_64__", "1"},
874 # endif
875 # ifdef __i386
876         {"__i386", "1"},
877 # endif
878 # ifdef __i386__
879         {"__i386__", "1"},
880 # endif
881 # ifdef __i486__
882         {"__i486__", "1"},
883 # endif
884 # ifdef __i586__
885         {"__i586__", "1"},
886 # endif
887 # ifdef __i686__
888         {"__i686__", "1"},
889 # endif
890 # ifdef __k6__
891         {"__k6__", "1"},
892 # endif
893 # ifdef i386
894         {"i386", "1"},
895 # endif
896 # ifdef i486
897         {"i486", "1"},
898 # endif
899 # ifdef i586
900         {"i586", "1"},
901 # endif
902 # ifdef i686
903         { "i686", "1"},
904 # endif
905 # ifdef k6
906         {"k6", "1"},
907 # endif
908 # ifdef sparc
909         {"sparc", "1"},
910 # endif
911 # ifdef __sparc__
912         {"__sparc__", "1"},
913 # endif
914 #if defined(__ppc__)
915         {"__ppc__", "1"},
916 #endif
917 #if defined(__ppc64__)
918         {"__ppc64__", "1"},
919 #endif
920 # ifdef __powerpc__
921         {"__powerpc__", "1"},
922 # endif
923 # ifdef __powerpc64__
924         {"__powerpc64__", "1"},
925 # endif
926 #if defined(__BIG_ENDIAN__)
927       {"__BIG_ENDIAN__", "1"},
928 #endif
929 #if defined(__LITTLE_ENDIAN__)
930       {"__LITTLE_ENDIAN__", "1"},
931 #endif
932 #if defined(__vxworks)
933       {"vxworks", "1"},
934 #endif
935         /* add any additional symbols before this line */
936         {NULL, NULL}
937 };
938
939 #endif /* MAKEDEPEND */
940 #endif /* CCIMAKE */