summaryrefslogtreecommitdiff
path: root/xc/config/imake/imakemdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/config/imake/imakemdep.h')
-rw-r--r--xc/config/imake/imakemdep.h43
1 files changed, 38 insertions, 5 deletions
diff --git a/xc/config/imake/imakemdep.h b/xc/config/imake/imakemdep.h
index 6d47f2f66..58c173e3b 100644
--- a/xc/config/imake/imakemdep.h
+++ b/xc/config/imake/imakemdep.h
@@ -20,7 +20,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
-/* $XFree86: xc/config/imake/imakemdep.h,v 3.50 2001/04/25 16:44:54 tsi Exp $ */
+/* $XFree86: xc/config/imake/imakemdep.h,v 3.54 2001/08/06 20:51:02 dawes Exp $ */
/*
@@ -65,7 +65,7 @@ in this Software without prior written authorization from The Open Group.
#ifdef imake_ccflags
#undef imake_ccflags
#endif
-#define imake_ccflags "-Dsco -DSYSV"
+#define imake_ccflags "-Dsco -DSYSV -DSCO -DSCO325"
#endif
#ifdef sony
@@ -292,8 +292,8 @@ in this Software without prior written authorization from The Open Group.
#define DEFAULT_CPP "cpp"
#endif
#ifdef __CYGWIN__
-#define USE_CC_E
#define DEFAULT_CC "gcc"
+#define DEFAULT_CPP "/usr/bin/cpp"
#endif
#if defined (__QNX__)
#define DEFAULT_CPP "/usr/X11R6/bin/cpp"
@@ -352,12 +352,30 @@ char *cpp_argv[ARGUMENTS] = {
# ifdef __arm__
"-D__arm__",
# endif
+# ifdef __s390x__
+ "-D__s390x__",
+# endif
# ifdef __sparc__
"-D__sparc__",
# endif
# ifdef __m68k__
"-D__m68k__",
# endif
+# ifdef __sh__
+ "-D__sh__",
+# endif
+# ifdef __sh3__
+ "-D__sh3__",
+# endif
+# ifdef __SH3__
+ "-D__SH3__",
+# endif
+# ifdef __SH4__
+ "-D__SH4__",
+# endif
+# ifdef __SH4NOFPU__
+ "-D__SH4_NOFPU__",
+# endif
# ifdef __GNUC__
"-traditional",
# endif
@@ -460,7 +478,7 @@ char *cpp_argv[ARGUMENTS] = {
# ifdef SCO
"-DSCO",
# ifdef _SCO_DS
- "-DSCO325 -DSVR4",
+ "-DSCO325",
# endif
# endif
# endif
@@ -498,7 +516,7 @@ char *cpp_argv[ARGUMENTS] = {
# ifdef SCO
"-DSCO",
# ifdef _SCO_DS
- "-DSCO325 -DSVR4",
+ "-DSCO325",
# endif
# endif
# ifdef ESIX
@@ -1120,6 +1138,21 @@ struct symtab predefs[] = {
# ifdef __s390__
{"__s390__", "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__)
{"__ppc__", "1"},
#endif