summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2005-12-29 00:42:25 +0000
committerDave Airlie <airliedfreedesktop.org>2005-12-29 00:42:25 +0000
commit577d23011b57b6bf9cae1ba49e043732c872e5be (patch)
tree0a014625099112160dff7572d863a01b5b21f005 /src/mesa
parent369ae3e2c46a2f8b2f6cc060b2012a2d801c916e (diff)
add EGL to r300 makefile
Diffstat (limited to 'src/mesa')
-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 \