vbo: pass the stream from DrawTransformFeedbackStream to drivers
[mesa.git] / src / mesa / drivers / dri / nouveau / Makefile.am
index 00ee1df36e0c9b74b81ebb8834b9915d0ba41f18..01e34a8e3c3bd99a8a4c5035e013190b04113dc3 100644 (file)
 
 include Makefile.sources
 
+EXTRA_DIST = \
+       nouveau_render_t.c \
+       nouveau_swtnl_t.c \
+       nouveau_vbo_t.c
+
 AM_CFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
+       -I$(top_srcdir)/src/gallium/include \
+       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        $(DEFINES) \
-       $(API_DEFINES) \
        $(VISIBILITY_CFLAGS) \
-       $(NOUVEAU_CFLAGS)
-
-dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_NOUVEAU_DRI
-dri_LTLIBRARIES = nouveau_vieux_dri.la
-endif
-
-nouveau_vieux_dri_la_SOURCES = \
-       $(NOUVEAU_C_FILES)
-
-nouveau_vieux_dri_la_LDFLAGS = -module -avoid-version -shared
-nouveau_vieux_dri_la_LIBADD = \
-       ../common/libdricommon.la \
-       $(DRI_LIB_DEPS) \
-       $(NOUVEAU_LIBS)
+       $(NVVIEUX_CFLAGS)
 
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the driver into /lib of the build tree.
-all-local: nouveau_vieux_dri.la
-       $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
-       ln -f .libs/nouveau_vieux_dri.so $(top_builddir)/$(LIB_DIR)/nouveau_vieux_dri.so;
+noinst_LTLIBRARIES = libnouveau_dri.la
+libnouveau_dri_la_SOURCES = $(NOUVEAU_C_FILES)
+libnouveau_dri_la_LIBADD = $(NVVIEUX_LIBS)