mesa: change ctx->Color.ColorMask into a 32-bit bitmask
[mesa.git] / src / mesa / drivers / dri / r200 / Makefile.am
index c8947a82cc38bf17c9f4fc1feb4996cf1cceb724..3d15c019909cfa3fbeb38f8f2d83b58f8b11661a 100644 (file)
@@ -23,8 +23,9 @@
 
 include Makefile.sources
 
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
+EXTRA_DIST = \
+       r200_maos_arrays.c \
+       meson.build
 
 AM_CFLAGS = \
        -DRADEON_R200 \
@@ -32,30 +33,15 @@ AM_CFLAGS = \
        -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_builddir)/src/util \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/r200/server \
        $(DEFINES) \
-       $(API_DEFINES) \
        $(VISIBILITY_CFLAGS) \
        $(RADEON_CFLAGS)
 
-dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_R200_DRI
-dri_LTLIBRARIES = r200_dri.la
-endif
-
-r200_dri_la_SOURCES = \
-        $(R200_C_FILES)
-
-r200_dri_la_LDFLAGS = -module -avoid-version -shared
-r200_dri_la_LIBADD = \
-       ../common/libdricommon.la \
-       $(DRI_LIB_DEPS) \
-       $(RADEON_LIBS)
-
-# 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: r200_dri.la
-       $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
-       ln -f .libs/r200_dri.so $(top_builddir)/$(LIB_DIR)/r200_dri.so;
+noinst_LTLIBRARIES = libr200_dri.la
+libr200_dri_la_SOURCES = $(R200_C_FILES)
+libr200_dri_la_LIBADD = $(RADEON_LIBS)