Mesa-solo builds with these changes. There are still more fixups needed to
get individual drivers working again. This converts miniglx to the new
dri interface. Thanks to Erdi Chen for the new interface code.
diff --git a/configs/linux-solo b/configs/linux-solo
index e6d4fdf..3b125d9 100644
--- a/configs/linux-solo
+++ b/configs/linux-solo
@@ -8,9 +8,11 @@
 CC = gcc
 CXX = g++
 
-CFLAGS = -Wmissing-prototypes -g -std=c99 -pedantic -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+CCOMMON = -D_SOLO -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L
 
-CXXFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+CFLAGS = $(CCOMMON) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
+
+CXXFLAGS = $(CCOMMON) -Wall -O3 -ansi -pedantic -fPIC
 
 
 ASM_SOURCES = $(X86_SOURCES)
@@ -26,4 +28,5 @@
 DRIVER_DIRS = dri
 PROGRAM_DIRS = miniglx
 
-DRI_DIRS = fb gamma i810 i830 mach64 mga r128 r200 radeon sis tdfx
+#DRI_DIRS = fb ffb gamma i810 i830 mach64 mga r128 r200 radeon sis savage tdfx unichrome
+DRI_DIRS = i810 i830 mach64 mga r128 r200 radeon tdfx unichrome