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 \
-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)