updates for using libdrm (Hanno Bock)
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 3 Jun 2006 15:17:07 +0000 (15:17 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 3 Jun 2006 15:17:07 +0000 (15:17 +0000)
src/egl/drivers/dri/Makefile

index 6b50959a5abd333ba03ee35b909e0dbb22b42afe..86f189cd38caf97e2f290bd58701c98bb6394cc0 100644 (file)
@@ -7,8 +7,8 @@ include $(TOP)/configs/current
 ### Include directories
 INCLUDE_DIRS = \
        -I. \
-       -I$(DRM_SOURCE_PATH)/shared-core \
-       -I$(DRM_SOURCE_PATH)/libdrm \
+       -I/usr/include \
+       -I/usr/include/drm \
        -I$(TOP)/include \
        -I$(TOP)/include/GL/internal \
        -I$(TOP)/src/mesa \
@@ -25,10 +25,7 @@ INCLUDE_DIRS = \
 
 HEADERS = egldri.h
 
-SOURCES = egldri.c \
-          $(DRM_SOURCE_PATH)/libdrm/xf86drm.c \
-          $(DRM_SOURCE_PATH)/libdrm/xf86drmHash.c \
-          $(DRM_SOURCE_PATH)/libdrm/xf86drmRandom.c
+SOURCES = egldri.c
 
 OBJECTS = $(SOURCES:.c=.o)