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
LinuxYggdrasil (12)
*/
#endif
+
+#ifndef DefaultLinuxCLibMajorVersion
+# define DefaultLinuxCLibMajorVersion 6
+#endif
+#ifndef DefaultLinuxCLibMinorVersion
+# define DefaultLinuxCLibMinorVersion 0
+#endif
+#ifndef DefaultLinuxCLibTeenyVersion
+# define DefaultLinuxCLibTeenyVersion 0
+#endif
+
#ifndef LinuxCLibMajorVersion
-# define LinuxCLibMajorVersion DefaultLinuxCLibMajorVersion
+# define LinuxCLibMajorVersion DefaultLinuxCLibMajorVersion
#endif
#ifndef LinuxCLibMinorVersion
-# define LinuxCLibMinorVersion DefaultLinuxCLibMinorVersion
+# define LinuxCLibMinorVersion DefaultLinuxCLibMinorVersion
#endif
#ifndef LinuxCLibTeenyVersion
-# define LinuxCLibTeenyVersion DefaultLinuxCLibTeenyVersion
+# define LinuxCLibTeenyVersion DefaultLinuxCLibTeenyVersion
#endif
+
#ifndef LinuxBinUtilsMajorVersion
-# define LinuxBinUtilsMajorVersion DefaultLinuxBinUtilsMajorVersion
+# define LinuxBinUtilsMajorVersion DefaultLinuxBinUtilsMajorVersion
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
# endif
#endif
+#define UseInstalledX11 YES
+
#define BuildLibPathVar LD_LIBRARY_PATH
#define HasGcc YES
#define HasGcc2 YES
#define HasSockets YES
#define HasMakefileSafeInclude YES
-#define DependFileName .depend
-#define DependCmd $(CC) -E -MM -MG
+#define DependFileName .depend
+#define DependCmd $(CC) -E -MM -MG
#ifdef IncludeMakefile
# undef IncludeMakefile
#endif
-#define IncludeMakefile(file) -include file
+#define IncludeMakefile(file) -include file
#if (LinuxDistribution == LinuxRedHat)
# define HasZlib YES
#define LdCombineFlags -r
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#define HasWChar32 YES
-#define StandardCppDefines -traditional StandardDefines
+#define StandardCppDefines -traditional -nostdinc StandardDefines
#define ExtensionOSDefines -DXTESTEXT1
#define LinuxLocaleDefines /**/
+#define DefaultCCOptions -ansi
+
XCOMM If you have the tirpc library on your system, and you have the
XCOMM libtirpc-dev installed, then define HasTIRPCLib to YES in either
XCOMM your host.def or site.def file. Using the tirpc lib should
#endif
#if !defined(DefaultGcc2i386Opt)
-# define DefaultGcc2i386Opt -O2 -fno-strict-aliasing
+# define DefaultGcc2i386Opt -O2 -fno-strict-aliasing -Wno-write-strings
#endif
#if LinuxCLibMajorVersion < 6
# endif
#else
-# define LinuxSourceDefines -D_POSIX_C_SOURCE=199309L \
- -D_POSIX_SOURCE \
- -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE \
+# define LinuxSourceDefines -D_POSIX_SOURCE \
+ -D_BSD_SOURCE -D_SVID_SOURCE \
-D__NO_STRING_INLINES -D__NO_MATH_INLINES \
LinuxLocaleDefines
# define HasPosixThreads YES
# define ThreadedX YES
# define HasThreadSafeAPI YES
# define ThreadsLibraries -lpthread
-# define SystemMTDefines -D_REENTRANT
+# define SystemMTDefines -D_REENTRANT
# ifndef HasLibCrypt
# define HasLibCrypt YES
# endif
#define ArchitectureDefines -DLINUX_ARCHITECTURE
-XCOMM different dependancy handling
-#ifndef DependDependency
-#define DependDependency() /**/
-#endif
-
-#ifdef DependTarget
-# undef DependTarget
-#endif
-
-#define DependTarget() @@@@\
-DependDependency() @@@@\
- @@@@\
-depend:: DependFileName @@@@\
- @@@@\
-DependFileName:: @@@@\
- -RunProgram(DEPEND,$(DEPENDFLAGS) $(ALLDEFINES) $(DEPEND_DEFINES) $(SRCS)) > $@
-
-#ifdef DependTarget3
-# undef DependTarget3
-#endif
-
-#define DependTarget3(srcs1,srcs2,srcs3) @@@@\
-DependDependency() @@@@\
- @@@@\
-depend:: DependFileName @@@@\
- @@@@\
-DependFileName:: @@@@\
- -RunProgram(DEPEND,$(DEPENDFLAGS) $(ALLDEFINES) $(DEPEND_DEFINES) srcs1) > $@ @@@@\
- -RunProgram(DEPEND,$(DEPENDFLAGS) $(ALLDEFINES) $(DEPEND_DEFINES) srcs2) >> $@ @@@@\
- -RunProgram(DEPEND,$(DEPENDFLAGS) $(ALLDEFINES) $(DEPEND_DEFINES) srcs3) >> $@
-
-
-
#define TtClientLibs $(TTLIB) $(TIRPCLIB) $(XTOOLLIB) $(XLIB)
#define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
+#include <lnxDep.rules>
#include <lnxLib.rules>
-#include <xfree86.cf>