dri2: Trust our own driver name lookup over the server's.
[mesa.git] / src / glx / Makefile.am
index f66c4bd59ad96219b5227f708bd1f534d0f78a75..54a0cc027da0b07ae12b7c0aa0edc05f5fe708f4 100644 (file)
@@ -35,6 +35,7 @@ endif
 AM_CFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/include/GL/internal \
+       -I$(top_srcdir)/src/loader \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mapi/glapi \
        -I$(top_builddir)/src/mapi \
@@ -96,6 +97,13 @@ libglx_la_SOURCES = \
          dri2_query_renderer.c \
          applegl_glx.c
 
+if HAVE_DRI3
+libglx_la_SOURCES += \
+          dri3_glx.c
+endif
+
+libglx_la_LIBADD = $(top_builddir)/src/loader/libloader.la
+
 GL_LIBS = \
        libglx.la \
        $(SHARED_GLAPI_LIBS) \