summaryrefslogtreecommitdiffstats
path: root/src/glx/mini/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/mini/Makefile')
-rw-r--r--src/glx/mini/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile
index 45bf6dd1584..009deb34eaf 100644
--- a/src/glx/mini/Makefile
+++ b/src/glx/mini/Makefile
@@ -5,13 +5,18 @@ TOP = ../../..
include $(TOP)/configs/current
-C_SOURCES = dispatch.c \
- dri_util.c \
- ../../mesa/glapi/glapi.c \
- ../../mesa/glapi/glthread.c \
+DEFINES += -DGLX_DIRECT_RENDERING
+
+C_SOURCES = \
+ $(TOP)/src/mesa/main/dispatch.c \
+ $(TOP)/src/mesa/glapi/glapi.c \
+ $(TOP)/src/mesa/glapi/glthread.c \
+ $(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c \
+ $(TOP)/src/mesa/drivers/dri/dri_client/xf86drm.c \
+ $(TOP)/src/mesa/drivers/dri/dri_client/xf86drmHash.c \
+ $(TOP)/src/mesa/drivers/dri/dri_client/xf86drmRandom.c \
miniglx.c \
- miniglx_events.c \
- xf86drm.c
+ miniglx_events.c
OBJECTS = $(C_SOURCES:.c=.o)
@@ -26,6 +31,8 @@ INCLUDE_DIRS = \
-I$(TOP)/src/mesa/transform \
-I$(TOP)/src/mesa/swrast \
-I$(TOP)/src/mesa/swrast_setup \
+ -I$(TOP)/src/mesa/drivers/dri/common \
+ -I$(TOP)/src/mesa/drivers/dri/dri_client/imports \
-I$(DRM_SOURCE_PATH)/shared