aboutsummaryrefslogtreecommitdiffstats
path: root/configs/freebsd-dri
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2005-08-19 20:20:03 +0000
committerAdam Jackson <[email protected]>2005-08-19 20:20:03 +0000
commit8fcd1e028750ec7669aa311dfd63d86767097feb (patch)
tree94877d24574a9fc54d85579bcd5834a64ef436ce /configs/freebsd-dri
parent2ae5645115124ecc97bf4a0ba9f5542cf2409845 (diff)
Convert libGL and DRI drivers to require libdrm.
libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
Diffstat (limited to 'configs/freebsd-dri')
-rw-r--r--configs/freebsd-dri7
1 files changed, 4 insertions, 3 deletions
diff --git a/configs/freebsd-dri b/configs/freebsd-dri
index b68d3cb15ca..dd6e6143e18 100644
--- a/configs/freebsd-dri
+++ b/configs/freebsd-dri
@@ -22,8 +22,9 @@ CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC
ASM_SOURCES =
# Library/program dependencies
-DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat
-GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
+LIBDRM_LIB = `pkg-config --libs libdrm` -ldrm
+DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
+GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread $(LIBDRM_LIB)
GLUT_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
GLW_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11
@@ -39,6 +40,6 @@ DRM_SOURCE_PATH=$(TOP)/../drm
# ffb and gamma are missing because they have not been converted to use the new
# interface.
-DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 r300 radeon tdfx \
+DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 r300 radeon tdfx \
unichrome savage sis