summaryrefslogtreecommitdiff
path: root/xc/config/cf
diff options
context:
space:
mode:
Diffstat (limited to 'xc/config/cf')
-rw-r--r--xc/config/cf/FreeBSD.cf2
-rw-r--r--xc/config/cf/host.def32
-rw-r--r--xc/config/cf/xfree86.cf13
3 files changed, 44 insertions, 3 deletions
diff --git a/xc/config/cf/FreeBSD.cf b/xc/config/cf/FreeBSD.cf
index 44c247b91..c92902d37 100644
--- a/xc/config/cf/FreeBSD.cf
+++ b/xc/config/cf/FreeBSD.cf
@@ -82,7 +82,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#if defined(UseInstalled)
#define DefaultCCOptions /**/
#else
-#define DefaultCCOptions -ansi -pedantic -Dasm=__asm GccWarningOptions
+/*#define DefaultCCOptions -ansi -pedantic -Dasm=__asm GccWarningOptions*/
#endif
#ifndef ExtraLibraries
/* support for multi-byte locales is in libxpg4 rather than libc */
diff --git a/xc/config/cf/host.def b/xc/config/cf/host.def
new file mode 100644
index 000000000..8b164f632
--- /dev/null
+++ b/xc/config/cf/host.def
@@ -0,0 +1,32 @@
+
+#define DefaultGcc2i386Opt -O2
+#define LibraryCDebugFlags -O2
+#define BuildServersOnly YES
+#define XF86CardDrivers vga tdfx i810 mga r128
+#define LinuxDistribution LinuxRedHat
+#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
+ -Wmissing-prototypes -Wmissing-declarations \
+ -Wnested-externs
+#define DefaultCCOptions -ansi GccWarningOptions -pipe -g
+#define NormalLibGlx NO
+
+#define BuildXF86DRI YES
+#define HasGlide3 YES
+
+/* Optionally turn these on for debugging */
+/* #define GlxBuiltInTdfx YES */
+/* #define GlxBuiltInI810 YES */
+/* #define GlxBuiltInMga YES */
+/* #define GlxBuiltInR128 YES */
+/* #define DoLoadableServer NO */
+
+/* Optionally turn this on to change the place where you install the build */
+/* #define ProjectRoot /usr/XF86-main */
+
+/* Optionally turn this on to force the kernel modules to build */
+/* #define BuildXF86DRM YES */
+
+#define SharedLibFont NO
+#define XnestServer NO
+#define XVirtualFramebufferServer NO
+#define XprtServer NO
diff --git a/xc/config/cf/xfree86.cf b/xc/config/cf/xfree86.cf
index 77e5e454d..5f5991c77 100644
--- a/xc/config/cf/xfree86.cf
+++ b/xc/config/cf/xfree86.cf
@@ -512,12 +512,21 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8
# ifndef GlxBuiltInTdfx
# define GlxBuiltInTdfx NO
# endif
+# ifndef GlxBuiltInMga
+# define GlxBuiltInMga NO
+# endif
+# ifndef GlxBuiltInI810
+# define GlxBuiltInI810 NO
+# endif
+# ifndef GlxBuiltInR128
+# define GlxBuiltInR128 NO
+# endif
-# if GlxBuiltInTdfx
+# if GlxBuiltInTdfx || GlxBuiltInMga || GlxBuiltInI810 || GlxBuiltInR128
# define GlxDriverUsesMesa YES
# endif
-# if GlxBuiltInGamma || GlxBuiltInMesa || GlxBuiltInTdfx
+# if GlxBuiltInGamma || GlxBuiltInTdfx || GlxBuiltInMga || GlxBuiltInI810 || GlxBuiltInR128 || GlxBuiltInMesa
# define GlxUseBuiltInDRIDriver YES
# define DRIDynLoadDefines /**/
# else