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 \
-I$(TOP)/src/mesa/swrast_setup \ -I$(TOP)/src/mesa/swrast_setup \
-I$(TOP)/src/mesa/drivers/dri/common \ -I$(TOP)/src/mesa/drivers/dri/common \
-I$(DRM_SOURCE_PATH)/libdrm \ `pkg-config --cflags libdrm`
-I$(DRM_SOURCE_PATH)/shared
##### RULES ##### ##### RULES #####

View File

@@ -25,8 +25,7 @@ WINOBJ=
WINLIB=-L$(MESA)/src/glx/mini WINLIB=-L$(MESA)/src/glx/mini
MINIGLX_INCLUDES = -I$(TOP)/src/glx/mini MINIGLX_INCLUDES = -I$(TOP)/src/glx/mini
INCLUDES = $(MINIGLX_INCLUDES) \ INCLUDES = $(MINIGLX_INCLUDES) \
-I$(DRM_SOURCE_PATH)/shared-core \ `pkg-config --cflags libdrm` \
-I$(DRM_SOURCE_PATH)/libdrm \
$(SHARED_INCLUDES) $(SHARED_INCLUDES)
OBJECTS = $(C_SOURCES:.c=.o) \ OBJECTS = $(C_SOURCES:.c=.o) \
@@ -40,7 +39,7 @@ SHARED_INCLUDES = \
-I. \ -I. \
-I$(TOP)/src/mesa/drivers/dri/common \ -I$(TOP)/src/mesa/drivers/dri/common \
-Iserver \ -Iserver \
-I$(DRM_SOURCE_PATH)/shared-core \ `pkg-config --cflags libdrm` \
-I$(TOP)/include \ -I$(TOP)/include \
-I$(TOP)/include/GL/internal \ -I$(TOP)/include/GL/internal \
-I$(TOP)/src/mesa \ -I$(TOP)/src/mesa \