add EGL to r300 makefile
authorDave Airlie <airliedfreedesktop.org>
Thu, 29 Dec 2005 00:42:25 +0000 (00:42 +0000)
committerDave Airlie <airliedfreedesktop.org>
Thu, 29 Dec 2005 00:42:25 +0000 (00:42 +0000)
src/mesa/drivers/dri/r300/Makefile

index 41ffb59ab05be96250803589e2b69be76367f332..af9d0d4efd44882f7df471c9a10a44919053fb8e 100644 (file)
@@ -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 \