summaryrefslogtreecommitdiffstats
path: root/src
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
parent369ae3e2c46a2f8b2f6cc060b2012a2d801c916e (diff)
add EGL to r300 makefile
Diffstat (limited to 'src')
-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 41ffb59ab05..af9d0d4efd4 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 \