summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/r300/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/Makefile b/src/mesa/drivers/dri/r300/Makefile
index 41ffb59ab0..af9d0d4efd 100644
--- a/src/mesa/drivers/dri/r300/Makefile
+++ b/src/mesa/drivers/dri/r300/Makefile
@@ -9,6 +9,10 @@ DEFINES += -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -DR200_MERGED=0
MINIGLX_SOURCES = server/radeon_dri.c
+ifeq ($(USING_EGL), 1)
+EGL_SOURCES = server/radeon_egl.c
+endif
+
COMMON_SOURCES = \
../../common/driverfuncs.c \
../common/mm.c \
@@ -40,7 +44,9 @@ DRIVER_SOURCES = \
r300_vertexprog.c \
r300_fragprog.c \
r300_shader.c \
- r300_maos.c
+ r300_maos.c \
+ $(EGL_SOURCES)
+
# \
# r200_context.c \
# r200_ioctl.c \