diff options
author | Adam Jackson <[email protected]> | 2005-08-19 20:20:03 +0000 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2005-08-19 20:20:03 +0000 |
commit | 8fcd1e028750ec7669aa311dfd63d86767097feb (patch) | |
tree | 94877d24574a9fc54d85579bcd5834a64ef436ce /configs | |
parent | 2ae5645115124ecc97bf4a0ba9f5542cf2409845 (diff) |
Convert libGL and DRI drivers to require libdrm.
libdrm can be had from:
http://people.freedesktop.org/~ajax/libdrm/
Diffstat (limited to 'configs')
-rw-r--r-- | configs/default | 2 | ||||
-rw-r--r-- | configs/freebsd-dri | 7 | ||||
-rw-r--r-- | configs/linux-dri | 8 | ||||
-rw-r--r-- | configs/linux-dri-ppc | 2 | ||||
-rw-r--r-- | configs/linux-dri-x86-64 | 2 |
5 files changed, 12 insertions, 9 deletions
diff --git a/configs/default b/configs/default index edc76182e58..45efc810edc 100644 --- a/configs/default +++ b/configs/default @@ -10,7 +10,7 @@ MESA_MAJOR=6 MESA_MINOR=3 MESA_TINY=2 -# external projects +# external projects. This should be useless now that we use libdrm. DRM_SOURCE_PATH=$(TOP)/../drm # Compiler and flags 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 diff --git a/configs/linux-dri b/configs/linux-dri index 9817a0e762d..293f2e789d5 100644 --- a/configs/linux-dri +++ b/configs/linux-dri @@ -38,8 +38,10 @@ ASM_SOURCES = # Library/program dependencies EXTRA_LIB_PATH=-L/usr/X11R6/lib -DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl -GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl +LIBDRM_LIB = `pkg-config --libs libdrm` -ldrm +DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) +GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \ + $(LIBDRM_LIB) # This is now 0 by default since it seems to confuse the hell out of people @@ -62,5 +64,5 @@ WINDOW_SYSTEM=dri # 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 s3v \ +DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 r300 radeon s3v \ savage sis tdfx trident unichrome ffb diff --git a/configs/linux-dri-ppc b/configs/linux-dri-ppc index ab9265cc7a1..fb87688065f 100644 --- a/configs/linux-dri-ppc +++ b/configs/linux-dri-ppc @@ -13,5 +13,5 @@ ASM_SOURCES = $(PPC_SOURCES) # Build only the drivers for cards that exist on PowerPC. At some point MGA # will be added, but not yet. -DRI_DIRS = dri_client mach64 r128 r200 r300 radeon tdfx +DRI_DIRS = mach64 r128 r200 r300 radeon tdfx diff --git a/configs/linux-dri-x86-64 b/configs/linux-dri-x86-64 index 1d758d8967e..affbe2bc612 100644 --- a/configs/linux-dri-x86-64 +++ b/configs/linux-dri-x86-64 @@ -19,5 +19,5 @@ EXTRA_LIB_PATH=-L/usr/X11R6/lib64 # the new interface. i810 and i830 are missing because there is no x86-64 # system where they could *ever* be used. # -DRI_DIRS = dri_client i915 mach64 mga r128 r200 radeon tdfx unichrome savage r300 +DRI_DIRS = i915 mach64 mga r128 r200 radeon tdfx unichrome savage r300 |