Fixup makefile for solo non-egl
authorDave Airlie <airliedfreedesktop.org>
Mon, 27 Mar 2006 00:07:21 +0000 (00:07 +0000)
committerDave Airlie <airliedfreedesktop.org>
Mon, 27 Mar 2006 00:07:21 +0000 (00:07 +0000)
src/mesa/drivers/dri/fb/Makefile

index bebacf8b27108228739279c52fff65496b88f063..309f50b95f88ed3db212414649ea0eccb83a0a8f 100644 (file)
@@ -5,9 +5,14 @@ include $(TOP)/configs/current
 
 LIBNAME = fb_dri.so
 
+ifeq ($(USING_EGL), 1)
+EGL_SOURCES = server/radeon_egl.c
+endif
+
 DRIVER_SOURCES = \
        fb_dri.c \
-       fb_egl.c
+       $(EGL_SOURCES)
+
 
 C_SOURCES = \
        $(COMMON_SOURCES) \
@@ -16,7 +21,7 @@ C_SOURCES = \
 ASM_SOURCES = 
 
 # XXX not 100% sure this is right
-WINDOW_SYSTEM = solo
+#WINDOW_SYSTEM = solo
 
 include ../Makefile.template