only build dri2 when DRI2 is enabled

This commit is contained in:
Alan Hourihane 2008-09-24 14:24:36 +01:00
parent 97f688f2b4
commit af8cef461c

View File

@ -45,9 +45,13 @@ glapi_sources = \
glthread.h \
glprocs.h
if DRI2
GLXDRI_SOURCE = glxdri2.c
endif
libglxdri_la_SOURCES = \
glxdri.c \
glxdri2.c \
$(GLXDRI2_SOURCE) \
glxdricommon.h \
extension_string.c \
extension_string.h