summaryrefslogtreecommitdiff
path: root/src/glx/mini/Makefile
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2004-06-26 17:16:42 +0000
committerJon Smirl <jonsmirl@gmail.com>2004-06-26 17:16:42 +0000
commitc2bffec91a5b6ba72514c875b70dbc96ac97431d (patch)
tree3c5f963b8cec93217b18cdec35c50f0c45b3339e /src/glx/mini/Makefile
parente16f6e3f234391027b300ec2ca8b56fc13aac825 (diff)
Mesa-solo builds with these changes. There are still more fixups needed to
get individual drivers working again. This converts miniglx to the new dri interface. Thanks to Erdi Chen for the new interface code.
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 45bf6dd158..009deb34ea 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