make miniglx use libdrm properly

This commit is contained in:
Dave Airlie
2006-04-07 03:20:56 +00:00
parent d25ad506f2
commit 9d3de643d1
2 changed files with 3 additions and 5 deletions

View File

@@ -32,8 +32,7 @@ INCLUDE_DIRS = \
-I$(TOP)/src/mesa/swrast \
-I$(TOP)/src/mesa/swrast_setup \
-I$(TOP)/src/mesa/drivers/dri/common \
-I$(DRM_SOURCE_PATH)/libdrm \
-I$(DRM_SOURCE_PATH)/shared
`pkg-config --cflags libdrm`
##### RULES #####

View File

@@ -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 \