GLX: fix build when dri2 is not available.

This commit is contained in:
Luc Verhaegen 2008-10-15 18:24:10 +02:00
parent 2e60ebbd25
commit 398cdf959a

View File

@ -22,9 +22,12 @@ INCLUDES = \
-I$(top_srcdir)/hw/xfree86/os-support/bus \
-I$(top_srcdir)/hw/xfree86/common \
-I$(top_srcdir)/hw/xfree86/dri \
-I$(top_srcdir)/hw/xfree86/dri2 \
-I$(top_srcdir)/mi
if DRI2
INCLUDES += -I$(top_srcdir)/hw/xfree86/dri2
endif
glapi_sources = \
indirect_dispatch.c \
indirect_dispatch.h \
@ -47,10 +50,13 @@ glapi_sources = \
libglxdri_la_SOURCES = \
glxdri.c \
glxdri2.c \
extension_string.c \
extension_string.h
if DRI2
libglxdri_la_SOURCES = glxdri2.c
endif
libglx_la_SOURCES = \
$(indirect_sources) \
$(glapi_sources) \