xenocara/util/makedepend/imakemdep.h

468 lines
8.5 KiB
C
Raw Normal View History

/*
Copyright (c) 1993, 1994, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/*
2024-04-29 00:35:41 +00:00
* This file contains machine-dependent constants for the makedepend utility.
* When porting makedepend, add in any necessary definitions for selecting
* the right headers to include on your platform.
*/
2024-04-29 00:35:41 +00:00
struct predef_symtab {
const char *s_name;
const char *s_value;
};
#if !defined (CROSSCOMPILE) || defined (CROSSCOMPILE_CPP)
/* predefs:
* If your compiler and/or preprocessor define any specific symbols, add
2024-04-29 00:35:41 +00:00
* them to the the following table.
*/
#undef DEF_EVALUATE
#undef DEF_STRINGIFY
#define DEF_EVALUATE(__x) #__x
#define DEF_STRINGIFY(_x) DEF_EVALUATE(_x)
2024-04-29 00:35:41 +00:00
static const struct predef_symtab predefs[] = {
#ifdef apollo
2024-04-29 00:35:41 +00:00
{"apollo", "1"},
#endif
#if defined(clipper) || defined(__clipper__)
2024-04-29 00:35:41 +00:00
{"clipper", "1"},
{"__clipper__", "1"},
{"clix", "1"},
{"__clix__", "1"},
#endif
#ifdef ibm032
2024-04-29 00:35:41 +00:00
{"ibm032", "1"},
#endif
#ifdef ibm
2024-04-29 00:35:41 +00:00
{"ibm", "1"},
#endif
#ifdef aix
2024-04-29 00:35:41 +00:00
{"aix", "1"},
#endif
#ifdef sun
2024-04-29 00:35:41 +00:00
{"sun", "1"},
#endif
#ifdef sun2
2024-04-29 00:35:41 +00:00
{"sun2", "1"},
#endif
#ifdef sun3
2024-04-29 00:35:41 +00:00
{"sun3", "1"},
#endif
#ifdef sun4
2024-04-29 00:35:41 +00:00
{"sun4", "1"},
#endif
#ifdef __sun
2024-04-29 00:35:41 +00:00
{"__sun", "1"},
#endif
#ifdef __SunOS
2024-04-29 00:35:41 +00:00
{"__SunOS", "1"},
#endif
#ifdef __SVR4
2024-04-29 00:35:41 +00:00
{"__SVR4", "1"},
#endif
#ifdef sparc
2024-04-29 00:35:41 +00:00
{"sparc", "1"},
#endif
#ifdef __sparc
2024-04-29 00:35:41 +00:00
{"__sparc", "1"},
#endif
#ifdef __sparcv9
2024-04-29 00:35:41 +00:00
{"__sparcv9", "1"},
#endif
#ifdef __sparc__
2024-04-29 00:35:41 +00:00
{"__sparc__", "1"},
#endif
#ifdef __sparcv9__
2024-04-29 00:35:41 +00:00
{"__sparcv9__", "1"},
#endif
#ifdef hpux
2024-04-29 00:35:41 +00:00
{"hpux", "1"},
#endif
#ifdef __hpux
2024-04-29 00:35:41 +00:00
{"__hpux", "1"},
#endif
#ifdef __hp9000s800
2024-04-29 00:35:41 +00:00
{"__hp9000s800", "1"},
#endif
#ifdef __hp9000s700
2024-04-29 00:35:41 +00:00
{"__hp9000s700", "1"},
#endif
#ifdef vax
2024-04-29 00:35:41 +00:00
{"vax", "1"},
#endif
#ifdef VMS
2024-04-29 00:35:41 +00:00
{"VMS", "1"},
#endif
#ifdef cray
2024-04-29 00:35:41 +00:00
{"cray", "1"},
#endif
#ifdef CRAY
2024-04-29 00:35:41 +00:00
{"CRAY", "1"},
#endif
#ifdef _CRAY
2024-04-29 00:35:41 +00:00
{"_CRAY", "1"},
#endif
#ifdef att
2024-04-29 00:35:41 +00:00
{"att", "1"},
#endif
#ifdef mips
2024-04-29 00:35:41 +00:00
{"mips", "1"},
#endif
#ifdef __mips__
2024-04-29 00:35:41 +00:00
{"__mips__", "1"},
#endif
#ifdef ultrix
2024-04-29 00:35:41 +00:00
{"ultrix", "1"},
#endif
#ifdef stellar
2024-04-29 00:35:41 +00:00
{"stellar", "1"},
#endif
#ifdef mc68000
2024-04-29 00:35:41 +00:00
{"mc68000", "1"},
#endif
#ifdef mc68020
2024-04-29 00:35:41 +00:00
{"mc68020", "1"},
#endif
#ifdef __GNUC__
2024-04-29 00:35:41 +00:00
{"__GNUC__", DEF_STRINGIFY(__GNUC__)},
#endif
#ifdef __STRICT_ANSI__
2024-04-29 00:35:41 +00:00
{"__STRICT_ANSI__", "1"},
#endif
#ifdef __STDC__
2024-04-29 00:35:41 +00:00
{"__STDC__", DEF_STRINGIFY(__STDC__)},
#endif
#ifdef __HIGHC__
2024-04-29 00:35:41 +00:00
{"__HIGHC__", "1"},
#endif
#ifdef __OPENSERVER__
2024-04-29 00:35:41 +00:00
{"__OPENSERVER__", DEF_STRINGIFY(__OPENSERVER__)},
#endif
#ifdef _SCO_DS
2024-04-29 00:35:41 +00:00
{"_SCO_DS", DEF_STRINGIFY(_SCO_DS)},
#endif
#ifdef _SCO_DS_LL
2024-04-29 00:35:41 +00:00
{"_SCO_DS_LL", DEF_STRINGIFY(_SCO_DS_LL)},
#endif
#ifdef __SCO_VERSION__
2024-04-29 00:35:41 +00:00
{"__SCO_VERSION__", DEF_STRINGIFY(__SCO_VERSION__)},
#endif
#ifdef __UNIXWARE__
2024-04-29 00:35:41 +00:00
{"__UNIXWARE__", DEF_STRINGIFY(__UNIXWARE__)},
#endif
#ifdef __USLC__
2024-04-29 00:35:41 +00:00
{"__USLC__", DEF_STRINGIFY(__USLC__)},
#endif
#ifdef CMU
2024-04-29 00:35:41 +00:00
{"CMU", "1"},
#endif
#ifdef luna
2024-04-29 00:35:41 +00:00
{"luna", "1"},
#ifdef luna1
2024-04-29 00:35:41 +00:00
{"luna1", "1"},
#endif
#ifdef luna2
2024-04-29 00:35:41 +00:00
{"luna2", "1"},
#endif
#ifdef luna88k
2024-04-29 00:35:41 +00:00
{"luna88k", "1"},
#endif
#ifdef uniosb
2024-04-29 00:35:41 +00:00
{"uniosb", "1"},
#endif
#ifdef uniosu
2024-04-29 00:35:41 +00:00
{"uniosu", "1"},
#endif
#endif
#ifdef ieeep754
2024-04-29 00:35:41 +00:00
{"ieeep754", "1"},
#endif
#ifdef is68k
2024-04-29 00:35:41 +00:00
{"is68k", "1"},
#endif
#ifdef m68k
2024-04-29 00:35:41 +00:00
{"m68k", "1"},
#endif
#ifdef M68k
2024-04-29 00:35:41 +00:00
{"M68k", "1"},
#endif
#ifdef __m68k__
2024-04-29 00:35:41 +00:00
{"__m68k__", "1"},
#endif
#ifdef m88k
2024-04-29 00:35:41 +00:00
{"m88k", "1"},
#endif
#ifdef __m88k__
2024-04-29 00:35:41 +00:00
{"__m88k__", "1"},
#endif
#ifdef bsd43
2024-04-29 00:35:41 +00:00
{"bsd43", "1"},
#endif
#ifdef hcx
2024-04-29 00:35:41 +00:00
{"hcx", "1"},
#endif
#ifdef sony
2024-04-29 00:35:41 +00:00
{"sony", "1"},
#ifdef SYSTYPE_SYSV
2024-04-29 00:35:41 +00:00
{"SYSTYPE_SYSV", "1"},
#endif
#ifdef _SYSTYPE_SYSV
2024-04-29 00:35:41 +00:00
{"_SYSTYPE_SYSV", "1"},
#endif
#endif
#ifdef __OSF__
2024-04-29 00:35:41 +00:00
{"__OSF__", "1"},
#endif
#ifdef __osf__
2024-04-29 00:35:41 +00:00
{"__osf__", "1"},
#endif
#ifdef __amiga__
2024-04-29 00:35:41 +00:00
{"__amiga__", "1"},
#endif
#ifdef __alpha
2024-04-29 00:35:41 +00:00
{"__alpha", "1"},
#endif
#ifdef __alpha__
2024-04-29 00:35:41 +00:00
{"__alpha__", "1"},
#endif
#ifdef __DECC
2024-04-29 00:35:41 +00:00
{"__DECC", "1"},
#endif
#ifdef __decc
2024-04-29 00:35:41 +00:00
{"__decc", "1"},
#endif
#ifdef __unix
2024-04-29 00:35:41 +00:00
{"__unix", "1"},
#endif
#ifdef __unix__
2024-04-29 00:35:41 +00:00
{"__unix__", "1"},
#endif
#ifdef __uxp__
2024-04-29 00:35:41 +00:00
{"__uxp__", "1"},
#endif
#ifdef __sxg__
2024-04-29 00:35:41 +00:00
{"__sxg__", "1"},
#endif
#ifdef _SEQUENT_
2024-04-29 00:35:41 +00:00
{"_SEQUENT_", "1"},
{"__STDC__", "1"},
#endif
#ifdef __bsdi__
2024-04-29 00:35:41 +00:00
{"__bsdi__", "1"},
#endif
#ifdef nec_ews_svr2
2024-04-29 00:35:41 +00:00
{"nec_ews_svr2", "1"},
#endif
#ifdef nec_ews_svr4
2024-04-29 00:35:41 +00:00
{"nec_ews_svr4", "1"},
#endif
#ifdef _nec_ews_svr4
2024-04-29 00:35:41 +00:00
{"_nec_ews_svr4", "1"},
#endif
#ifdef _nec_up
2024-04-29 00:35:41 +00:00
{"_nec_up", "1"},
#endif
#ifdef SX
2024-04-29 00:35:41 +00:00
{"SX", "1"},
#endif
#ifdef nec
2024-04-29 00:35:41 +00:00
{"nec", "1"},
#endif
#ifdef _nec_ft
2024-04-29 00:35:41 +00:00
{"_nec_ft", "1"},
#endif
#ifdef PC_UX
2024-04-29 00:35:41 +00:00
{"PC_UX", "1"},
#endif
#ifdef sgi
2024-04-29 00:35:41 +00:00
{"sgi", "1"},
#endif
#ifdef __sgi
2024-04-29 00:35:41 +00:00
{"__sgi", "1"},
#endif
#ifdef _MIPS_FPSET
2024-04-29 00:35:41 +00:00
{"_MIPS_FPSET", DEF_STRINGIFY(_MIPS_FPSET)},
#endif
#ifdef _MIPS_ISA
2024-04-29 00:35:41 +00:00
{"_MIPS_ISA", DEF_STRINGIFY(_MIPS_ISA)},
#endif
#ifdef _MIPS_SIM
2024-04-29 00:35:41 +00:00
{"_MIPS_SIM", DEF_STRINGIFY(_MIPS_SIM)},
#endif
#ifdef _MIPS_SZINT
2024-04-29 00:35:41 +00:00
{"_MIPS_SZINT", DEF_STRINGIFY(_MIPS_SZINT)},
#endif
#ifdef _MIPS_SZLONG
2024-04-29 00:35:41 +00:00
{"_MIPS_SZLONG", DEF_STRINGIFY(_MIPS_SZLONG)},
#endif
#ifdef _MIPS_SZPTR
2024-04-29 00:35:41 +00:00
{"_MIPS_SZPTR", DEF_STRINGIFY(_MIPS_SZPTR)},
#endif
#ifdef __DragonFly__
2024-04-29 00:35:41 +00:00
{"__DragonFly__", "1"},
#endif
#ifdef __FreeBSD__
2024-04-29 00:35:41 +00:00
{"__FreeBSD__", "1"},
#endif
#ifdef __OpenBSD__
2024-04-29 00:35:41 +00:00
{"__OpenBSD__", "1"},
#endif
#ifdef __NetBSD__
2024-04-29 00:35:41 +00:00
{"__NetBSD__", "1"},
#endif
#ifdef __GNU__
2024-04-29 00:35:41 +00:00
{"__GNU__", "1"},
#endif
#ifdef __ELF__
2024-04-29 00:35:41 +00:00
{"__ELF__", "1"},
#endif
#if defined(__QNX__)
2024-04-29 00:35:41 +00:00
{"__QNX__", "1"},
#endif
#ifdef __QNXNTO__
2024-04-29 00:35:41 +00:00
{"__QNXNTO__", "1"},
#endif
#ifdef __powerpc__
{"__powerpc__", "1"},
#endif
#ifdef __powerpc64__
{"__powerpc64__", "1"},
#endif
#ifdef PowerMAX_OS
{"PowerMAX_OS", "1"},
#endif
#ifdef ia64
{"ia64", "1"},
#endif
#ifdef __ia64__
{"__ia64__", "1"},
#endif
#if defined (amd64) || defined (x86_64)
{"amd64", "1"},
{"x86_64", "1"},
#endif
#if defined (__amd64__) || defined (__x86_64__)
{"__amd64__", "1"},
{"__x86_64__", "1"},
#endif
#if defined (__amd64) || defined(__x86_64)
{"__amd64", "1"},
{"__x86_64", "1"},
#endif
#ifdef __x86
{"__x86", "1"},
#endif
#ifdef __i386
{"__i386", "1"},
#endif
#ifdef __i386__
{"__i386__", "1"},
#endif
#ifdef __i486__
{"__i486__", "1"},
#endif
#ifdef __i586__
{"__i586__", "1"},
#endif
#ifdef __i686__
{"__i686__", "1"},
#endif
#ifdef __k6__
{"__k6__", "1"},
#endif
#ifdef i386
{"i386", "1"},
#endif
#ifdef i486
{"i486", "1"},
#endif
#ifdef i586
{"i586", "1"},
#endif
#ifdef i686
{"i686", "1"},
#endif
#ifdef k6
{"k6", "1"},
#endif
#ifdef sparc
{"sparc", "1"},
#endif
#ifdef __sparc__
{"__sparc__", "1"},
#endif
#ifdef __s390__
{"__s390__", "1"},
#endif
#ifdef __hppa__
{"__hppa__", "1"},
#endif
#ifdef __sh__
{"__sh__", "1"},
#endif
#ifdef __sh3_
{"__sh3__", "1"},
#endif
#ifdef __SH3__
{"__SH3__", "1"},
#endif
#ifdef __SH4__
{"__SH4__", "1"},
#endif
#ifdef __SH4NOFPU__
{"__SH4NOFPU__", "1"},
#endif
#if defined(__ppc__)
2024-04-29 00:35:41 +00:00
{"__ppc__", "1"},
#endif
#if defined(__ppc64__)
2024-04-29 00:35:41 +00:00
{"__ppc64__", "1"},
#endif
#if defined(__BIG_ENDIAN__)
2024-04-29 00:35:41 +00:00
{"__BIG_ENDIAN__", "1"},
#endif
#if defined(__LITTLE_ENDIAN__)
2024-04-29 00:35:41 +00:00
{"__LITTLE_ENDIAN__", "1"},
#endif
#if defined (__CHAR_BIT__)
2024-04-29 00:35:41 +00:00
{"__CHAR_BIT__", DEF_STRINGIFY(__CHAR_BIT__)},
#endif
#if defined (__BUILTIN_VA_STRUCT)
2024-04-29 00:35:41 +00:00
{"__BUILTIN_VA_STRUCT", "1"},
#endif
#if defined (__BUILTIN_VA_ARG_INCR)
2024-04-29 00:35:41 +00:00
{"__BUILTIN_VA_ARG_INCR", "1"},
#endif
2024-04-29 00:35:41 +00:00
/* add any additional symbols before this line */
{NULL, NULL}
};
2024-04-29 00:35:41 +00:00
#undef DEF_EVALUATE
#undef DEF_STRINGIFY
2024-04-29 00:35:41 +00:00
#endif /* CROSSCOMPILE */