summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xc/config/cf/host.def91
1 files changed, 91 insertions, 0 deletions
diff --git a/xc/config/cf/host.def b/xc/config/cf/host.def
new file mode 100644
index 000000000..c0878adfd
--- /dev/null
+++ b/xc/config/cf/host.def
@@ -0,0 +1,91 @@
+/*
+ * Set this for each DRI branch. It will be appended to the XFree86 version
+ * information.
+ */
+#define XFree86CustomVersion "DRI mesa-4-0-4-branch"
+
+#define DefaultGcc2AxpOpt -O2 -mcpu=ev6
+#define DefaultGcc2PpcOpt -O2 -mcpu=750
+#define DefaultGcc2i386Opt -O2
+#if defined(AlphaArchitecture)
+# define LibraryCDebugFlags -O2 -mcpu=ev6
+#elif defined(PpcArchitecture)
+# define LibraryCDebugFlags -O2 -mcpu=750
+#else
+# define LibraryCDebugFlags -O2
+#endif
+
+#define BuildXFree86ConfigTools YES
+
+#if defined(PpcArchitecture)
+
+#define XF86CardDrivers ati
+#define DriDrivers r128 radeon r200
+
+#else
+
+#define XF86CardDrivers tdfx i810 mga ati glint vga
+#define DriDrivers r200 tdfx mga i810 r128 radeon gamma i830 ffb /* sis */
+
+#endif
+
+#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
+
+/* To do profiling of the dynamically loaded 'xyz_dri.so' object, turn
+ * this on.
+ * Use 'xc/lib/GL/makeprofile.sh' to make it work.
+ */
+/* #define GlxSoProf YES */
+
+#ifdef GlxSoProf
+# undef DefaultCCOptions
+# define DefaultCCOptions -ansi GccWarningOptions -pipe -g -p
+#endif
+
+/* Optionally turn these on for debugging */
+/* #define GlxBuiltInTdfx YES */
+/* #define GlxBuiltInI810 YES */
+/* #define GlxBuiltInMga YES */
+/* #define GlxBuiltInR128 YES */
+/* #define GlxBuiltInRadeon YES */
+/* #define DoLoadableServer NO */
+
+/* Optionally turn this on to change the place where you install the build.
+ * Warning: trailing blanks will cause build failures.
+ */
+/* #define ProjectRoot /usr/X11R6-DRI */
+
+/* Optionally turn this on to force the kernel modules to build */
+/* #define BuildXF86DRM YES */
+
+#define XF86AFB NO
+
+#define XnestServer NO
+#define XVirtualFramebufferServer NO
+
+/*
+ * Don't change anything below or the build will fail.
+ */
+#define BuildServersOnly YES
+#define BuildXvLibrary YES
+#define BuildXvMCLibrary YES
+#define BuildLibrariesForXServers NO
+#define BuildLibrariesForConfigTools NO
+#define BuildXIE NO
+#define BuildPexExt NO
+#define XprtServer NO
+#define SharedLibFont NO
+#undef XInputDrivers
+#if DoLoadableServer
+#define XF1Bpp NO
+#define XF4Bpp NO
+#else
+#define XInputDrivers mouse
+#endif