this means the compiler treats them as system headers and does not give you
excessive warnings from them. This is used because X11 does not like the
-ansi and -pedantic warnings that CDE is compiled with.
#define LdPostLibs LdPostLib XLdPostLibs
#if ImportX11
-# define TopXInclude -I$(TOP)/imports/x11/include
+# ifndef TopXInclude
+# define TopXInclude -I$(TOP)/imports/x11/include
+# endif
#elif !UseInstalledX11
# define TopXInclude -I$(TOP)/exports/include
#else
XCOMM platform: $TOG: linux.cf /main/47 1998/04/17 11:32:51 mgreess $
+/* To reduce the number of warnings generated by X11 and Motif headers that
+ dislike -ansi and -pedantic we can include them with -isystem instead of
+ -I, this tells GCC to treat them as system includes out of our control */
+#define TopXInclude -isystem $(TOP)/imports/x11/include
+
#ifndef OSName
#define OSName DefaultOSName
#endif