summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2006-04-07 03:20:56 +0000
committerDave Airlie <airliedfreedesktop.org>2006-04-07 03:20:56 +0000
commit9d3de643d1cd84cd0f48ff72ab7218f20b158c28 (patch)
treea9f63803b75e2e90029e05e785591a9c0e253f3e /src/mesa/drivers
parentd25ad506f2c2ce28e7d01b8d3f31c1863ef15d63 (diff)
downloadexternal_mesa3d-9d3de643d1cd84cd0f48ff72ab7218f20b158c28.zip
external_mesa3d-9d3de643d1cd84cd0f48ff72ab7218f20b158c28.tar.gz
external_mesa3d-9d3de643d1cd84cd0f48ff72ab7218f20b158c28.tar.bz2
make miniglx use libdrm properly
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/Makefile.template5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index f07dda3..b5e062f 100644
--- a/src/mesa/drivers/dri/Makefile.template
+++ b/src/mesa/drivers/dri/Makefile.template
@@ -25,8 +25,7 @@ WINOBJ=
WINLIB=-L$(MESA)/src/glx/mini
MINIGLX_INCLUDES = -I$(TOP)/src/glx/mini
INCLUDES = $(MINIGLX_INCLUDES) \
- -I$(DRM_SOURCE_PATH)/shared-core \
- -I$(DRM_SOURCE_PATH)/libdrm \
+ `pkg-config --cflags libdrm` \
$(SHARED_INCLUDES)
OBJECTS = $(C_SOURCES:.c=.o) \
@@ -40,7 +39,7 @@ SHARED_INCLUDES = \
-I. \
-I$(TOP)/src/mesa/drivers/dri/common \
-Iserver \
- -I$(DRM_SOURCE_PATH)/shared-core \
+ `pkg-config --cflags libdrm` \
-I$(TOP)/include \
-I$(TOP)/include/GL/internal \
-I$(TOP)/src/mesa \