08316136b3def1394ff2a45b79bf325729b9bf8c
[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 __GNUC__
329         "-traditional",
330 # endif
331 #endif
332 #ifdef M4330
333         "-DM4330",      /* Tektronix */
334 #endif
335 #ifdef M4310
336         "-DM4310",      /* Tektronix */
337 #endif
338 #if defined(macII) || defined(_AUX_SOURCE)
339         "-DmacII",      /* Apple A/UX */
340 #endif
341 #if defined(USL) || defined(__USLC__)
342         "-DUSL",        /* USL */
343 #endif
344 #ifdef sony
345         "-Dsony",       /* Sony */
346 #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
347         "-Dbsd43",
348 #endif
349 #endif
350 #ifdef _IBMR2
351         "-D_IBMR2",     /* IBM RS-6000 (we ensured that aix is defined above */
352 #ifndef aix
353 #define aix             /* allow BOOTSTRAPCFLAGS="-D_IBMR2" */
354 #endif
355 #endif /* _IBMR2 */
356 #ifdef aix
357         "-Daix",        /* AIX instead of AOS */
358 #ifndef ibm
359 #define ibm             /* allow BOOTSTRAPCFLAGS="-Daix" */
360 #endif
361 #endif /* aix */
362 #ifdef ibm
363         "-Dibm",        /* IBM PS/2 and RT under both AOS and AIX */
364 #endif
365 #ifdef luna
366         "-Dluna",       /* OMRON luna 68K and 88K */
367 #ifdef luna1
368         "-Dluna1",
369 #endif
370 #ifdef luna88k          /* need not on UniOS-Mach Vers. 1.13 */
371         "-traditional", /* for some older version            */
372 #endif                  /* instead of "-DXCOMM=\\#"          */
373 #ifdef uniosb
374         "-Duniosb",
375 #endif
376 #ifdef uniosu
377         "-Duniosu",
378 #endif
379 #endif /* luna */
380 #ifdef _CRAY            /* Cray */
381         "-Ucray",
382 #endif
383 #ifdef Mips
384         "-DMips",       /* Define and use Mips for Mips Co. OS/mach. */
385 # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
386         "-DBSD43",      /* Mips RISCOS supports two environments */
387 # else
388         "-DSYSV",       /* System V environment is the default */
389 # endif
390 #endif /* Mips */
391 #ifdef MOTOROLA
392         "-DMOTOROLA",    /* Motorola Delta Systems */
393 # ifdef SYSV
394         "-DSYSV", 
395 # endif
396 # ifdef SVR4
397         "-DSVR4",
398 # endif
399 #endif /* MOTOROLA */
400 #if defined(M_UNIX) || defined(sco)
401         "-Dsco",
402 # if defined(sco324)
403         "-Dsco324",
404 # endif
405 #endif
406 #ifdef i386
407         "-Di386",
408 # ifdef SVR4
409         "-DSVR4",
410 # endif
411 # ifdef SYSV
412         "-DSYSV",
413 #  ifdef ISC
414         "-DISC",
415 #   ifdef ISC40
416         "-DISC40",       /* ISC 4.0 */
417 #   else
418 #    ifdef ISC202
419         "-DISC202",      /* ISC 2.0.2 */
420 #    else
421 #     ifdef ISC30
422         "-DISC30",       /* ISC 3.0 */
423 #     else
424         "-DISC22",       /* ISC 2.2.1 */
425 #     endif
426 #    endif
427 #   endif
428 #  endif
429 #  ifdef SCO
430         "-DSCO",
431 #   ifdef SCO324
432         "-DSCO324",
433 #   endif
434 #  endif
435 #  ifdef ESIX
436         "-DESIX",
437 #  endif
438 #  ifdef ATT
439         "-DATT",
440 #  endif
441 #  ifdef DELL
442         "-DDELL",
443 #  endif
444 # endif
445 #endif
446 #ifdef SYSV386          /* System V/386 folks, obsolete */
447         "-Di386",
448 # ifdef SVR4
449         "-DSVR4",
450 # endif
451 # ifdef SYSV
452         "-DSYSV",
453 #  ifdef ISC
454         "-DISC",
455 #   ifdef ISC40
456         "-DISC40",       /* ISC 4.0 */
457 #   else
458 #    ifdef ISC202
459         "-DISC202",      /* ISC 2.0.2 */
460 #    else
461 #     ifdef ISC30
462         "-DISC30",       /* ISC 3.0 */
463 #     else
464         "-DISC22",       /* ISC 2.2.1 */
465 #     endif
466 #    endif
467 #   endif
468 #  endif
469 #  ifdef SCO
470         "-DSCO",
471 #   ifdef SCO324
472         "-DSCO324",
473 #   endif
474 #  endif
475 #  ifdef ESIX
476         "-DESIX",
477 #  endif
478 #  ifdef ATT
479         "-DATT",
480 #  endif
481 #  ifdef DELL
482         "-DDELL",
483 #  endif
484 # endif
485 #endif
486 #ifdef __osf__
487         "-D__osf__",
488 # ifdef __mips__
489         "-D__mips__",
490 # endif
491 # ifdef __alpha
492         "-D__alpha",
493 # endif
494 # ifdef __i386__
495         "-D__i386__",
496 # endif
497 # ifdef __GNUC__
498         "-traditional",
499 # endif
500 #endif
501 #ifdef Oki
502         "-DOki",
503 #endif
504 #ifdef sun
505 #if defined(SVR4) || defined(__svr4__) || defined(__SVR4) || defined(__sol__)
506         "-DSVR4",
507 #endif
508 #endif
509 #ifdef WIN32
510         "-DWIN32",
511         "-nologo",
512 #if _MSC_VER < 1000
513         "-batch",
514 #endif
515         "-D__STDC__",
516 #endif
517 #ifdef NCR
518         "-DNCR",        /* NCR */
519 #endif
520 #ifdef linux
521         "-traditional",
522         "-Dlinux",
523 #endif
524 #ifdef __uxp__
525         "-D__uxp__",
526 #endif
527 #ifdef __sxg__
528         "-D__sxg__",
529 #endif
530 #ifdef nec_ews_svr2
531         "-Dnec_ews_svr2",
532 #endif
533 #ifdef AMOEBA
534         "-DAMOEBA",
535 # ifdef CROSS_COMPILE
536         "-DCROSS_COMPILE",
537 #  ifdef CROSS_i80386
538         "-DCROSS_i80386",
539 #  endif
540 #  ifdef CROSS_sparc
541         "-DCROSS_sparc",
542 #  endif
543 #  ifdef CROSS_mc68000
544         "-DCROSS_mc68000",
545 #  endif
546 # else
547 #  ifdef i80386
548         "-Di80386",
549 #  endif
550 #  ifdef sparc
551         "-Dsparc",
552 #  endif
553 #  ifdef mc68000
554         "-Dmc68000",
555 #  endif
556 # endif
557 #endif
558 #if defined(__sgi) && defined(__ANSI_CPP__)
559         "-cckr",
560 #endif
561 #ifdef __minix_vmd
562         "-Dminix",
563 #endif
564
565 #if defined(__EMX__)
566         "-traditional",
567         "-Demxos2",
568 #endif
569
570 };
571
572
573 /*
574  * Step 6: DEFAULT_OS_MAJOR_REV, DEFAULT_OS_MINOR_REV, DEFAULT_OS_TEENY_REV,
575  *      and DEFAULT_OS_NAME.
576  *      If your systems provides a way to generate the default major,
577  *      minor, teeny, or system names at runtime add commands below.
578  *      The syntax of the _REV strings is 'f fmt' where 'f' is an argument
579  *      you would give to uname, and "fmt" is a scanf() format string.
580  *      Supported uname arguments are "snrvm", and if you specify multiple
581  *      arguments they will be separated by spaces.  No more than 5 arguments
582  *      may be given.  Unlike uname() order of arguments matters.
583  */
584 #if defined(aix)
585 /* uname -v returns "x" (e.g. "4"), and uname -r returns "y" (e.g. "1") */
586 # define DEFAULT_OS_MAJOR_REV   "v %[0-9]"
587 # define DEFAULT_OS_MINOR_REV   "r %[0-9]"
588 /* No information available to generate default OSTeenyVersion value. */
589 # define DEFAULT_OS_NAME        "srvm %[^\n]"
590 #elif defined(sun) || defined(sgi) || defined(ultrix) || defined(__uxp__) || defined(linux) || defined(sony)
591 /* uname -r returns "x.y[.z]", e.g. "5.4" or "4.1.3" */
592 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
593 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
594 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]"
595 # define DEFAULT_OS_NAME        "srvm %[^\n]"
596 #elif defined(hpux)
597 /* uname -r returns "W.x.yz", e.g. "B.10.01" */
598 # define DEFAULT_OS_MAJOR_REV   "r %*[^.].%[0-9]"
599 # define DEFAULT_OS_MINOR_REV   "r %*[^.].%*d.%1s"
600 # define DEFAULT_OS_TEENY_REV   "r %*[^.].%*d.%*c%[0-9]"
601 # define DEFAULT_OS_NAME        "srvm %[^\n]"
602 #elif defined(USL) || defined(__USLC__)
603 /* uname -v returns "x.yz" or "x.y.z", e.g. "2.02" or "2.1.2". */
604 # define DEFAULT_OS_MAJOR_REV   "v %[0-9]"
605 # define DEFAULT_OS_MINOR_REV   "v %*d.%1s"
606 # define DEFAULT_OS_TEENY_REV   "v %*d.%*c%[.0-9]"
607 # define DEFAULT_OS_NAME        "srvm %[^\n]"
608 #elif defined(__osf__)
609 /* uname -r returns "Wx.y", e.g. "V3.2" or "T4.0" */
610 # define DEFAULT_OS_MAJOR_REV   "r %*[^0-9]%[0-9]"
611 # define DEFAULT_OS_MINOR_REV   "r %*[^.].%[0-9]"
612 # define DEFAULT_OS_NAME        "srvm %[^\n]"
613 #elif defined(__uxp__)
614 /* NOTE: "x.y[.z]" above handles UXP/DF.  This is a sample alternative. */
615 /* uname -v returns "VxLy Yzzzzz ....", e.g. "V20L10 Y95021 Increment 5 ..." */
616 # define DEFAULT_OS_MAJOR_REV   "v V%[0-9]"
617 # define DEFAULT_OS_MINOR_REV   "v V%*dL%[0-9]"
618 # define DEFAULT_OS_NAME        "srvm %[^\n]"
619 #elif defined(__FreeBSD__)
620 /* NetBSD, OpenBSD, 386BSD, and BSD/OS too? */
621 /* uname -r returns "x.y[.z]-mumble", e.g. "2.1.5-RELEASE" or "2.2-0801SNAP" */
622 # define DEFAULT_OS_MAJOR_REV   "r %[0-9]"
623 # define DEFAULT_OS_MINOR_REV   "r %*d.%[0-9]"
624 # define DEFAULT_OS_TEENY_REV   "r %*d.%*d.%[0-9]" 
625 # define DEFAULT_OS_NAME        "srm %[^\n]"
626 #endif
627
628 #else /* else MAKEDEPEND */
629 /*
630  * Step 7:  predefs
631  *     If your compiler and/or preprocessor define any specific symbols, add
632  *     them to the the following table.  The definition of struct symtab is
633  *     in util/makedepend/def.h.
634  */
635 struct symtab   predefs[] = {
636 #ifdef apollo
637         {"apollo", "1"},
638 #endif
639 #ifdef ibm032
640         {"ibm032", "1"},
641 #endif
642 #ifdef ibm
643         {"ibm", "1"},
644 #endif
645 #ifdef aix
646         {"aix", "1"},
647 #endif
648 #ifdef sun
649         {"sun", "1"},
650 #endif
651 #ifdef sun2
652         {"sun2", "1"},
653 #endif
654 #ifdef sun3
655         {"sun3", "1"},
656 #endif
657 #ifdef sun4
658         {"sun4", "1"},
659 #endif
660 #ifdef sparc
661         {"sparc", "1"},
662 #endif
663 #ifdef __sparc__
664         {"__sparc__", "1"},
665 #endif
666 #ifdef hpux
667         {"hpux", "1"},
668 #endif
669 #ifdef __hpux
670         {"__hpux", "1"},
671 #endif
672 #ifdef __hp9000s800
673         {"__hp9000s800", "1"},
674 #endif
675 #ifdef __hp9000s700
676         {"__hp9000s700", "1"},
677 #endif
678 #ifdef vax
679         {"vax", "1"},
680 #endif
681 #ifdef VMS
682         {"VMS", "1"},
683 #endif
684 #ifdef cray
685         {"cray", "1"},
686 #endif
687 #ifdef CRAY
688         {"CRAY", "1"},
689 #endif
690 #ifdef _CRAY
691         {"_CRAY", "1"},
692 #endif
693 #ifdef att
694         {"att", "1"},
695 #endif
696 #ifdef mips
697         {"mips", "1"},
698 #endif
699 #ifdef __mips__
700         {"__mips__", "1"},
701 #endif
702 #ifdef ultrix
703         {"ultrix", "1"},
704 #endif
705 #ifdef stellar
706         {"stellar", "1"},
707 #endif
708 #ifdef mc68000
709         {"mc68000", "1"},
710 #endif
711 #ifdef mc68020
712         {"mc68020", "1"},
713 #endif
714 #ifdef __GNUC__
715         {"__GNUC__", "1"},
716 #endif
717 #if __STDC__
718         {"__STDC__", "1"},
719 #endif
720 #ifdef __HIGHC__
721         {"__HIGHC__", "1"},
722 #endif
723 #ifdef CMU
724         {"CMU", "1"},
725 #endif
726 #ifdef luna
727         {"luna", "1"},
728 #ifdef luna1
729         {"luna1", "1"},
730 #endif
731 #ifdef luna2
732         {"luna2", "1"},
733 #endif
734 #ifdef luna88k
735         {"luna88k", "1"},
736 #endif
737 #ifdef uniosb
738         {"uniosb", "1"},
739 #endif
740 #ifdef uniosu
741         {"uniosu", "1"},
742 #endif
743 #endif
744 #ifdef ieeep754
745         {"ieeep754", "1"},
746 #endif
747 #ifdef is68k
748         {"is68k", "1"},
749 #endif
750 #ifdef m68k
751         {"m68k", "1"},
752 #endif
753 #ifdef m88k
754         {"m88k", "1"},
755 #endif
756 #ifdef __m88k__
757         {"__m88k__", "1"},
758 #endif
759 #ifdef bsd43
760         {"bsd43", "1"},
761 #endif
762 #ifdef hcx
763         {"hcx", "1"},
764 #endif
765 #ifdef sony
766         {"sony", "1"},
767 #ifdef SYSTYPE_SYSV
768         {"SYSTYPE_SYSV", "1"},
769 #endif
770 #ifdef _SYSTYPE_SYSV
771         {"_SYSTYPE_SYSV", "1"},
772 #endif
773 #endif
774 #ifdef __OSF__
775         {"__OSF__", "1"},
776 #endif
777 #ifdef __osf__
778         {"__osf__", "1"},
779 #endif
780 #ifdef __alpha
781         {"__alpha", "1"},
782 #endif
783 #ifdef __DECC
784         {"__DECC",  "1"},
785 #endif
786 #ifdef __decc
787         {"__decc",  "1"},
788 #endif
789 #ifdef __unix__
790         {"__unix__", "1"},
791 #endif
792 #ifdef __uxp__
793         {"__uxp__", "1"},
794 #endif
795 #ifdef __sxg__
796         {"__sxg__", "1"},
797 #endif
798 #ifdef _SEQUENT_
799         {"_SEQUENT_", "1"},
800         {"__STDC__", "1"},
801 #endif
802 #ifdef __bsdi__
803         {"__bsdi__", "1"},
804 #endif
805 #ifdef nec_ews_svr2
806         {"nec_ews_svr2", "1"},
807 #endif
808 #ifdef nec_ews_svr4
809         {"nec_ews_svr4", "1"},
810 #endif
811 #ifdef _nec_ews_svr4
812         {"_nec_ews_svr4", "1"},
813 #endif
814 #ifdef _nec_up
815         {"_nec_up", "1"},
816 #endif
817 #ifdef SX
818         {"SX", "1"},
819 #endif
820 #ifdef nec
821         {"nec", "1"},
822 #endif
823 #ifdef _nec_ft
824         {"_nec_ft", "1"},
825 #endif
826 #ifdef PC_UX
827         {"PC_UX", "1"},
828 #endif
829 #ifdef sgi
830         {"sgi", "1"},
831 #endif
832 #ifdef __sgi
833         {"__sgi", "1"},
834 #endif
835 #ifdef __FreeBSD__
836         {"__FreeBSD__", "1"},
837 #endif
838 #ifdef __OpenBSD__
839         {"__OpenBSD__", "1"},
840 #endif
841 #ifdef __NetBSD__
842         {"__NetBSD__", "1"},
843 #endif
844 #ifdef __EMX__
845         {"__EMX__", "1"},
846 #endif
847 # ifdef ia64
848         {"ia64", "1"},
849 # endif
850 # ifdef __ia64__
851         {"__ia64__", "1"},
852 # endif
853 # if defined (amd64) || defined (x86_64)
854         {"amd64", "1"},
855         {"x86_64", "1"},
856 # endif
857 # if defined (__amd64__) || defined (__x86_64__)
858         {"__amd64__", "1"},
859         {"__x86_64__", "1"},
860 # endif
861 # ifdef __i386
862         {"__i386", "1"},
863 # endif
864 # ifdef __i386__
865         {"__i386__", "1"},
866 # endif
867 # ifdef __i486__
868         {"__i486__", "1"},
869 # endif
870 # ifdef __i586__
871         {"__i586__", "1"},
872 # endif
873 # ifdef __i686__
874         {"__i686__", "1"},
875 # endif
876 # ifdef __k6__
877         {"__k6__", "1"},
878 # endif
879 # ifdef i386
880         {"i386", "1"},
881 # endif
882 # ifdef i486
883         {"i486", "1"},
884 # endif
885 # ifdef i586
886         {"i586", "1"},
887 # endif
888 # ifdef i686
889         { "i686", "1"},
890 # endif
891 # ifdef k6
892         {"k6", "1"},
893 # endif
894 # ifdef sparc
895         {"sparc", "1"},
896 # endif
897 # ifdef __sparc__
898         {"__sparc__", "1"},
899 # endif
900 #if defined(__ppc__)
901         {"__ppc__", "1"},
902 #endif
903 #if defined(__ppc64__)
904         {"__ppc64__", "1"},
905 #endif
906 # ifdef __powerpc__
907         {"__powerpc__", "1"},
908 # endif
909 # ifdef __powerpc64__
910         {"__powerpc64__", "1"},
911 # endif
912 #if defined(__BIG_ENDIAN__)
913       {"__BIG_ENDIAN__", "1"},
914 #endif
915 #if defined(__LITTLE_ENDIAN__)
916       {"__LITTLE_ENDIAN__", "1"},
917 #endif
918 #if defined(__vxworks)
919       {"vxworks", "1"},
920 #endif
921         /* add any additional symbols before this line */
922         {NULL, NULL}
923 };
924
925 #endif /* MAKEDEPEND */
926 #endif /* CCIMAKE */