summaryrefslogtreecommitdiffstats
path: root/configs/debian-dri
diff options
context:
space:
mode:
authorDavid Nusinow <[email protected]>2005-11-09 02:46:07 +0000
committerDavid Nusinow <[email protected]>2005-11-09 02:46:07 +0000
commitc37d6b4ca8a9a7ac42a2e0082cf1bb0acbbff3cc (patch)
tree85b03b216318e1c3c138fd1f4371df3d3ac2dd35 /configs/debian-dri
Commit Mesa 6.4 sources and packaging
Diffstat (limited to 'configs/debian-dri')
-rw-r--r--configs/debian-dri25
1 files changed, 25 insertions, 0 deletions
diff --git a/configs/debian-dri b/configs/debian-dri
new file mode 100644
index 00000000000..db73fcd25b9
--- /dev/null
+++ b/configs/debian-dri
@@ -0,0 +1,25 @@
+include $(TOP)/configs/debian
+
+CONFIG_NAME = debian-dri
+
+DEBIAN_COMMON_CPPFLAGS += -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\"
+
+LIBDRM_LIB = `pkg-config --libs libdrm`
+DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
+GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm -lpthread -ldl $(LIBDRM_LIB)
+
+USING_EGL=0
+
+# Directories
+ifeq ($(USING_EGL), 1)
+override SRC_DIRS = egl glx/x11 mesa
+PROGRAM_DIRS = egl
+else
+override SRC_DIRS = glx/x11 mesa
+PROGRAM_DIRS =
+endif
+
+DRIVER_DIRS = dri
+WINDOW_SYSTEM=dri
+
+DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 r300 radeon s3v savage sis tdfx trident unichrome ffb