summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2019-04-08 12:44:17 -0700
committerDylan Baker <[email protected]>2019-04-15 13:44:29 -0700
commit95aefc94a941701616fda0776a3bd15710c8c151 (patch)
treebced9cf424ee7eb0cf753503eaace7cec4f62b50 /src/gallium
parentde0c97c8171f8a8183b94d8ac6997117c4671da8 (diff)
Delete autotools
Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/Automake.inc90
-rw-r--r--src/gallium/Makefile.am207
-rw-r--r--src/gallium/auxiliary/Makefile.am134
-rw-r--r--src/gallium/auxiliary/pipe-loader/Makefile.am51
-rw-r--r--src/gallium/drivers/etnaviv/Automake.inc11
-rw-r--r--src/gallium/drivers/etnaviv/Makefile.am46
-rw-r--r--src/gallium/drivers/freedreno/Automake.inc13
-rw-r--r--src/gallium/drivers/freedreno/Makefile.am28
-rw-r--r--src/gallium/drivers/i915/Automake.inc11
-rw-r--r--src/gallium/drivers/i915/Makefile.am33
-rw-r--r--src/gallium/drivers/kmsro/Automake.inc16
-rw-r--r--src/gallium/drivers/kmsro/Makefile.am8
-rw-r--r--src/gallium/drivers/llvmpipe/Automake.inc7
-rw-r--r--src/gallium/drivers/llvmpipe/Makefile.am80
-rw-r--r--src/gallium/drivers/nouveau/Automake.inc14
-rw-r--r--src/gallium/drivers/nouveau/Makefile.am59
-rw-r--r--src/gallium/drivers/r300/Automake.inc13
-rw-r--r--src/gallium/drivers/r300/Makefile.am32
-rw-r--r--src/gallium/drivers/r600/Automake.inc14
-rw-r--r--src/gallium/drivers/r600/Makefile.am46
-rw-r--r--src/gallium/drivers/radeonsi/Automake.inc21
-rw-r--r--src/gallium/drivers/radeonsi/Makefile.am59
-rw-r--r--src/gallium/drivers/softpipe/Automake.inc12
-rw-r--r--src/gallium/drivers/softpipe/Makefile.am34
-rw-r--r--src/gallium/drivers/svga/Automake.inc10
-rw-r--r--src/gallium/drivers/svga/Makefile.am41
-rw-r--r--src/gallium/drivers/swr/Automake.inc8
-rw-r--r--src/gallium/drivers/swr/Makefile.am408
-rw-r--r--src/gallium/drivers/tegra/Automake.inc11
-rw-r--r--src/gallium/drivers/tegra/Makefile.am15
-rw-r--r--src/gallium/drivers/v3d/Automake.inc16
-rw-r--r--src/gallium/drivers/v3d/Makefile.am59
-rw-r--r--src/gallium/drivers/vc4/Automake.inc19
-rw-r--r--src/gallium/drivers/vc4/Makefile.am58
-rw-r--r--src/gallium/drivers/virgl/Automake.inc11
-rw-r--r--src/gallium/drivers/virgl/Makefile.am34
-rw-r--r--src/gallium/state_trackers/clover/Makefile.am61
-rw-r--r--src/gallium/state_trackers/dri/Makefile.am54
-rw-r--r--src/gallium/state_trackers/glx/xlib/Makefile.am39
-rw-r--r--src/gallium/state_trackers/nine/Makefile.am13
-rw-r--r--src/gallium/state_trackers/omx/Makefile.am53
-rw-r--r--src/gallium/state_trackers/omx/bellagio/Makefile.am36
-rw-r--r--src/gallium/state_trackers/omx/tizonia/Makefile.am50
-rw-r--r--src/gallium/state_trackers/osmesa/Makefile.am42
-rw-r--r--src/gallium/state_trackers/va/Makefile.am38
-rw-r--r--src/gallium/state_trackers/vdpau/Makefile.am44
-rw-r--r--src/gallium/state_trackers/xa/Makefile.am41
-rw-r--r--src/gallium/state_trackers/xvmc/Makefile.am64
-rw-r--r--src/gallium/targets/d3dadapter9/Makefile.am120
-rw-r--r--src/gallium/targets/dri/Makefile.am143
-rw-r--r--src/gallium/targets/libgl-xlib/Makefile.am84
-rw-r--r--src/gallium/targets/omx/Makefile.am91
-rw-r--r--src/gallium/targets/opencl/Makefile.am51
-rw-r--r--src/gallium/targets/osmesa/Makefile.am93
-rw-r--r--src/gallium/targets/pipe-loader/Makefile.am212
-rw-r--r--src/gallium/targets/va/Makefile.am88
-rw-r--r--src/gallium/targets/vdpau/Makefile.am132
-rw-r--r--src/gallium/targets/xa/Makefile.am90
-rw-r--r--src/gallium/targets/xvmc/Makefile.am93
-rw-r--r--src/gallium/tests/trivial/Makefile.am25
-rw-r--r--src/gallium/tests/unit/Makefile.am34
-rw-r--r--src/gallium/winsys/amdgpu/drm/Makefile.am19
-rw-r--r--src/gallium/winsys/etnaviv/drm/Makefile.am35
-rw-r--r--src/gallium/winsys/freedreno/drm/Makefile.am37
-rw-r--r--src/gallium/winsys/i915/drm/Makefile.am35
-rw-r--r--src/gallium/winsys/kmsro/drm/Makefile.am48
-rw-r--r--src/gallium/winsys/nouveau/drm/Makefile.am35
-rw-r--r--src/gallium/winsys/panfrost/drm/Makefile.am33
-rw-r--r--src/gallium/winsys/radeon/drm/Makefile.am12
-rw-r--r--src/gallium/winsys/svga/drm/Makefile.am36
-rw-r--r--src/gallium/winsys/sw/dri/Makefile.am33
-rw-r--r--src/gallium/winsys/sw/kms-dri/Makefile.am35
-rw-r--r--src/gallium/winsys/sw/null/Makefile.am33
-rw-r--r--src/gallium/winsys/sw/wrapper/Makefile.am33
-rw-r--r--src/gallium/winsys/sw/xlib/Makefile.am34
-rw-r--r--src/gallium/winsys/tegra/drm/Makefile.am13
-rw-r--r--src/gallium/winsys/v3d/drm/Makefile.am33
-rw-r--r--src/gallium/winsys/vc4/drm/Makefile.am33
-rw-r--r--src/gallium/winsys/virgl/drm/Makefile.am35
-rw-r--r--src/gallium/winsys/virgl/vtest/Makefile.am34
80 files changed, 0 insertions, 4126 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
deleted file mode 100644
index 329c8839e17..00000000000
--- a/src/gallium/Automake.inc
+++ /dev/null
@@ -1,90 +0,0 @@
-GALLIUM_CFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/auxiliary \
- $(DEFINES)
-
-# src/gallium/auxiliary must appear before src/gallium/drivers
-# because there are stupidly two rbug_context.h files in
-# different directories, and which one is included by the
-# preprocessor is determined by the ordering of the -I flags.
-GALLIUM_DRIVER_CFLAGS = \
- -I$(srcdir)/include \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/auxiliary \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- $(DEFINES) \
- $(VISIBILITY_CFLAGS)
-
-GALLIUM_DRIVER_CXXFLAGS = \
- -I$(srcdir)/include \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/auxiliary \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- $(DEFINES) \
- $(VISIBILITY_CXXFLAGS)
-
-GALLIUM_TARGET_CFLAGS = \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/loader \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/auxiliary \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- -I$(top_builddir)/src/util/ \
- -I$(top_builddir)/src/gallium/drivers/ \
- $(DEFINES) \
- $(PTHREAD_CFLAGS) \
- $(LIBDRM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-GALLIUM_COMMON_LIB_DEPS = \
- -lm \
- $(LIBUNWIND_LIBS) \
- $(LIBSENSORS_LIBS) \
- $(CLOCK_LIB) \
- $(PTHREAD_LIBS) \
- $(DLOPEN_LIBS)
-
-if HAVE_LIBDRM
-GALLIUM_COMMON_LIB_DEPS += \
- $(LIBDRM_LIBS)
-endif
-
-if HAVE_PLATFORM_ANDROID
-GALLIUM_COMMON_LIB_DEPS += \
- $(ANDROID_LIBS) \
- $(BACKTRACE_LIBS)
-endif
-
-GALLIUM_WINSYS_CFLAGS = \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/auxiliary \
- $(DEFINES) \
- $(VISIBILITY_CFLAGS)
-
-
-GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
- $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
- $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la
-
-if HAVE_DRISW
-GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
- $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
-endif
-
-if HAVE_DRISW_KMS
-GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
- $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la \
- $(LIBDRM_LIBS)
-endif
diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am
deleted file mode 100644
index ff69796180f..00000000000
--- a/src/gallium/Makefile.am
+++ /dev/null
@@ -1,207 +0,0 @@
-SUBDIRS =
-
-##
-## Gallium auxiliary module
-##
-
-SUBDIRS += auxiliary
-SUBDIRS += auxiliary/pipe-loader
-
-##
-## Gallium pipe drivers and their respective winsys'
-##
-
-## freedreno/msm/kgsl
-if HAVE_GALLIUM_FREEDRENO
-SUBDIRS += drivers/freedreno winsys/freedreno/drm
-endif
-
-## i915g/i915
-if HAVE_GALLIUM_I915
-SUBDIRS += drivers/i915 winsys/i915/drm
-endif
-
-## nouveau
-if HAVE_GALLIUM_NOUVEAU
-SUBDIRS += drivers/nouveau winsys/nouveau/drm
-endif
-
-## vmwgfx/svga
-if HAVE_GALLIUM_SVGA
-SUBDIRS += drivers/svga winsys/svga/drm
-endif
-
-## r300
-if HAVE_GALLIUM_R300
-SUBDIRS += drivers/r300
-endif
-
-## r600
-if HAVE_GALLIUM_R600
-SUBDIRS += drivers/r600
-endif
-
-## radeonsi
-if HAVE_GALLIUM_RADEONSI
-SUBDIRS += drivers/radeonsi
-SUBDIRS += winsys/amdgpu/drm
-endif
-
-## the radeon winsys - linked in by r300, r600 and radeonsi
-if NEED_RADEON_DRM_WINSYS
-SUBDIRS += winsys/radeon/drm
-endif
-
-if HAVE_GALLIUM_ETNAVIV
-SUBDIRS += drivers/etnaviv winsys/etnaviv/drm
-endif
-
-if HAVE_GALLIUM_KMSRO
-SUBDIRS += drivers/kmsro winsys/kmsro/drm
-endif
-
-## swrast/softpipe
-if HAVE_GALLIUM_SOFTPIPE
-SUBDIRS += drivers/softpipe
-
-## swrast/llvmpipe
-if HAVE_GALLIUM_LLVMPIPE
-SUBDIRS += drivers/llvmpipe
-endif
-endif
-
-if HAVE_GALLIUM_SWR
-SUBDIRS += drivers/swr
-endif
-
-## tegra
-if HAVE_GALLIUM_TEGRA
-SUBDIRS += drivers/tegra winsys/tegra/drm
-endif
-
-## vc4/rpi
-if HAVE_GALLIUM_VC4
-SUBDIRS += drivers/vc4 winsys/vc4/drm
-endif
-
-## v3d
-if HAVE_GALLIUM_V3D
-SUBDIRS += drivers/v3d winsys/v3d/drm
-endif
-
-## virgl
-if HAVE_GALLIUM_VIRGL
-SUBDIRS += drivers/virgl winsys/virgl/drm winsys/virgl/vtest
-endif
-
-## the sw winsys'
-SUBDIRS += winsys/sw/null
-
-if NEED_WINSYS_XLIB
-SUBDIRS += winsys/sw/xlib
-endif
-
-if HAVE_DRISW
-SUBDIRS += winsys/sw/dri
-endif
-
-if HAVE_DRISW_KMS
-SUBDIRS += winsys/sw/kms-dri
-endif
-
-SUBDIRS += winsys/sw/wrapper
-
-##
-## Don't forget to bundle the remaining (non autotools) winsys'
-##
-
-EXTRA_DIST = \
- docs \
- README.portability \
- SConscript \
- winsys/sw/gdi \
- winsys/sw/hgl
-
-
-##
-## Gallium state trackers and their users (targets)
-##
-
-## XXX: Rename the conditional once we have a config switch for static/dynamic pipe-drivers
-if HAVE_CLOVER
-SUBDIRS += targets/pipe-loader
-endif
-
-if HAVE_CLOVER
-SUBDIRS += state_trackers/clover targets/opencl
-endif
-
-if HAVE_DRICOMMON
-SUBDIRS += state_trackers/dri targets/dri
-endif
-
-if HAVE_GALLIUM_XLIB_GLX
-SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
-endif
-
-if HAVE_ST_OMX_BELLAGIO
-SUBDIRS += state_trackers/omx targets/omx
-endif
-
-if HAVE_ST_OMX_TIZONIA
-SUBDIRS += state_trackers/omx targets/omx
-endif
-
-if HAVE_GALLIUM_OSMESA
-SUBDIRS += state_trackers/osmesa targets/osmesa
-endif
-
-if HAVE_ST_VA
-SUBDIRS += state_trackers/va targets/va
-endif
-
-if HAVE_ST_VDPAU
-SUBDIRS += state_trackers/vdpau targets/vdpau
-endif
-
-if HAVE_ST_XA
-SUBDIRS += state_trackers/xa targets/xa
-endif
-
-if HAVE_ST_XVMC
-SUBDIRS += state_trackers/xvmc targets/xvmc
-endif
-
-if HAVE_ST_NINE
-SUBDIRS += state_trackers/nine targets/d3dadapter9
-endif
-
-##
-## Don't forget to bundle the remaining (non autotools) state-trackers/targets
-##
-
-EXTRA_DIST += \
- include \
- state_trackers/README \
- state_trackers/wgl targets/libgl-gdi \
- targets/graw-gdi targets/graw-null targets/graw-xlib \
- state_trackers/hgl targets/haiku-softpipe \
- tools
-
-
-##
-## Gallium tests
-##
-
-if HAVE_GALLIUM_TESTS
-SUBDIRS += \
- tests/trivial \
- tests/unit
-endif
-
-EXTRA_DIST += \
- tests/graw \
- tests/python \
- meson.build \
- tests/meson.build \
- tests/graw/meson.build
diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am
deleted file mode 100644
index d7d803a961c..00000000000
--- a/src/gallium/auxiliary/Makefile.am
+++ /dev/null
@@ -1,134 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-noinst_LTLIBRARIES = libgallium.la
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/loader \
- -I$(top_builddir)/src/compiler/nir \
- -I$(top_srcdir)/src/gallium/auxiliary/util \
- $(GALLIUM_CFLAGS) \
- $(LIBUNWIND_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(MSVC2013_COMPAT_CFLAGS)
-
-AM_CXXFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CXXFLAGS) \
- $(MSVC2013_COMPAT_CXXFLAGS)
-
-libgallium_la_SOURCES = \
- $(C_SOURCES) \
- $(NIR_SOURCES) \
- $(GENERATED_SOURCES)
-
-if HAVE_PLATFORM_ANDROID
-# Android's libbacktrace headers required C++11, but the Android toolchain (at
-# least in the Chrome OS SDK) does not enable C++11 by default.
-AM_CXXFLAGS += $(CXX11_CXXFLAGS)
-
-libgallium_la_SOURCES += util/u_debug_stack_android.cpp
-endif
-
-if HAVE_LIBDRM
-
-AM_CFLAGS += \
- $(LIBDRM_CFLAGS)
-
-libgallium_la_SOURCES += \
- $(RENDERONLY_SOURCES)
-
-endif
-
-if HAVE_GALLIUM_LLVM
-
-AM_CFLAGS += \
- $(LLVM_CFLAGS)
-
-AM_CXXFLAGS += \
- $(LLVM_CXXFLAGS)
-
-libgallium_la_SOURCES += \
- $(GALLIVM_SOURCES)
-
-endif
-
-MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS)
-
-indices/u_indices_gen.c: indices/u_indices_gen.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) $(srcdir)/indices/u_indices_gen.py > $@
-
-indices/u_unfilled_gen.c: indices/u_unfilled_gen.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) $(srcdir)/indices/u_unfilled_gen.py > $@
-
-util/u_format_table.c: util/u_format_table.py \
- util/u_format_pack.py \
- util/u_format_parse.py \
- util/u_format.csv
- $(MKDIR_GEN)
- $(PYTHON_GEN) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
-
-noinst_LTLIBRARIES += libgalliumvl_stub.la
-libgalliumvl_stub_la_SOURCES = \
- $(VL_STUB_SOURCES)
-
-if NEED_GALLIUM_VL
-
-COMMON_VL_CFLAGS = \
- $(AM_CFLAGS) \
- $(VL_CFLAGS) \
- $(XCB_DRI3_CFLAGS) \
- $(DRI2PROTO_CFLAGS) \
- $(LIBDRM_CFLAGS)
-
-noinst_LTLIBRARIES += libgalliumvl.la
-
-libgalliumvl_la_CFLAGS = \
- $(COMMON_VL_CFLAGS)
-
-libgalliumvl_la_SOURCES = \
- $(VL_SOURCES)
-
-if NEED_GALLIUM_VL_WINSYS
-
-noinst_LTLIBRARIES += libgalliumvlwinsys.la
-
-libgalliumvlwinsys_la_CFLAGS = $(COMMON_VL_CFLAGS)
-libgalliumvlwinsys_la_SOURCES = $(VL_WINSYS_SOURCES)
-
-if HAVE_PLATFORM_X11
-libgalliumvlwinsys_la_SOURCES += $(VL_WINSYS_DRI2_SOURCES)
-
-if HAVE_DRI3
-libgalliumvlwinsys_la_SOURCES += $(VL_WINSYS_DRI3_SOURCES)
-endif
-endif
-
-if HAVE_PLATFORM_DRM
-libgalliumvlwinsys_la_SOURCES += $(VL_WINSYS_DRM_SOURCES)
-endif
-
-endif # NEED_GALLIUM_VL_WINSYS
-endif # NEED_GALLIUM_VL
-
-EXTRA_DIST = \
- SConscript \
- driver_rbug/README \
- driver_trace/README \
- driver_trace/trace.xsl \
- indices/u_indices.c \
- indices/u_unfilled_indices.c \
- indices/u_indices_gen.py \
- indices/u_unfilled_gen.py \
- postprocess/ADDING \
- rbug/README \
- target-helpers \
- util/u_debug_stack_android.cpp \
- util/u_format.csv \
- util/u_format_pack.py \
- util/u_format_parse.py \
- util/u_format_table.py \
- meson.build
diff --git a/src/gallium/auxiliary/pipe-loader/Makefile.am b/src/gallium/auxiliary/pipe-loader/Makefile.am
deleted file mode 100644
index 718e5afad63..00000000000
--- a/src/gallium/auxiliary/pipe-loader/Makefile.am
+++ /dev/null
@@ -1,51 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-# XXX: check if we need the gallium/winsys include
-AM_CFLAGS = \
- -I$(top_srcdir)/src/loader \
- -I$(top_srcdir)/src/gallium/winsys \
- -I$(top_builddir)/src/util \
- $(GALLIUM_PIPE_LOADER_DEFINES) \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-noinst_LTLIBRARIES = \
- libpipe_loader_static.la \
- libpipe_loader_dynamic.la
-
-libpipe_loader_static_la_CFLAGS = \
- $(AM_CFLAGS) \
- -DGALLIUM_STATIC_TARGETS=1
-
-libpipe_loader_dynamic_la_CFLAGS = \
- $(AM_CFLAGS) \
- -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
-
-libpipe_loader_static_la_SOURCES = \
- $(COMMON_SOURCES)
-
-libpipe_loader_dynamic_la_SOURCES = \
- $(COMMON_SOURCES)
-
-if HAVE_LIBDRM
-AM_CFLAGS += \
- $(LIBDRM_CFLAGS)
-
-libpipe_loader_static_la_SOURCES += \
- $(DRM_SOURCES)
-
-libpipe_loader_dynamic_la_SOURCES += \
- $(DRM_SOURCES)
-
-endif
-
-libpipe_loader_static_la_LIBADD = \
- $(top_builddir)/src/loader/libloader.la \
- $(top_builddir)/src/util/libxmlconfig.la
-
-libpipe_loader_dynamic_la_LIBADD = \
- $(top_builddir)/src/loader/libloader.la \
- $(top_builddir)/src/util/libxmlconfig.la
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/drivers/etnaviv/Automake.inc b/src/gallium/drivers/etnaviv/Automake.inc
deleted file mode 100644
index f9b39567e36..00000000000
--- a/src/gallium/drivers/etnaviv/Automake.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-if HAVE_GALLIUM_ETNAVIV
-
-TARGET_DRIVERS += etnaviv
-TARGET_CPPFLAGS += -DGALLIUM_ETNAVIV
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/etnaviv/drm/libetnavivdrm.la \
- $(top_builddir)/src/gallium/drivers/etnaviv/libetnaviv.la \
- $(ETNAVIV_LIBS) \
- $(LIBDRM_LIBS)
-
-endif
diff --git a/src/gallium/drivers/etnaviv/Makefile.am b/src/gallium/drivers/etnaviv/Makefile.am
deleted file mode 100644
index 81ef3c9f370..00000000000
--- a/src/gallium/drivers/etnaviv/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright © 2013 W.J. van der Laan
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-noinst_LTLIBRARIES = libetnaviv.la
-
-AM_CPPFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(ETNAVIV_CFLAGS)
-
-libetnaviv_la_SOURCES = $(C_SOURCES)
-
-noinst_PROGRAMS = etnaviv_compiler
-
-etnaviv_compiler_SOURCES = \
- etnaviv_compiler_cmdline.c
-
-etnaviv_compiler_LDADD = \
- libetnaviv.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(GALLIUM_COMMON_LIB_DEPS) \
- $(ETNAVIV_LIBS)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/drivers/freedreno/Automake.inc b/src/gallium/drivers/freedreno/Automake.inc
deleted file mode 100644
index 936c286f4c9..00000000000
--- a/src/gallium/drivers/freedreno/Automake.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-if HAVE_GALLIUM_FREEDRENO
-
-TARGET_DRIVERS += msm kgsl
-TARGET_CPPFLAGS += -DGALLIUM_FREEDRENO
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \
- $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \
- $(top_builddir)/src/freedreno/libfreedreno_drm.la \
- $(top_builddir)/src/freedreno/libfreedreno_ir3.la \
- $(FREEDRENO_LIBS) \
- $(LIBDRM_LIBS)
-
-endif
diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium/drivers/freedreno/Makefile.am
deleted file mode 100644
index c002378dfb1..00000000000
--- a/src/gallium/drivers/freedreno/Makefile.am
+++ /dev/null
@@ -1,28 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -Wno-packed-bitfield-compat \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \
- -I$(top_srcdir)/src/freedreno \
- -I$(top_srcdir)/src/freedreno/registers \
- -I$(top_builddir)/src/compiler/nir \
- -I$(top_srcdir)/src/compiler/nir \
- $(LIBDRM_CFLAGS) \
- $(GALLIUM_DRIVER_CFLAGS)
-
-noinst_LTLIBRARIES = libfreedreno.la
-
-libfreedreno_la_SOURCES = \
- $(C_SOURCES) \
- $(a2xx_SOURCES) \
- $(a3xx_SOURCES) \
- $(a4xx_SOURCES) \
- $(a5xx_SOURCES) \
- $(a6xx_SOURCES) \
- $(ir3_SOURCES)
-
-EXTRA_DIST = \
- ir3/ir3_cmdline.c \
- meson.build
diff --git a/src/gallium/drivers/i915/Automake.inc b/src/gallium/drivers/i915/Automake.inc
deleted file mode 100644
index 73ef8101d1c..00000000000
--- a/src/gallium/drivers/i915/Automake.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-if HAVE_GALLIUM_I915
-
-TARGET_DRIVERS += i915
-TARGET_CPPFLAGS += -DGALLIUM_I915
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \
- $(top_builddir)/src/gallium/drivers/i915/libi915.la \
- $(I915_LIBS) \
- $(LIBDRM_LIBS)
-
-endif
diff --git a/src/gallium/drivers/i915/Makefile.am b/src/gallium/drivers/i915/Makefile.am
deleted file mode 100644
index 261f292fd21..00000000000
--- a/src/gallium/drivers/i915/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS)
-
-noinst_LTLIBRARIES = libi915.la
-
-libi915_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = TODO meson.build
diff --git a/src/gallium/drivers/kmsro/Automake.inc b/src/gallium/drivers/kmsro/Automake.inc
deleted file mode 100644
index 61989f425ac..00000000000
--- a/src/gallium/drivers/kmsro/Automake.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-if HAVE_GALLIUM_KMSRO
-
-TARGET_DRIVERS += hx8357d
-TARGET_DRIVERS += ili9225
-TARGET_DRIVERS += ili9341
-TARGET_DRIVERS += mi0283qt
-TARGET_DRIVERS += pl111
-TARGET_DRIVERS += repaper
-TARGET_DRIVERS += st7586
-TARGET_DRIVERS += st7735r
-TARGET_CPPFLAGS += -DGALLIUM_KMSRO
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/kmsro/drm/libkmsrodrm.la \
- $(LIBDRM_LIBS)
-
-endif
diff --git a/src/gallium/drivers/kmsro/Makefile.am b/src/gallium/drivers/kmsro/Makefile.am
deleted file mode 100644
index 5bfaccaa1e5..00000000000
--- a/src/gallium/drivers/kmsro/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CPPFLAGS = \
- $(GALLIUM_CFLAGS)
-
-noinst_LTLIBRARIES = libkmsro.la
-
-libkmsro_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/drivers/llvmpipe/Automake.inc b/src/gallium/drivers/llvmpipe/Automake.inc
deleted file mode 100644
index 0a0aa34e74a..00000000000
--- a/src/gallium/drivers/llvmpipe/Automake.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-if HAVE_GALLIUM_LLVMPIPE
-
-TARGET_CPPFLAGS += -DGALLIUM_LLVMPIPE
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la
-
-endif
diff --git a/src/gallium/drivers/llvmpipe/Makefile.am b/src/gallium/drivers/llvmpipe/Makefile.am
deleted file mode 100644
index d649fa44b95..00000000000
--- a/src/gallium/drivers/llvmpipe/Makefile.am
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(LLVM_CFLAGS) \
- $(MSVC2013_COMPAT_CFLAGS)
-AM_CXXFLAGS= \
- $(GALLIUM_DRIVER_CXXFLAGS) \
- $(LLVM_CXXFLAGS) \
- $(MSVC2013_COMPAT_CXXFLAGS)
-
-noinst_LTLIBRARIES = libllvmpipe.la
-
-libllvmpipe_la_SOURCES = $(C_SOURCES)
-
-libllvmpipe_la_LDFLAGS = $(LLVM_LDFLAGS)
-
-noinst_HEADERS = lp_test.h
-
-check_PROGRAMS = \
- lp_test_format \
- lp_test_arit \
- lp_test_blend \
- lp_test_conv \
- lp_test_printf
-TESTS = $(check_PROGRAMS)
-
-TEST_LIBS = \
- libllvmpipe.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(LLVM_LIBS) \
- $(DLOPEN_LIBS) \
- $(PTHREAD_LIBS) \
- $(CLOCK_LIB)
-
-lp_test_format_SOURCES = lp_test_format.c lp_test_main.c
-lp_test_format_LDADD = $(TEST_LIBS)
-nodist_EXTRA_lp_test_format_SOURCES = dummy.cpp
-
-lp_test_arit_SOURCES = lp_test_arit.c lp_test_main.c
-lp_test_arit_LDADD = $(TEST_LIBS)
-nodist_EXTRA_lp_test_arit_SOURCES = dummy.cpp
-
-lp_test_blend_SOURCES = lp_test_blend.c lp_test_main.c
-lp_test_blend_LDADD = $(TEST_LIBS)
-nodist_EXTRA_lp_test_blend_SOURCES = dummy.cpp
-
-lp_test_conv_SOURCES = lp_test_conv.c lp_test_main.c
-lp_test_conv_LDADD = $(TEST_LIBS)
-nodist_EXTRA_lp_test_conv_SOURCES = dummy.cpp
-
-lp_test_printf_SOURCES = lp_test_printf.c lp_test_main.c
-lp_test_printf_LDADD = $(TEST_LIBS)
-nodist_EXTRA_lp_test_printf_SOURCES = dummy.cpp
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/drivers/nouveau/Automake.inc b/src/gallium/drivers/nouveau/Automake.inc
deleted file mode 100644
index 657790494dc..00000000000
--- a/src/gallium/drivers/nouveau/Automake.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-if HAVE_GALLIUM_NOUVEAU
-
-TARGET_DRIVERS += nouveau
-TARGET_CPPFLAGS += -DGALLIUM_NOUVEAU
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \
- $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \
- $(NOUVEAU_LIBS) \
- $(LIBDRM_LIBS)
-
-TARGET_COMPILER_LIB_DEPS = \
- $(top_builddir)/src/compiler/nir/libnir.la
-
-endif
diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am
deleted file mode 100644
index ee7191675cc..00000000000
--- a/src/gallium/drivers/nouveau/Makefile.am
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/src/compiler/nir \
- -I$(top_srcdir)/src/compiler/nir \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(LIBDRM_CFLAGS) \
- $(NOUVEAU_CFLAGS)
-
-noinst_LTLIBRARIES = libnouveau.la
-
-libnouveau_la_SOURCES = \
- $(C_SOURCES) \
- $(NV30_C_SOURCES) \
- $(NV50_CODEGEN_SOURCES) \
- $(NV50_C_SOURCES) \
- $(NVC0_CODEGEN_SOURCES) \
- $(NVC0_C_SOURCES)
-
-noinst_PROGRAMS = nouveau_compiler
-
-nodist_EXTRA_nouveau_compiler_SOURCES = dummy.cpp
-nouveau_compiler_SOURCES = \
- nouveau_compiler.c
-
-nouveau_compiler_LDADD = \
- libnouveau.la \
- $(top_builddir)/src/compiler/nir/libnir.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-EXTRA_DIST = codegen/lib nvc0/mme meson.build
diff --git a/src/gallium/drivers/r300/Automake.inc b/src/gallium/drivers/r300/Automake.inc
deleted file mode 100644
index d4ddc401bb3..00000000000
--- a/src/gallium/drivers/r300/Automake.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-if HAVE_GALLIUM_R300
-
-TARGET_DRIVERS += r300
-TARGET_CPPFLAGS += -DGALLIUM_R300
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/drivers/r300/libr300.la \
- $(RADEON_LIBS) \
- $(LIBDRM_LIBS)
-
-TARGET_RADEON_WINSYS = \
- $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la
-
-endif
diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am
deleted file mode 100644
index 26c75be3271..00000000000
--- a/src/gallium/drivers/r300/Makefile.am
+++ /dev/null
@@ -1,32 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/mesa/program \
- -I$(top_srcdir)/src/mesa \
- -I$(top_srcdir)/src/glsl \
- -I$(top_srcdir)/src/mapi \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(LLVM_CFLAGS) \
- $(RADEON_CFLAGS)
-
-noinst_LTLIBRARIES = libr300.la
-check_PROGRAMS = r300_compiler_tests
-TESTS = r300_compiler_tests
-
-r300_compiler_tests_LDADD = libr300.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(GALLIUM_COMMON_LIB_DEPS)
-r300_compiler_tests_CPPFLAGS = \
- -DTEST_PATH=\"$(top_srcdir)/src/gallium/drivers/r300/compiler/tests\" \
- -I$(top_srcdir)/src/gallium/drivers/r300/compiler
-r300_compiler_tests_SOURCES = $(COMPILER_TESTS_SOURCES)
-
-libr300_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = \
- compiler/tests/omod_two_writers.test \
- compiler/tests/regalloc_tex_1d_swizzle.test \
- meson.build
diff --git a/src/gallium/drivers/r600/Automake.inc b/src/gallium/drivers/r600/Automake.inc
deleted file mode 100644
index 727b1174d3f..00000000000
--- a/src/gallium/drivers/r600/Automake.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-if HAVE_GALLIUM_R600
-
-TARGET_DRIVERS += r600
-TARGET_CPPFLAGS += -DGALLIUM_R600
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/drivers/r600/libr600.la \
- $(RADEON_LIBS) \
- $(LIBDRM_LIBS) \
- $(LIBELF_LIBS)
-
-TARGET_RADEON_WINSYS = \
- $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la
-
-endif
diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
deleted file mode 100644
index c5b41cce26e..00000000000
--- a/src/gallium/drivers/r600/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-egd_tables.h: $(srcdir)/egd_tables.py $(srcdir)/evergreend.h
- $(AM_V_at)$(MKDIR_P) $(@D)
- $(AM_V_GEN) $(PYTHON) $(srcdir)/egd_tables.py $(srcdir)/evergreend.h > $@
-
-BUILT_SOURCES = $(R600_GENERATED_FILES)
-AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(RADEON_CFLAGS) \
- $(LIBELF_CFLAGS) \
- -I$(top_srcdir)/src/amd/common -Wstrict-overflow=0
-
-AM_CXXFLAGS = \
- $(GALLIUM_DRIVER_CXXFLAGS) \
- $(RADEON_CFLAGS) \
- $(LIBELF_CFLAGS) \
- -I$(top_srcdir)/src/amd/common
-
-noinst_LTLIBRARIES = libr600.la
-
-libr600_la_SOURCES = \
- $(C_SOURCES) \
- $(CXX_SOURCES)
-
-if HAVE_GALLIUM_LLVM
-
-AM_CFLAGS += \
- $(LLVM_CFLAGS)
-
-endif
-
-if HAVE_GALLIUM_COMPUTE
-AM_CFLAGS += \
- -DHAVE_OPENCL
-endif
-
-CLEANFILES = \
- egd_tables.h
-
-EXTRA_DIST = \
- egd_tables.py \
- sb/notes.markdown \
- sb/sb_bc_fmt_def.inc \
- meson.build
diff --git a/src/gallium/drivers/radeonsi/Automake.inc b/src/gallium/drivers/radeonsi/Automake.inc
deleted file mode 100644
index 740648d798b..00000000000
--- a/src/gallium/drivers/radeonsi/Automake.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-if HAVE_GALLIUM_RADEONSI
-
-TARGET_DRIVERS += radeonsi
-TARGET_CPPFLAGS += -DGALLIUM_RADEONSI
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \
- $(RADEON_LIBS) \
- $(LIBDRM_LIBS) \
- $(AMDGPU_LIBS)
-
-TARGET_COMPILER_LIB_DEPS = \
- $(top_builddir)/src/compiler/nir/libnir.la
-
-TARGET_RADEON_WINSYS = \
- $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
- $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la
-
-TARGET_RADEON_COMMON = \
- $(top_builddir)/src/amd/common/libamd_common.la
-
-endif
diff --git a/src/gallium/drivers/radeonsi/Makefile.am b/src/gallium/drivers/radeonsi/Makefile.am
deleted file mode 100644
index 317ae7ea19f..00000000000
--- a/src/gallium/drivers/radeonsi/Makefile.am
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS) \
- -I$(top_builddir)/src/amd/common \
- -I$(top_builddir)/src/compiler/nir \
- -I$(top_srcdir)/src/amd/common \
- $(RADEON_CFLAGS) \
- $(LLVM_CFLAGS) \
- -Wstrict-overflow=0
-# ^^ disable warnings about overflows (os_time_timeout)
-
-noinst_LTLIBRARIES = libradeonsi.la
-
-libradeonsi_la_SOURCES = $(C_SOURCES)
-
-libradeonsi_la_LIBADD = \
- $(CLOCK_LIB) \
- $(LLVM_LIBS)
-
-libradeonsi_la_LDFLAGS = \
- $(LLVM_LDFLAGS)
-
-GEN_DRIINFO_INPUTS = \
- $(top_srcdir)/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h \
- $(srcdir)/driinfo_radeonsi.h
-
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS)
-MERGE_DRIINFO = $(top_srcdir)/src/util/merge_driinfo.py
-
-si_driinfo.h: $(MERGE_DRIINFO) $(GEN_DRIINFO_INPUTS)
- $(PYTHON_GEN) $(MERGE_DRIINFO) $(GEN_DRIINFO_INPUTS) > $@ || ($(RM) $@; false)
-
-BUILT_SOURCES = $(GENERATED_SOURCES)
-CLEANFILES = $(GENERATED_SOURCES)
-EXTRA_DIST = meson.build
diff --git a/src/gallium/drivers/softpipe/Automake.inc b/src/gallium/drivers/softpipe/Automake.inc
deleted file mode 100644
index bd3c2eead16..00000000000
--- a/src/gallium/drivers/softpipe/Automake.inc
+++ /dev/null
@@ -1,12 +0,0 @@
-if HAVE_GALLIUM_SOFTPIPE
-
-TARGET_DRIVERS += swrast
-TARGET_CPPFLAGS += -DGALLIUM_SOFTPIPE
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
-
-if HAVE_DRISW_KMS
-TARGET_DRIVERS += kms_swrast
-
-endif
-endif
diff --git a/src/gallium/drivers/softpipe/Makefile.am b/src/gallium/drivers/softpipe/Makefile.am
deleted file mode 100644
index c8c2615a970..00000000000
--- a/src/gallium/drivers/softpipe/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(MSVC2013_COMPAT_CFLAGS)
-
-noinst_LTLIBRARIES = libsoftpipe.la
-
-libsoftpipe_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/drivers/svga/Automake.inc b/src/gallium/drivers/svga/Automake.inc
deleted file mode 100644
index d2d1d8f1842..00000000000
--- a/src/gallium/drivers/svga/Automake.inc
+++ /dev/null
@@ -1,10 +0,0 @@
-if HAVE_GALLIUM_SVGA
-
-TARGET_DRIVERS += vmwgfx
-TARGET_CPPFLAGS += -DGALLIUM_VMWGFX
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \
- $(top_builddir)/src/gallium/drivers/svga/libsvga.la \
- $(LIBDRM_LIBS)
-
-endif
diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am
deleted file mode 100644
index a457df03c8c..00000000000
--- a/src/gallium/drivers/svga/Makefile.am
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CPPFLAGS = \
- -I$(top_builddir)/src
-
-AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(MSVC2013_COMPAT_CFLAGS)
-
-noinst_HEADERS = $(SVGA_H_FILES)
-noinst_LTLIBRARIES = libsvga.la
-
-libsvga_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript \
- include/README \
- svgadump/svga_dump.py \
- meson.build
diff --git a/src/gallium/drivers/swr/Automake.inc b/src/gallium/drivers/swr/Automake.inc
deleted file mode 100644
index a51921455a9..00000000000
--- a/src/gallium/drivers/swr/Automake.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-if HAVE_GALLIUM_SWR
-
-TARGET_DRIVERS += swrast
-TARGET_CPPFLAGS += -DGALLIUM_SWR
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/drivers/swr/libmesaswr.la
-
-endif
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
deleted file mode 100644
index 3390ef6b096..00000000000
--- a/src/gallium/drivers/swr/Makefile.am
+++ /dev/null
@@ -1,408 +0,0 @@
-# Copyright (C) 2015 Intel Corporation. All Rights Reserved.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CXXFLAGS = $(GALLIUM_DRIVER_CFLAGS) $(CXX11_CXXFLAGS)
-
-noinst_LTLIBRARIES = libmesaswr.la
-
-libmesaswr_la_SOURCES = \
- $(CXX_SOURCES) \
- $(JITTER_CXX_SOURCES) \
- $(LOADER_SOURCES)
-
-COMMON_CXXFLAGS = \
- -fno-strict-aliasing \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(LLVM_CXXFLAGS) \
- $(CXX11_CXXFLAGS) \
- -I$(builddir)/rasterizer/codegen \
- -I$(builddir)/rasterizer/core \
- -I$(builddir)/rasterizer/jitter \
- -I$(builddir)/rasterizer/archrast \
- -I$(srcdir)/rasterizer \
- -I$(srcdir)/rasterizer/core \
- -I$(srcdir)/rasterizer/codegen \
- -I$(srcdir)/rasterizer/jitter \
- -I$(srcdir)/rasterizer/archrast
-
-# SWR_AVX_CXXFLAGS needed for intrinsic usage in swr api headers
-libmesaswr_la_CXXFLAGS = \
- $(SWR_AVX_CXXFLAGS) \
- $(COMMON_CXXFLAGS)
-
-if HAVE_SWR_AVX
-libmesaswr_la_CXXFLAGS += -DHAVE_SWR_AVX
-endif
-
-if HAVE_SWR_AVX2
-libmesaswr_la_CXXFLAGS += -DHAVE_SWR_AVX2
-endif
-
-if HAVE_SWR_KNL
-libmesaswr_la_CXXFLAGS += -DHAVE_SWR_KNL
-endif
-
-if HAVE_SWR_SKX
-libmesaswr_la_CXXFLAGS += -DHAVE_SWR_SKX
-endif
-
-COMMON_SOURCES = \
- $(ARCHRAST_CXX_SOURCES) \
- $(COMMON_CXX_SOURCES) \
- $(CORE_CXX_SOURCES) \
- $(MEMORY_CXX_SOURCES) \
- $(BUILT_SOURCES)
-
-BUILT_SOURCES = \
- gen_swr_context_llvm.h \
- rasterizer/codegen/gen_knobs.cpp \
- rasterizer/codegen/gen_knobs.h \
- rasterizer/jitter/gen_state_llvm.h \
- rasterizer/jitter/gen_builder.hpp \
- rasterizer/jitter/gen_builder_meta.hpp \
- rasterizer/jitter/gen_builder_intrin.hpp \
- rasterizer/archrast/gen_ar_event.hpp \
- rasterizer/archrast/gen_ar_event.cpp \
- rasterizer/archrast/gen_ar_eventhandler.hpp \
- rasterizer/archrast/gen_ar_eventhandlerfile.hpp \
- rasterizer/core/backends/gen_BackendPixelRate0.cpp \
- rasterizer/core/backends/gen_BackendPixelRate1.cpp \
- rasterizer/core/backends/gen_BackendPixelRate2.cpp \
- rasterizer/core/backends/gen_BackendPixelRate3.cpp \
- rasterizer/core/backends/gen_BackendPixelRate.hpp \
- rasterizer/core/backends/gen_rasterizer0.cpp \
- rasterizer/core/backends/gen_rasterizer1.cpp \
- rasterizer/core/backends/gen_rasterizer2.cpp \
- rasterizer/core/backends/gen_rasterizer3.cpp \
- rasterizer/core/backends/gen_rasterizer.hpp
-
-MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS)
-gen_swr_context_llvm.h: rasterizer/codegen/gen_llvm_types.py rasterizer/codegen/templates/gen_llvm.hpp swr_context.h
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_llvm_types.py \
- --input $(srcdir)/swr_context.h \
- --output ./gen_swr_context_llvm.h
- $(AM_V_GEN)touch $@
-
-rasterizer/codegen/gen_knobs.cpp: rasterizer/codegen/gen_knobs.py rasterizer/codegen/knob_defs.py rasterizer/codegen/templates/gen_knobs.cpp rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_knobs.py \
- --output rasterizer/codegen/gen_knobs.cpp \
- --gen_cpp
- $(AM_V_GEN)touch $@
-
-rasterizer/codegen/gen_knobs.h: rasterizer/codegen/gen_knobs.py rasterizer/codegen/knob_defs.py rasterizer/codegen/templates/gen_knobs.h rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_knobs.py \
- --output rasterizer/codegen/gen_knobs.h \
- --gen_h
- $(AM_V_GEN)touch $@
-
-rasterizer/jitter/gen_state_llvm.h: rasterizer/codegen/gen_llvm_types.py rasterizer/codegen/templates/gen_llvm.hpp rasterizer/core/state.h rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_llvm_types.py \
- --input $(srcdir)/rasterizer/core/state.h \
- --output rasterizer/jitter/gen_state_llvm.h
- $(AM_V_GEN)touch $@
-
-rasterizer/jitter/gen_builder.hpp: rasterizer/codegen/gen_llvm_ir_macros.py rasterizer/codegen/templates/gen_builder.hpp rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_llvm_ir_macros.py \
- --input $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h \
- --output rasterizer/jitter \
- --gen_h
- $(AM_V_GEN)touch $@
-
-rasterizer/jitter/gen_builder_meta.hpp: rasterizer/codegen/gen_llvm_ir_macros.py rasterizer/codegen/templates/gen_builder.hpp rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_llvm_ir_macros.py \
- --output rasterizer/jitter \
- --gen_meta_h
- $(AM_V_GEN)touch $@
-
-rasterizer/jitter/gen_builder_intrin.hpp: rasterizer/codegen/gen_llvm_ir_macros.py rasterizer/codegen/templates/gen_builder.hpp rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_llvm_ir_macros.py \
- --output rasterizer/jitter \
- --gen_intrin_h
- $(AM_V_GEN)touch $@
-
-rasterizer/archrast/gen_ar_event.hpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_event.hpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_archrast.py \
- --proto $(srcdir)/rasterizer/archrast/events.proto \
- --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \
- --output rasterizer/archrast/gen_ar_event.hpp \
- --gen_event_hpp
- $(AM_V_GEN)touch $@
-
-rasterizer/archrast/gen_ar_event.cpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_event.cpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_archrast.py \
- --proto $(srcdir)/rasterizer/archrast/events.proto \
- --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \
- --output rasterizer/archrast/gen_ar_event.cpp \
- --gen_event_cpp
- $(AM_V_GEN)touch $@
-
-rasterizer/archrast/gen_ar_eventhandler.hpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_eventhandler.hpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_archrast.py \
- --proto $(srcdir)/rasterizer/archrast/events.proto \
- --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \
- --output rasterizer/archrast/gen_ar_eventhandler.hpp \
- --gen_eventhandler_hpp
- $(AM_V_GEN)touch $@
-
-rasterizer/archrast/gen_ar_eventhandlerfile.hpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_archrast.py \
- --proto $(srcdir)/rasterizer/archrast/events.proto \
- --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \
- --output rasterizer/archrast/gen_ar_eventhandlerfile.hpp \
- --gen_eventhandlerfile_hpp
- $(AM_V_GEN)touch $@
-
-rasterizer/core/backends/gen_BackendPixelRate0.cpp \
-rasterizer/core/backends/gen_BackendPixelRate1.cpp \
-rasterizer/core/backends/gen_BackendPixelRate2.cpp \
-rasterizer/core/backends/gen_BackendPixelRate3.cpp \
-rasterizer/core/backends/gen_BackendPixelRate.hpp: \
-backend.intermediate
-
-# 5 SWR_MULTISAMPLE_TYPE_COUNT
-# 2 SWR_MSAA_SAMPLE_PATTERN_COUNT
-# 3 SWR_INPUT_COVERAGE_COUNT
-# 2 centroid
-# 2 forcedSampleCount
-# 2 canEarlyZ
-
-# use intermediate rule to tell make that all files can be
-# generated in one invocation of gen_backends.py (prevents
-# parallel make race condition)
-.INTERMEDIATE: backend.intermediate
-backend.intermediate: rasterizer/codegen/gen_backends.py rasterizer/codegen/templates/gen_backend.cpp rasterizer/codegen/templates/gen_header_init.hpp
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_backends.py \
- --outdir rasterizer/core/backends \
- --dim 5 2 3 2 2 2 \
- --numfiles 4 \
- --cpp \
- --hpp
-
-rasterizer/core/backends/gen_rasterizer0.cpp \
-rasterizer/core/backends/gen_rasterizer1.cpp \
-rasterizer/core/backends/gen_rasterizer2.cpp \
-rasterizer/core/backends/gen_rasterizer3.cpp \
-rasterizer/core/backends/gen_rasterizer.hpp: \
-rasterizer.intermediate
-
-# 5 SWR_MULTISAMPLE_TYPE_COUNT
-# 2 CenterPattern
-# 2 Conservative
-# 3 SWR_INPUT_COVERAGE_COUNT
-# 5 STATE_VALID_TRI_EDGE_COUNT
-# 2 RasterScissorEdges
-
-# use intermediate rule to tell make that all files can be
-# generated in one invocation of gen_backends.py (prevents
-# parallel make race condition)
-.INTERMEDIATE: rasterizer.intermediate
-rasterizer.intermediate: rasterizer/codegen/gen_backends.py rasterizer/codegen/templates/gen_rasterizer.cpp rasterizer/codegen/templates/gen_header_init.hpp
- $(MKDIR_GEN)
- $(PYTHON_GEN) \
- $(srcdir)/rasterizer/codegen/gen_backends.py \
- --outdir rasterizer/core/backends \
- --rast \
- --dim 5 2 2 3 5 2 \
- --numfiles 4 \
- --cpp \
- --hpp
-
-COMMON_LDFLAGS = \
- -shared \
- -module \
- -no-undefined \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-lib_LTLIBRARIES =
-
-if HAVE_SWR_AVX
-libswrAVX_la_CXXFLAGS = \
- $(PTHREAD_CFLAGS) \
- $(SWR_AVX_CXXFLAGS) \
- -DKNOB_ARCH=KNOB_ARCH_AVX \
- $(COMMON_CXXFLAGS)
-
-libswrAVX_la_SOURCES = \
- $(COMMON_SOURCES)
-
-libswrAVX_la_LIBADD = \
- $(PTHREAD_LIBS)
-
-libswrAVX_la_LDFLAGS = \
- $(COMMON_LDFLAGS)
-endif
-
-if HAVE_SWR_AVX2
-libswrAVX2_la_CXXFLAGS = \
- $(PTHREAD_CFLAGS) \
- $(SWR_AVX2_CXXFLAGS) \
- -DKNOB_ARCH=KNOB_ARCH_AVX2 \
- $(COMMON_CXXFLAGS)
-
-libswrAVX2_la_SOURCES = \
- $(COMMON_SOURCES)
-
-libswrAVX2_la_LIBADD = \
- $(PTHREAD_LIBS)
-
-libswrAVX2_la_LDFLAGS = \
- $(COMMON_LDFLAGS)
-endif
-
-if HAVE_SWR_KNL
-libswrKNL_la_CXXFLAGS = \
- $(PTHREAD_CFLAGS) \
- $(SWR_KNL_CXXFLAGS) \
- -DKNOB_ARCH=KNOB_ARCH_AVX512 -DSIMD_ARCH_KNIGHTS \
- $(COMMON_CXXFLAGS)
-
-libswrKNL_la_SOURCES = \
- $(COMMON_SOURCES)
-
-libswrKNL_la_LIBADD = \
- $(PTHREAD_LIBS)
-
-libswrKNL_la_LDFLAGS = \
- $(COMMON_LDFLAGS)
-endif
-
-if HAVE_SWR_SKX
-libswrSKX_la_CXXFLAGS = \
- $(PTHREAD_CFLAGS) \
- $(SWR_SKX_CXXFLAGS) \
- -DKNOB_ARCH=KNOB_ARCH_AVX512 \
- $(COMMON_CXXFLAGS)
-
-libswrSKX_la_SOURCES = \
- $(COMMON_SOURCES)
-
-libswrSKX_la_LIBADD = \
- $(PTHREAD_LIBS)
-
-libswrSKX_la_LDFLAGS = \
- $(COMMON_LDFLAGS)
-endif
-
-if HAVE_SWR_BUILTIN
-libmesaswr_la_CXXFLAGS += -DHAVE_SWR_BUILTIN
-libmesaswr_la_LIBADD =
-if HAVE_SWR_AVX
-noinst_LTLIBRARIES += libswrAVX.la
-libmesaswr_la_LIBADD += libswrAVX.la
-endif
-if HAVE_SWR_AVX2
-noinst_LTLIBRARIES += libswrAVX2.la
-libmesaswr_la_LIBADD += libswrAVX2.la
-endif
-if HAVE_SWR_KNL
-noinst_LTLIBRARIES += libswrKNL.la
-libmesaswr_la_LIBADD += libswrKNL.la
-endif
-if HAVE_SWR_SKX
-noinst_LTLIBRARIES += libswrSKX.la
-libmesaswr_la_LIBADD += libswrSKX.la
-endif
-else # !HAVE_SWR_BUILTIN
-# gen_knobs.* included here to provide driver access to swr configuration
-libmesaswr_la_SOURCES += \
- $(COMMON_CXX_SOURCES) \
- rasterizer/codegen/gen_knobs.cpp \
- rasterizer/codegen/gen_knobs.h
-if HAVE_SWR_AVX
-lib_LTLIBRARIES += libswrAVX.la
-endif
-if HAVE_SWR_AVX2
-lib_LTLIBRARIES += libswrAVX2.la
-endif
-if HAVE_SWR_KNL
-lib_LTLIBRARIES += libswrKNL.la
-endif
-if HAVE_SWR_SKX
-lib_LTLIBRARIES += libswrSKX.la
-endif
-endif
-
-include $(top_srcdir)/install-gallium-links.mk
-
-# Generated gen_builder.hpp is not backwards compatible. So ship only one
-# created with the oldest supported version of LLVM.
-dist-hook:
-if SWR_INVALID_LLVM_VERSION
- @echo "*****************************************"
- @echo "LLVM 6.0.x required to create the tarball"
- @echo "*****************************************"
- @test
-endif
-
-EXTRA_DIST = \
- SConscript \
- meson.build \
- rasterizer/jitter/meson.build \
- rasterizer/codegen/meson.build \
- rasterizer/core/backends/meson.build \
- rasterizer/archrast/events.proto \
- rasterizer/archrast/events_private.proto \
- rasterizer/codegen/gen_llvm_ir_macros.py \
- rasterizer/codegen/gen_llvm_types.py \
- rasterizer/codegen/gen_archrast.py \
- rasterizer/codegen/gen_backends.py \
- rasterizer/codegen/gen_common.py \
- rasterizer/codegen/gen_knobs.py \
- rasterizer/codegen/knob_defs.py \
- rasterizer/codegen/templates/gen_ar_event.cpp \
- rasterizer/codegen/templates/gen_ar_event.hpp \
- rasterizer/codegen/templates/gen_ar_eventhandler.hpp \
- rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp \
- rasterizer/codegen/templates/gen_backend.cpp \
- rasterizer/codegen/templates/gen_builder.hpp \
- rasterizer/codegen/templates/gen_header_init.hpp \
- rasterizer/codegen/templates/gen_knobs.cpp \
- rasterizer/codegen/templates/gen_knobs.h \
- rasterizer/codegen/templates/gen_llvm.hpp \
- rasterizer/codegen/templates/gen_rasterizer.cpp
diff --git a/src/gallium/drivers/tegra/Automake.inc b/src/gallium/drivers/tegra/Automake.inc
deleted file mode 100644
index f6528191624..00000000000
--- a/src/gallium/drivers/tegra/Automake.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-if HAVE_GALLIUM_TEGRA
-
-TARGET_DRIVERS += tegra
-TARGET_CPPFLAGS += -DGALLIUM_TEGRA
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/tegra/drm/libtegradrm.la \
- $(top_builddir)/src/gallium/drivers/tegra/libtegra.la \
- $(LIBDRM_LIBS) \
- $(TEGRA_LIBS)
-
-endif
diff --git a/src/gallium/drivers/tegra/Makefile.am b/src/gallium/drivers/tegra/Makefile.am
deleted file mode 100644
index bcb039b227f..00000000000
--- a/src/gallium/drivers/tegra/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/include \
- $(LIBDRM_CFLAGS) \
- $(GALLIUM_DRIVER_CFLAGS)
-
-noinst_LTLIBRARIES = libtegra.la
-
-libtegra_la_SOURCES = \
- $(C_SOURCES)
-
-EXTRA_DIST = \
- meson.build
diff --git a/src/gallium/drivers/v3d/Automake.inc b/src/gallium/drivers/v3d/Automake.inc
deleted file mode 100644
index 91ae826b301..00000000000
--- a/src/gallium/drivers/v3d/Automake.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-if HAVE_GALLIUM_V3D
-
-TARGET_DRIVERS += v3d
-TARGET_CPPFLAGS += -DGALLIUM_V3D
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/v3d/drm/libv3ddrm.la \
- $(top_builddir)/src/gallium/drivers/v3d/libv3d.la \
- $(top_builddir)/src/broadcom/libbroadcom.la \
- $(top_builddir)/src/broadcom/libbroadcom_v33.la \
- $(top_builddir)/src/broadcom/libbroadcom_v41.la
-
-if !HAVE_GALLIUM_VC4
-TARGET_LIB_DEPS += $(top_builddir)/src/broadcom/cle/libbroadcom_cle.la
-endif
-
-endif
diff --git a/src/gallium/drivers/v3d/Makefile.am b/src/gallium/drivers/v3d/Makefile.am
deleted file mode 100644
index 5fb536275fd..00000000000
--- a/src/gallium/drivers/v3d/Makefile.am
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright © 2014 Broadcom
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_builddir)/src/compiler/nir \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/broadcom \
- -I$(top_builddir)/src/broadcom \
- -I$(top_builddir)/src \
- $(LIBDRM_CFLAGS) \
- $(V3D_SIMULATOR_CFLAGS) \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(VALGRIND_CFLAGS) \
- $()
-
-noinst_LTLIBRARIES = \
- libv3d.la \
- libv3d_v33.la \
- libv3d_v41.la \
- $()
-
-libv3d_v33_la_SOURCES = $(V3D_PER_VERSION_SOURCES)
-libv3d_v33_la_CFLAGS = $(AM_CFLAGS) -DV3D_VERSION=33
-
-libv3d_v41_la_SOURCES = $(V3D_PER_VERSION_SOURCES)
-libv3d_v41_la_CFLAGS = $(AM_CFLAGS) -DV3D_VERSION=41
-
-libv3d_la_SOURCES = $(C_SOURCES)
-
-libv3d_la_LDFLAGS = \
- $(V3D_SIMULATOR_LIBS) \
- $(NULL)
-libv3d_la_LIBADD = \
- libv3d_v33.la \
- libv3d_v41.la \
- $()
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/drivers/vc4/Automake.inc b/src/gallium/drivers/vc4/Automake.inc
deleted file mode 100644
index 650466e495a..00000000000
--- a/src/gallium/drivers/vc4/Automake.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-if HAVE_GALLIUM_VC4
-
-TARGET_DRIVERS += vc4
-TARGET_CPPFLAGS += -DGALLIUM_VC4
-
-if !HAVE_GALLIUM_V3D
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/broadcom/libbroadcom.la \
- $(top_builddir)/src/broadcom/libbroadcom_v33.la \
- $(top_builddir)/src/broadcom/libbroadcom_v41.la
-endif
-
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/vc4/drm/libvc4drm.la \
- $(top_builddir)/src/gallium/drivers/vc4/libvc4.la \
- $(top_builddir)/src/broadcom/cle/libbroadcom_cle.la
-
-
-endif
diff --git a/src/gallium/drivers/vc4/Makefile.am b/src/gallium/drivers/vc4/Makefile.am
deleted file mode 100644
index 585ff20e6cf..00000000000
--- a/src/gallium/drivers/vc4/Makefile.am
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright © 2014 Broadcom
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-if USE_VC4_SIMULATOR
-SIM_LDFLAGS = -lsimpenrose
-endif
-
-AM_CFLAGS = \
- -I$(top_builddir)/src/compiler/nir \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/src/broadcom \
- -I$(top_builddir)/src/broadcom \
- $(LIBDRM_CFLAGS) \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(SIM_CFLAGS) \
- $(VALGRIND_CFLAGS) \
- $()
-
-noinst_LTLIBRARIES = libvc4.la
-
-libvc4_la_SOURCES = $(C_SOURCES)
-
-libvc4_la_LIBADD = \
- $(SIM_LIB) \
- $()
-
-if HAVE_ARM_ASM
-noinst_LTLIBRARIES += libvc4_neon.la
-libvc4_la_LIBADD += libvc4_neon.la
-libvc4_neon_la_SOURCES = $(NEON_C_SOURCES)
-libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -mfpu=neon
-endif
-
-libvc4_la_LDFLAGS = $(SIM_LDFLAGS)
-
-EXTRA_DIST = kernel/README meson.build
diff --git a/src/gallium/drivers/virgl/Automake.inc b/src/gallium/drivers/virgl/Automake.inc
deleted file mode 100644
index b05d3e314c8..00000000000
--- a/src/gallium/drivers/virgl/Automake.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-if HAVE_GALLIUM_VIRGL
-
-TARGET_DRIVERS += virtio_gpu
-TARGET_CPPFLAGS += -DGALLIUM_VIRGL
-TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/drivers/virgl/libvirgl.la \
- $(top_builddir)/src/gallium/winsys/virgl/drm/libvirgldrm.la \
- $(top_builddir)/src/gallium/winsys/virgl/vtest/libvirglvtest.la \
- $(LIBDRM_LIBS)
-
-endif
diff --git a/src/gallium/drivers/virgl/Makefile.am b/src/gallium/drivers/virgl/Makefile.am
deleted file mode 100644
index e5e1d9ef6d9..00000000000
--- a/src/gallium/drivers/virgl/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright © 2014, 2015 Red Hat.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CPPFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS) \
- $(LIBDRM_CFLAGS)
-
-noinst_LTLIBRARIES = libvirgl.la
-
-libvirgl_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
deleted file mode 100644
index 32ed04f6a2c..00000000000
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ /dev/null
@@ -1,61 +0,0 @@
-include Makefile.sources
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/auxiliary \
- -I$(top_srcdir)/src/gallium/winsys
-
-if HAVE_CLOVER_ICD
-AM_CPPFLAGS += -DHAVE_CLOVER_ICD
-else
-# Only install the headers if we are building a stand-alone implementation
-cldir = $(includedir)/CL
-cl_HEADERS = \
- $(top_srcdir)/include/CL/cl.h \
- $(top_srcdir)/include/CL/cl.hpp \
- $(top_srcdir)/include/CL/cl2.hpp \
- $(top_srcdir)/include/CL/cl_d3d10.h \
- $(top_srcdir)/include/CL/cl_d3d11.h \
- $(top_srcdir)/include/CL/cl_dx9_media_sharing.h \
- $(top_srcdir)/include/CL/cl_dx9_media_sharing_intel.h \
- $(top_srcdir)/include/CL/cl_egl.h \
- $(top_srcdir)/include/CL/cl_ext.h \
- $(top_srcdir)/include/CL/cl_ext_intel.h \
- $(top_srcdir)/include/CL/cl_gl.h \
- $(top_srcdir)/include/CL/cl_gl_ext.h \
- $(top_srcdir)/include/CL/cl_platform.h \
- $(top_srcdir)/include/CL/cl_va_api_media_sharing_intel.h \
- $(top_srcdir)/include/CL/cl_version.h \
- $(top_srcdir)/include/CL/opencl.h
-endif
-
-noinst_LTLIBRARIES = libclover.la libclllvm.la
-
-libclllvm_la_CXXFLAGS = \
- $(CXX11_CXXFLAGS) \
- $(VISIBILITY_CXXFLAGS) \
- $(LLVM_CXXFLAGS) \
- $(CLOVER_STD_OVERRIDE) \
- $(DEFINES) \
- $(LIBELF_CFLAGS) \
- -DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
- -DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \
- -DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\"
-
-libclllvm_la_SOURCES = $(LLVM_SOURCES)
-
-libclover_la_CXXFLAGS = \
- $(CXX11_CXXFLAGS) \
- $(CLOVER_STD_OVERRIDE) \
- $(VISIBILITY_CXXFLAGS)
-
-libclover_la_LIBADD = \
- libclllvm.la
-
-libclover_la_SOURCES = $(CPP_SOURCES)
-
-EXTRA_DIST = Doxyfile meson.build
diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am
deleted file mode 100644
index d66e585b195..00000000000
--- a/src/gallium/state_trackers/dri/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright © 2012 Intel Corporation
-# Copyright © 2014 Emil Velikov
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- -I$(top_builddir)/src/util \
- -I$(top_srcdir)/src/mesa/drivers/dri/common \
- $(GALLIUM_CFLAGS) \
- $(LIBDRM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-if HAVE_GALLIUM_SOFTPIPE
-AM_CPPFLAGS += \
- -DGALLIUM_SOFTPIPE
-endif # HAVE_GALLIUM_SOFTPIPE
-
-noinst_LTLIBRARIES = libdri.la
-libdri_la_SOURCES = $(common_SOURCES)
-
-if HAVE_DRISW
-libdri_la_SOURCES += $(drisw_SOURCES)
-endif
-
-
-if HAVE_DRI2
-libdri_la_SOURCES += $(dri2_SOURCES)
-endif
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/state_trackers/glx/xlib/Makefile.am b/src/gallium/state_trackers/glx/xlib/Makefile.am
deleted file mode 100644
index 914d4a5b885..00000000000
--- a/src/gallium/state_trackers/glx/xlib/Makefile.am
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(GLPROTO_CFLAGS) \
- $(X11_INCLUDES)
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa
-
-noinst_LTLIBRARIES = libxlib.la
-
-libxlib_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/state_trackers/nine/Makefile.am b/src/gallium/state_trackers/nine/Makefile.am
deleted file mode 100644
index 2a66df8b9e6..00000000000
--- a/src/gallium/state_trackers/nine/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/include/D3D9 \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-noinst_LTLIBRARIES = libninetracker.la
-
-libninetracker_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = README meson.build
diff --git a/src/gallium/state_trackers/omx/Makefile.am b/src/gallium/state_trackers/omx/Makefile.am
deleted file mode 100644
index 734ca0908e4..00000000000
--- a/src/gallium/state_trackers/omx/Makefile.am
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-if HAVE_ST_OMX_BELLAGIO
-SUBDIRS = bellagio
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(VL_CFLAGS) \
- $(XCB_DRI3_CFLAGS) \
- $(OMX_BELLAGIO_CFLAGS)
-else
-SUBDIRS = tizonia
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(LIBDRM_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(VL_CFLAGS) \
- $(XCB_DRI3_CFLAGS) \
- $(OMX_TIZONIA_CFLAGS) \
- $(OMX_TIZILHEADERS_CFLAGS) \
- $(OMX_TIZPLATFORM_CFLAGS)
-endif
-
-noinst_LTLIBRARIES = libomxtracker_common.la
-
-libomxtracker_common_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/state_trackers/omx/bellagio/Makefile.am b/src/gallium/state_trackers/omx/bellagio/Makefile.am
deleted file mode 100644
index 3e542ab0f26..00000000000
--- a/src/gallium/state_trackers/omx/bellagio/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/state_trackers/omx \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(VL_CFLAGS) \
- $(XCB_DRI3_CFLAGS) \
- $(OMX_BELLAGIO_CFLAGS)
-
-noinst_LTLIBRARIES = libomxtracker.la
-
-libomxtracker_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/omx/tizonia/Makefile.am b/src/gallium/state_trackers/omx/tizonia/Makefile.am
deleted file mode 100644
index ac72affa326..00000000000
--- a/src/gallium/state_trackers/omx/tizonia/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- -I$(top_builddir)/src/mesa/drivers/dri/common \
- -I$(top_srcdir)/src/mesa/drivers/dri/common \
- -I$(top_srcdir)/src/egl \
- -I$(top_srcdir)/src/egl/drivers/dri2 \
- -I$(top_srcdir)/src/egl/main \
- -I$(top_srcdir)/src/gbm/main \
- -I$(top_srcdir)/src/loader \
- -I$(top_srcdir)/src/gbm/backends/dri \
- -I$(top_srcdir)/src/gallium/state_trackers/dri \
- -I$(top_srcdir)/src/gallium/state_trackers/omx \
- $(GALLIUM_CFLAGS) \
- $(LIBDRM_CFLAGS) \
- $(WAYLAND_EGL_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(VL_CFLAGS) \
- $(XCB_DRI3_CFLAGS) \
- $(OMX_TIZONIA_CFLAGS) \
- $(OMX_TIZILHEADERS_CFLAGS) \
- $(OMX_TIZPLATFORM_CFLAGS)
-
-noinst_LTLIBRARIES = libomxtiztracker.la
-
-libomxtiztracker_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/osmesa/Makefile.am b/src/gallium/state_trackers/osmesa/Makefile.am
deleted file mode 100644
index 05e3ca0d739..00000000000
--- a/src/gallium/state_trackers/osmesa/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = $(GALLIUM_CFLAGS)
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- -I$(top_srcdir)/src/gallium/state_trackers/glx/xlib \
- -I$(top_srcdir)/src/gallium/auxiliary \
- -DGALLIUM_SOFTPIPE
-
-noinst_LTLIBRARIES = libosmesa.la
-
-libosmesa_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/state_trackers/va/Makefile.am b/src/gallium/state_trackers/va/Makefile.am
deleted file mode 100644
index cd548e70b35..00000000000
--- a/src/gallium/state_trackers/va/Makefile.am
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2014 Advanced Micro Devices, Inc.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(VL_CFLAGS) \
- $(XCB_DRI3_CFLAGS) \
- $(VA_CFLAGS) \
- -DVA_DRIVER_INIT_FUNC="__vaDriverInit_$(VA_MAJOR)_$(VA_MINOR)"
-
-noinst_LTLIBRARIES = libvatracker.la
-
-libvatracker_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/state_trackers/vdpau/Makefile.am b/src/gallium/state_trackers/vdpau/Makefile.am
deleted file mode 100644
index 8bf8945b238..00000000000
--- a/src/gallium/state_trackers/vdpau/Makefile.am
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-VDPAU_MAJOR = 1
-VDPAU_MINOR = 0
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(VL_CFLAGS) \
- $(XCB_DRI3_CFLAGS) \
- $(VDPAU_CFLAGS)
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -DVER_MAJOR=$(VDPAU_MAJOR) \
- -DVER_MINOR=$(VDPAU_MINOR)
-
-noinst_LTLIBRARIES = libvdpautracker.la
-
-libvdpautracker_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/state_trackers/xa/Makefile.am b/src/gallium/state_trackers/xa/Makefile.am
deleted file mode 100644
index 56ead63d3a4..00000000000
--- a/src/gallium/state_trackers/xa/Makefile.am
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -pedantic \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-xa_includedir = $(includedir)
-xa_include_HEADERS = \
- xa_composite.h \
- xa_context.h \
- xa_tracker.h
-
-noinst_LTLIBRARIES = libxatracker.la
-
-libxatracker_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = README xa-indent.sh meson.build
diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am
deleted file mode 100644
index dc278099030..00000000000
--- a/src/gallium/state_trackers/xvmc/Makefile.am
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS) \
- $(VL_CFLAGS) \
- $(X11_INCLUDES) \
- $(XCB_DRI3_CFLAGS) \
- $(XVMC_CFLAGS)
-
-noinst_LTLIBRARIES = libxvmctracker.la
-
-libxvmctracker_la_SOURCES = $(C_SOURCES)
-
-## The tests require the XvMC library to be installed and the wrapper to
-## point to the correct library (via /etc/X11/XvMCConfig).
-noinst_PROGRAMS = \
- tests/xvmc_bench \
- tests/test_context \
- tests/test_surface \
- tests/test_subpicture \
- tests/test_blocks \
- tests/test_rendering
-
-noinst_HEADERS = tests/testlib.h
-
-TEST_LIBS = $(XVMC_LIBS) -lXvMCW $(VL_LIBS) $(XCB_DRI3_LIBS)
-tests_test_context_SOURCES = tests/test_context.c tests/testlib.c
-tests_test_context_LDADD = $(TEST_LIBS)
-tests_test_surface_SOURCES = tests/test_surface.c tests/testlib.c
-tests_test_surface_LDADD = $(TEST_LIBS)
-tests_test_subpicture_SOURCES = tests/test_subpicture.c tests/testlib.c
-tests_test_subpicture_LDADD = $(TEST_LIBS)
-tests_test_blocks_SOURCES = tests/test_blocks.c tests/testlib.c
-tests_test_blocks_LDADD = $(TEST_LIBS)
-tests_test_rendering_SOURCES = tests/test_rendering.c tests/testlib.c
-tests_test_rendering_LDADD = $(TEST_LIBS)
-tests_xvmc_bench_SOURCES = tests/xvmc_bench.c tests/testlib.c
-tests_xvmc_bench_LDADD = $(TEST_LIBS)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/targets/d3dadapter9/Makefile.am b/src/gallium/targets/d3dadapter9/Makefile.am
deleted file mode 100644
index 69cebbcd16f..00000000000
--- a/src/gallium/targets/d3dadapter9/Makefile.am
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/include/D3D9 \
- -I$(top_srcdir)/src/loader \
- -I$(top_srcdir)/src/mapi/ \
- -I$(top_srcdir)/src/mesa/ \
- -I$(top_builddir)/src/util \
- -I$(top_srcdir)/src/mesa/drivers/dri/common/ \
- -I$(top_srcdir)/src/gallium/winsys \
- -I$(top_srcdir)/src/gallium/state_trackers/nine \
- $(GALLIUM_TARGET_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-AM_CPPFLAGS = \
- $(DEFINES)
-
-ninedir = $(D3D_DRIVER_INSTALL_DIR)
-nine_LTLIBRARIES = d3dadapter9.la
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = d3d.pc
-
-d3dadapter9_la_SOURCES = \
- description.c \
- getproc.c \
- drm.c
-
-d3dadapter9_la_LDFLAGS = \
- -shared \
- -shrext .so \
- -module \
- -no-undefined \
- -version-number $(NINE_MAJOR):$(NINE_MINOR):$(NINE_PATCH) \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-d3dadapter9_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/d3dadapter9/d3dadapter9.sym
-endif # HAVE_LD_VERSION_SCRIPT
-
-d3dadapter9_la_LIBADD = \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl_stub.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/gallium/state_trackers/nine/libninetracker.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(EXPAT_LIBS) \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-EXTRA_d3dadapter9_la_DEPENDENCIES = d3dadapter9.sym
-EXTRA_DIST = d3dadapter9.sym meson.build
-
-TARGET_DRIVERS =
-TARGET_CPPFLAGS =
-TARGET_LIB_DEPS =
-
-include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/r300/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/radeonsi/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/svga/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/softpipe/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/llvmpipe/Automake.inc
-
-if HAVE_GALLIUM_STATIC_TARGETS
-
-d3dadapter9_la_CPPFLAGS = $(AM_CPPFLAGS) $(TARGET_CPPFLAGS)
-d3dadapter9_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
- $(TARGET_LIB_DEPS) \
- $(TARGET_COMPILER_LIB_DEPS) \
- $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON)
-
-else # HAVE_GALLIUM_STATIC_TARGETS
-
-d3dadapter9_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
-
-endif # HAVE_GALLIUM_STATIC_TARGETS
-
-if HAVE_GALLIUM_LLVM
-nodist_EXTRA_d3dadapter9_la_SOURCES = dummy.cpp
-d3dadapter9_la_LDFLAGS += $(LLVM_LDFLAGS)
-d3dadapter9_la_LIBADD += $(LLVM_LIBS)
-endif
-
-d3dadapterdir = $(includedir)/d3dadapter
-d3dadapter_HEADERS = \
- $(top_srcdir)/include/d3dadapter/d3dadapter9.h \
- $(top_srcdir)/include/d3dadapter/drm.h \
- $(top_srcdir)/include/d3dadapter/present.h
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
deleted file mode 100644
index f53be532bb2..00000000000
--- a/src/gallium/targets/dri/Makefile.am
+++ /dev/null
@@ -1,143 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/mesa/drivers/dri/common \
- -I$(top_srcdir)/src/gallium/state_trackers/dri \
- $(GALLIUM_TARGET_CFLAGS)
-
-AM_CPPFLAGS = \
- $(DEFINES)
-
-dridir = $(DRI_DRIVER_INSTALL_DIR)
-dri_LTLIBRARIES = gallium_dri.la
-
-nodist_EXTRA_gallium_dri_la_SOURCES = dummy.cpp
-gallium_dri_la_SOURCES =
-
-gallium_dri_la_LDFLAGS = \
- -shared \
- -shrext .so \
- -module \
- -no-undefined \
- -avoid-version \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-gallium_dri_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/dri/dri.sym
-endif # HAVE_LD_VERSION_SCRIPT
-
-if HAVE_LD_DYNAMIC_LIST
-gallium_dri_la_LDFLAGS += \
- -Wl,--dynamic-list=$(top_srcdir)/src/gallium/targets/dri-vdpau.dyn
-endif # HAVE_LD_DYNAMIC_LIST
-
-gallium_dri_la_LIBADD = \
- $(top_builddir)/src/mesa/libmesagallium.la \
- $(top_builddir)/src/mesa/drivers/dri/common/libdricommon.la \
- $(top_builddir)/src/mesa/drivers/dri/common/libmegadriver_stub.la \
- $(top_builddir)/src/gallium/state_trackers/dri/libdri.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
- $(LIBDRM_LIBS) \
- $(SELINUX_LIBS) \
- $(EXPAT_LIBS) \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-EXTRA_gallium_dri_la_DEPENDENCIES = \
- dri.sym \
- $(top_srcdir)/src/gallium/targets/dri-vdpau.dyn
-EXTRA_DIST = \
- SConscript \
- meson.build \
- dri.sym \
- $(top_srcdir)/src/gallium/targets/dri-vdpau.dyn
-
-TARGET_DRIVERS =
-TARGET_CPPFLAGS =
-TARGET_LIB_DEPS =
-
-include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/r300/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/radeonsi/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/svga/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/freedreno/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/tegra/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/v3d/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/vc4/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/kmsro/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/virgl/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/etnaviv/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/softpipe/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/llvmpipe/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/swr/Automake.inc
-
-if HAVE_GALLIUM_STATIC_TARGETS
-
-gallium_dri_la_SOURCES += target.c
-gallium_dri_la_CPPFLAGS = $(AM_CPPFLAGS) $(TARGET_CPPFLAGS)
-gallium_dri_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
- $(TARGET_LIB_DEPS) \
- $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON)
-
-else # HAVE_GALLIUM_STATIC_TARGETS
-
-gallium_dri_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
-
-endif # HAVE_GALLIUM_STATIC_TARGETS
-
-if HAVE_GALLIUM_LLVM
-gallium_dri_la_LIBADD += $(LLVM_LIBS)
-gallium_dri_la_LDFLAGS += $(LLVM_LDFLAGS)
-endif
-
-if HAVE_COMPAT_SYMLINKS
-# Add a link to allow setting LIBGL_DRIVERS_PATH to /lib/gallium of the build tree.
-all-local: $(dri_LTLIBRARIES)
- $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \
- $(MKDIR_P) $${link_dir}; \
- for i in $(TARGET_DRIVERS); do \
- ln -f .libs/gallium_dri.so \
- $${link_dir}/$${i}_dri.so; \
- done
-
-clean-local:
- $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \
- $(AM_V_GEN)for i in $(TARGET_DRIVERS); do \
- $(RM) $${link_dir}/$${i}_dri.so; \
- done;
-endif
-
-# hardlink each megadriver instance, but don't actually have
-# gallium_dri.so in the set of final installed files.
-install-data-hook:
- for i in $(TARGET_DRIVERS); do \
- ln -f $(DESTDIR)$(dridir)/gallium_dri.so \
- $(DESTDIR)$(dridir)/$${i}_dri.so; \
- done; \
- $(RM) $(DESTDIR)$(dridir)/gallium_dri.*; \
- $(RM) -d $(DESTDIR)$(dridir) &>/dev/null || true
-
-uninstall-hook:
- for i in $(TARGET_DRIVERS); do \
- $(RM) $(DESTDIR)$(dridir)/$${i}_dri.so; \
- done;
diff --git a/src/gallium/targets/libgl-xlib/Makefile.am b/src/gallium/targets/libgl-xlib/Makefile.am
deleted file mode 100644
index 56d548e7c15..00000000000
--- a/src/gallium/targets/libgl-xlib/Makefile.am
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-if HAVE_SHARED_GLAPI
-SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
-endif
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- -I$(top_srcdir)/src/mesa/main \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/state_trackers/glx/xlib \
- -I$(top_srcdir)/src/gallium/auxiliary \
- -I$(top_srcdir)/src/gallium/winsys \
- -DGALLIUM_SOFTPIPE
-
-AM_CFLAGS = $(X11_INCLUDES)
-
-lib_LTLIBRARIES = lib@[email protected]
-
-nodist_EXTRA_lib@GL_LIB@_la_SOURCES = dummy.cpp
-lib@GL_LIB@_la_SOURCES = xlib.c
-lib@GL_LIB@_la_LDFLAGS = \
- -no-undefined \
- -version-number 1:5:0 \
- $(BSYMBOLIC) \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-lib@GL_LIB@_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/libgl-xlib/libgl-xlib.sym
-endif
-
-lib@GL_LIB@_la_LIBADD = \
- $(top_builddir)/src/gallium/state_trackers/glx/xlib/libxlib.la \
- $(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \
- $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \
- $(top_builddir)/src/mapi/glapi/libglapi.la \
- $(top_builddir)/src/mesa/libmesagallium.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(SHARED_GLAPI_LIB) \
- $(GL_LIB_DEPS) \
- $(CLOCK_LIB) \
- $(LIBUNWIND_LIBS)
-
-if HAVE_GALLIUM_LLVM
-lib@GL_LIB@_la_LIBADD += $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la $(LLVM_LIBS)
-AM_CPPFLAGS += -DGALLIUM_LLVMPIPE
-lib@GL_LIB@_la_LDFLAGS += $(LLVM_LDFLAGS)
-endif
-
-if HAVE_GALLIUM_SWR
-lib@GL_LIB@_la_LIBADD += $(top_builddir)/src/gallium/drivers/swr/libmesaswr.la $(LLVM_LIBS)
-AM_CPPFLAGS += -DGALLIUM_SWR
-endif
-
-EXTRA_lib@GL_LIB@_la_DEPENDENCIES = libgl-xlib.sym
-EXTRA_DIST = SConscript libgl-xlib.sym meson.build
-
-include $(top_srcdir)/install-gallium-links.mk
diff --git a/src/gallium/targets/omx/Makefile.am b/src/gallium/targets/omx/Makefile.am
deleted file mode 100644
index 32d61a189b4..00000000000
--- a/src/gallium/targets/omx/Makefile.am
+++ /dev/null
@@ -1,91 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_TARGET_CFLAGS)
-
-if HAVE_ST_OMX_BELLAGIO
-omxdir = $(OMX_BELLAGIO_LIB_INSTALL_DIR)
-else
-omxdir = $(OMX_TIZONIA_LIB_INSTALL_DIR)
-endif
-
-omx_LTLIBRARIES = libomx_mesa.la
-
-nodist_EXTRA_libomx_mesa_la_SOURCES = dummy.cpp
-libomx_mesa_la_SOURCES =
-
-libomx_mesa_la_LDFLAGS = \
- -shared \
- -module \
- -no-undefined \
- -avoid-version \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-libomx_mesa_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/omx/omx.sym
-endif # HAVE_LD_VERSION_SCRIPT
-
-libomx_mesa_la_LIBADD = \
- $(top_builddir)/src/gallium/state_trackers/omx/libomxtracker_common.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(LIBDRM_LIBS) \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-if HAVE_ST_OMX_BELLAGIO
-libomx_mesa_la_LIBADD += \
- $(top_builddir)/src/gallium/state_trackers/omx/bellagio/libomxtracker.la \
- $(OMX_BELLAGIO_LIBS)
-else
-libomx_mesa_la_LIBADD += \
- $(top_builddir)/src/gallium/state_trackers/omx/tizonia/libomxtiztracker.la \
- $(OMX_TIZONIA_LIBS) \
- $(OMX_TIZILHEADERS_LIBS) \
- $(OMX_TIZPLATFORM_LIBS)
-endif
-
-if HAVE_PLATFORM_X11
-libomx_mesa_la_LIBADD += \
- $(VL_LIBS) \
- $(XCB_DRI3_LIBS)
-endif
-
-EXTRA_libomx_mesa_la_DEPENDENCIES = omx.sym
-EXTRA_DIST = omx.sym meson.build
-
-if HAVE_GALLIUM_STATIC_TARGETS
-
-TARGET_DRIVERS =
-TARGET_CPPFLAGS =
-TARGET_LIB_DEPS =
-
-
-include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/radeonsi/Automake.inc
-
-libomx_mesa_la_SOURCES += target.c
-libomx_mesa_la_CPPFLAGS = $(TARGET_CPPFLAGS)
-libomx_mesa_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
- $(TARGET_LIB_DEPS) \
- $(TARGET_COMPILER_LIB_DEPS) \
- $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON)
-
-else # HAVE_GALLIUM_STATIC_TARGETS
-
-libomx_mesa_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
-
-endif # HAVE_GALLIUM_STATIC_TARGETS
-
-if HAVE_GALLIUM_LLVM
-libomx_mesa_la_LIBADD += $(LLVM_LIBS)
-libomx_mesa_la_LDFLAGS += $(LLVM_LDFLAGS)
-endif
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
deleted file mode 100644
index f0e1de7797c..00000000000
--- a/src/gallium/targets/opencl/Makefile.am
+++ /dev/null
@@ -1,51 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-lib_LTLIBRARIES = lib@[email protected]
-
-lib@OPENCL_LIBNAME@_la_LDFLAGS = \
- $(LLVM_LDFLAGS) \
- -no-undefined \
- -version-number @OPENCL_VERSION@:0 \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-lib@OPENCL_LIBNAME@_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/opencl/opencl.sym
-endif
-
-lib@OPENCL_LIBNAME@_la_LIBADD = \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la \
- $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(EXPAT_LIBS) \
- $(LIBELF_LIBS) \
- $(DLOPEN_LIBS) \
- -lclangCodeGen \
- -lclangFrontend \
- -lclangFrontendTool \
- -lclangDriver \
- -lclangSerialization \
- -lclangParse \
- -lclangSema \
- -lclangAnalysis \
- -lclangAST \
- -lclangEdit \
- -lclangLex \
- -lclangBasic \
- $(LLVM_LIBS) \
- $(PTHREAD_LIBS)
-
-nodist_EXTRA_lib@OPENCL_LIBNAME@_la_SOURCES = dummy.cpp
-lib@OPENCL_LIBNAME@_la_SOURCES =
-
-EXTRA_lib@OPENCL_LIBNAME@_la_DEPENDENCIES = opencl.sym
-EXTRA_DIST = mesa.icd opencl.sym meson.build
-
-if HAVE_CLOVER_ICD
-icddir = $(sysconfdir)/OpenCL/vendors/
-icd_DATA = mesa.icd
-endif
-
-include $(top_srcdir)/install-gallium-links.mk
diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am
deleted file mode 100644
index dc4d49e1072..00000000000
--- a/src/gallium/targets/osmesa/Makefile.am
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- -I$(top_srcdir)/src/gallium/include \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- -I$(top_srcdir)/src/gallium/auxiliary \
- -DGALLIUM_SOFTPIPE
-
-lib_LTLIBRARIES = lib@[email protected]
-
-nodist_EXTRA_lib@OSMESA_LIB@_la_SOURCES = dummy.cpp
-lib@OSMESA_LIB@_la_SOURCES = target.c
-
-lib@OSMESA_LIB@_la_LDFLAGS = \
- -no-undefined \
- -version-number @OSMESA_VERSION@ \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-lib@OSMESA_LIB@_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/osmesa/osmesa.sym
-endif
-
-if HAVE_SHARED_GLAPI
-SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
-endif
-
-lib@OSMESA_LIB@_la_LIBADD = \
- $(top_builddir)/src/mesa/libmesagallium.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
- $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \
- $(top_builddir)/src/gallium/state_trackers/osmesa/libosmesa.la \
- $(top_builddir)/src/mapi/glapi/libglapi.la \
- $(SHARED_GLAPI_LIB) \
- $(OSMESA_LIB_DEPS) \
- $(CLOCK_LIB) \
- $(LIBUNWIND_LIBS)
-
-if HAVE_GALLIUM_LLVM
-AM_CPPFLAGS += -DGALLIUM_LLVMPIPE
-lib@OSMESA_LIB@_la_LDFLAGS += $(LLVM_LDFLAGS)
-lib@OSMESA_LIB@_la_LIBADD += $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la $(LLVM_LIBS)
-endif
-
-if HAVE_GALLIUM_SWR
-AM_CPPFLAGS += -DGALLIUM_SWR
-lib@OSMESA_LIB@_la_LDFLAGS += $(LLVM_LDFLAGS)
-lib@OSMESA_LIB@_la_LIBADD += $(top_builddir)/src/gallium/drivers/swr/libmesaswr.la $(LLVM_LIBS)
-endif
-
-EXTRA_lib@OSMESA_LIB@_la_DEPENDENCIES = osmesa.sym
-EXTRA_DIST = \
- osmesa.sym \
- osmesa.def \
- osmesa.mingw.def \
- SConscript \
- meson.build
-
-include $(top_srcdir)/install-gallium-links.mk
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = osmesa.pc
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
deleted file mode 100644
index 864ee8d50d3..00000000000
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ /dev/null
@@ -1,212 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CPPFLAGS = \
- $(GALLIUM_CFLAGS) \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- -I$(top_builddir)/src/util \
- $(GALLIUM_PIPE_LOADER_DEFINES) \
- $(LIBDRM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-
-pipedir = $(libdir)/gallium-pipe
-pipe_LTLIBRARIES =
-
-PIPE_LIBS =
-
-if NEED_GALLIUM_VL
-PIPE_LIBS += \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la
-else
-PIPE_LIBS += \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl_stub.la
-endif
-
-if NEED_GALLIUM_VL_WINSYS
-PIPE_LIBS+= \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la
-endif
-
-PIPE_LIBS += \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/compiler/nir/libnir.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-AM_LDFLAGS = \
- -module \
- -no-undefined \
- -avoid-version \
- $(GC_SECTIONS)
-
-if HAVE_LD_VERSION_SCRIPT
-AM_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.sym
-endif
-
-if HAVE_GALLIUM_LLVM
-PIPE_LIBS += $(LLVM_LIBS)
-AM_LDFLAGS += $(LLVM_LDFLAGS)
-endif
-
-if HAVE_GALLIUM_I915
-pipe_LTLIBRARIES += pipe_i915.la
-
-pipe_i915_la_SOURCES = pipe_i915.c
-nodist_EXTRA_pipe_i915_la_SOURCES = dummy.cpp
-pipe_i915_la_LIBADD = \
- $(PIPE_LIBS) \
- $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \
- $(top_builddir)/src/gallium/drivers/i915/libi915.la \
- $(LIBDRM_LIBS) \
- $(I915_LIBS)
-
-endif
-
-if HAVE_GALLIUM_NOUVEAU
-pipe_LTLIBRARIES += pipe_nouveau.la
-
-pipe_nouveau_la_SOURCES = pipe_nouveau.c
-nodist_EXTRA_pipe_nouveau_la_SOURCES = dummy.cpp
-pipe_nouveau_la_LIBADD = \
- $(PIPE_LIBS) \
- $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \
- $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \
- $(LIBDRM_LIBS) \
- $(NOUVEAU_LIBS)
-
-endif
-
-if HAVE_GALLIUM_R300
-pipe_LTLIBRARIES += pipe_r300.la
-
-pipe_r300_la_SOURCES = pipe_r300.c
-nodist_EXTRA_pipe_r300_la_SOURCES = dummy.cpp
-pipe_r300_la_LIBADD = \
- $(PIPE_LIBS) \
- $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
- $(top_builddir)/src/gallium/drivers/r300/libr300.la \
- $(LIBDRM_LIBS) \
- $(RADEON_LIBS)
-
-endif
-
-if HAVE_GALLIUM_R600
-pipe_LTLIBRARIES += pipe_r600.la
-
-pipe_r600_la_SOURCES = pipe_r600.c
-nodist_EXTRA_pipe_r600_la_SOURCES = dummy.cpp
-pipe_r600_la_LIBADD = \
- $(PIPE_LIBS) \
- $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
- $(top_builddir)/src/gallium/drivers/r600/libr600.la \
- $(LIBDRM_LIBS) \
- $(RADEON_LIBS) \
- $(LIBELF_LIBS)
-endif
-
-if HAVE_GALLIUM_RADEONSI
-pipe_LTLIBRARIES += pipe_radeonsi.la
-
-pipe_radeonsi_la_SOURCES = pipe_radeonsi.c
-nodist_EXTRA_pipe_radeonsi_la_SOURCES = dummy.cpp
-pipe_radeonsi_la_LIBADD = \
- $(PIPE_LIBS) \
- $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
- $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la \
- $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \
- $(top_builddir)/src/amd/common/libamd_common.la \
- $(top_builddir)/src/util/libxmlconfig.la \
- $(LIBDRM_LIBS) \
- $(RADEON_LIBS) \
- $(AMDGPU_LIBS)
-
-endif
-
-if HAVE_GALLIUM_FREEDRENO
-pipe_LTLIBRARIES += pipe_msm.la
-
-pipe_msm_la_SOURCES = pipe_msm.c
-nodist_EXTRA_pipe_msm_la_SOURCES = dummy.cpp
-pipe_msm_la_LIBADD = \
- $(PIPE_LIBS) \
- $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \
- $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \
- $(top_builddir)/src/freedreno/libfreedreno_drm.la \
- $(top_builddir)/src/freedreno/libfreedreno_ir3.la \
- $(LIBDRM_LIBS) \
- $(FREEDRENO_LIBS)
-
-endif
-
-if HAVE_GALLIUM_SVGA
-pipe_LTLIBRARIES += pipe_vmwgfx.la
-
-pipe_vmwgfx_la_SOURCES = pipe_vmwgfx.c
-nodist_EXTRA_pipe_vmwgfx_la_SOURCES = dummy.cpp
-
-pipe_vmwgfx_la_LIBADD = \
- $(PIPE_LIBS) \
- $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \
- $(top_builddir)/src/gallium/drivers/svga/libsvga.la \
- $(LIBDRM_LIBS)
-
-endif
-
-if HAVE_GALLIUM_SWRAST
-pipe_LTLIBRARIES += pipe_swrast.la
-pipe_swrast_la_SOURCES = pipe_swrast.c
-nodist_EXTRA_pipe_swrast_la_SOURCES = dummy.cpp
-pipe_swrast_la_LIBADD = $(PIPE_LIBS)
-
-if HAVE_GALLIUM_SOFTPIPE
-AM_CPPFLAGS += -DGALLIUM_SOFTPIPE
-
-pipe_swrast_la_LIBADD += \
- $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
-endif
-
-if HAVE_GALLIUM_LLVMPIPE
-AM_CPPFLAGS += -DGALLIUM_LLVMPIPE
-
-pipe_swrast_la_LIBADD += \
- $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la
-endif
-
-if HAVE_GALLIUM_SWR
-AM_CPPFLAGS += -DGALLIUM_SWR
-
-pipe_swrast_la_LIBADD += \
- $(top_builddir)/src/gallium/drivers/swr/libmesaswr.la
-endif
-
-pipe_swrast_la_LIBADD += \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS)
-
-endif
-
-EXTRA_DIST = pipe.sym meson.build
diff --git a/src/gallium/targets/va/Makefile.am b/src/gallium/targets/va/Makefile.am
deleted file mode 100644
index 0f2fe14594b..00000000000
--- a/src/gallium/targets/va/Makefile.am
+++ /dev/null
@@ -1,88 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_TARGET_CFLAGS)
-
-vadir = $(VA_LIB_INSTALL_DIR)
-va_LTLIBRARIES = gallium_drv_video.la
-
-nodist_EXTRA_gallium_drv_video_la_SOURCES = dummy.cpp
-gallium_drv_video_la_SOURCES =
-
-gallium_drv_video_la_LDFLAGS = \
- -shared \
- -module \
- -no-undefined \
- -avoid-version \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-gallium_drv_video_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/va/va.sym
-endif # HAVE_LD_VERSION_SCRIPT
-
-# NOTE: gallium_drv_video does not use(link against) libva
-gallium_drv_video_la_LIBADD = \
- $(top_builddir)/src/gallium/state_trackers/va/libvatracker.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(LIBDRM_LIBS) \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-if HAVE_PLATFORM_X11
-gallium_drv_video_la_LIBADD += \
- $(VL_LIBS) \
- $(XCB_DRI3_LIBS)
-endif
-
-EXTRA_gallium_drv_video_la_DEPENDENCIES = va.sym
-EXTRA_DIST = va.sym meson.build
-
-if HAVE_GALLIUM_STATIC_TARGETS
-
-TARGET_DRIVERS =
-TARGET_CPPFLAGS =
-TARGET_LIB_DEPS =
-
-include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/radeonsi/Automake.inc
-
-gallium_drv_video_la_SOURCES += target.c
-gallium_drv_video_la_CPPFLAGS = $(TARGET_CPPFLAGS)
-gallium_drv_video_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
- $(TARGET_LIB_DEPS) \
- $(TARGET_COMPILER_LIB_DEPS) \
- $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON)
-
-else # HAVE_GALLIUM_STATIC_TARGETS
-
-gallium_drv_video_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
-
-endif # HAVE_GALLIUM_STATIC_TARGETS
-
-if HAVE_GALLIUM_LLVM
-gallium_drv_video_la_LIBADD += $(LLVM_LIBS)
-gallium_drv_video_la_LDFLAGS += $(LLVM_LDFLAGS)
-endif
-
-# hardlink each megadriver instance, but don't actually have
-# gallium_drv_video.so in the set of final installed files.
-install-data-hook:
- for i in $(TARGET_DRIVERS); do \
- ln -f $(DESTDIR)$(vadir)/gallium_drv_video.so \
- $(DESTDIR)$(vadir)/$${i}_drv_video.so; \
- done; \
- $(RM) $(DESTDIR)$(vadir)/gallium_drv_video.*
-
-uninstall-hook:
- for i in $(TARGET_DRIVERS); do \
- $(RM) $(DESTDIR)$(vadir)/$${i}_drv_video.so; \
- done;
diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am
deleted file mode 100644
index 2742c7acd44..00000000000
--- a/src/gallium/targets/vdpau/Makefile.am
+++ /dev/null
@@ -1,132 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_TARGET_CFLAGS)
-
-vdpaudir = $(VDPAU_LIB_INSTALL_DIR)
-vdpau_LTLIBRARIES = libvdpau_gallium.la
-
-nodist_EXTRA_libvdpau_gallium_la_SOURCES = dummy.cpp
-libvdpau_gallium_la_SOURCES =
-
-libvdpau_gallium_la_LDFLAGS = \
- -shared \
- -module \
- -no-undefined \
- -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-libvdpau_gallium_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/vdpau/vdpau.sym
-endif # HAVE_LD_VERSION_SCRIPT
-
-if HAVE_LD_DYNAMIC_LIST
-libvdpau_gallium_la_LDFLAGS += \
- -Wl,--dynamic-list=$(top_srcdir)/src/gallium/targets/dri-vdpau.dyn
-endif # HAVE_LD_DYNAMIC_LIST
-
-# NOTE: libvdpau_gallium does not use(link against) libvdpau
-libvdpau_gallium_la_LIBADD = \
- $(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(VL_LIBS) \
- $(XCB_DRI3_LIBS) \
- $(LIBDRM_LIBS) \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-EXTRA_libvdpau_gallium_la_DEPENDENCIES = \
- vdpau.sym \
- $(top_srcdir)/src/gallium/targets/dri-vdpau.dyn
-EXTRA_DIST = \
- vdpau.sym \
- $(top_srcdir)/src/gallium/targets/dri-vdpau.dyn \
- meson.build
-
-TARGET_DRIVERS =
-TARGET_CPPFLAGS =
-TARGET_LIB_DEPS =
-
-include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/r300/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/radeonsi/Automake.inc
-
-if HAVE_GALLIUM_STATIC_TARGETS
-
-libvdpau_gallium_la_SOURCES += target.c
-libvdpau_gallium_la_CPPFLAGS = $(TARGET_CPPFLAGS)
-libvdpau_gallium_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
- $(TARGET_LIB_DEPS) \
- $(TARGET_COMPILER_LIB_DEPS) \
- $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON)
-
-else # HAVE_GALLIUM_STATIC_TARGETS
-
-libvdpau_gallium_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
-
-endif # HAVE_GALLIUM_STATIC_TARGETS
-
-if HAVE_GALLIUM_LLVM
-libvdpau_gallium_la_LIBADD += $(LLVM_LIBS)
-libvdpau_gallium_la_LDFLAGS += $(LLVM_LDFLAGS)
-endif
-
-if HAVE_COMPAT_SYMLINKS
-# Add a link to allow setting VDPAU_DRIVER_PATH to /lib/gallium of the build tree.
-all-local: $(vdpau_LTLIBRARIES)
- $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \
- $(MKDIR_P) $${link_dir}; \
- for i in $(TARGET_DRIVERS); do \
- j=libvdpau_gallium.$(LIB_EXT); \
- k=libvdpau_$${i}.$(LIB_EXT); \
- l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0; \
- ln -f .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
- $${link_dir}/$${l}; \
- ln -sf $${l} \
- $${link_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
- ln -sf $${l} \
- $${link_dir}/$${k}.$(VDPAU_MAJOR); \
- ln -sf $${l} \
- $${link_dir}/$${k}; \
- done
-
-clean-local:
- $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \
- $(AM_V_GEN)for i in $(TARGET_DRIVERS); do \
- $(RM) $${link_dir}/libvdpau_$${i}.so{,.$(VDPAU_MAJOR){,.$(VDPAU_MINOR){,.0}}}; \
- done;
-endif
-
-# hardlink each megadriver instance, but don't actually have
-# libvdpau_gallium.so in the set of final installed files.
-install-data-hook:
- $(AM_V_GEN)dest_dir=$(DESTDIR)/$(vdpaudir); \
- for i in $(TARGET_DRIVERS); do \
- j=libvdpau_gallium.$(LIB_EXT); \
- k=libvdpau_$${i}.$(LIB_EXT); \
- l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0; \
- ln -f $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
- $${dest_dir}/$${l}; \
- ln -sf $${l} \
- $${dest_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
- ln -sf $${l} \
- $${dest_dir}/$${k}.$(VDPAU_MAJOR); \
- ln -sf $${l} \
- $${dest_dir}/$${k}; \
- done; \
- $(RM) $${dest_dir}/libvdpau_gallium.*; \
- $(RM) -d $${dest_dir} &>/dev/null || true
-
-uninstall-hook:
- for i in $(TARGET_DRIVERS); do \
- $(RM) $(DESTDIR)$(vdpaudir)/libvdpau_$${i}.so{,.$(VDPAU_MAJOR){,.$(VDPAU_MINOR){,.0}}}; \
- done;
diff --git a/src/gallium/targets/xa/Makefile.am b/src/gallium/targets/xa/Makefile.am
deleted file mode 100644
index 2238a7ea81f..00000000000
--- a/src/gallium/targets/xa/Makefile.am
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_TARGET_CFLAGS)
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = xatracker.pc
-
-lib_LTLIBRARIES = libxatracker.la
-
-nodist_EXTRA_libxatracker_la_SOURCES = dummy.cpp
-libxatracker_la_SOURCES =
-
-libxatracker_la_LIBADD = \
- $(top_builddir)/src/gallium/state_trackers/xa/libxatracker.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl_stub.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/compiler/glsl/libglsl.la \
- $(LIBDRM_LIBS) \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-libxatracker_la_LDFLAGS = \
- -no-undefined \
- -version-number $(XA_MAJOR):$(XA_MINOR):$(XA_PATCH) \
- $(GC_SECTIONS)
-
-if HAVE_LD_VERSION_SCRIPT
-libxatracker_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/xa/xa.sym
-endif
-
-EXTRA_libxatracker_la_DEPENDENCIES = xa.sym
-EXTRA_DIST = xa.sym meson.build
-
-if HAVE_GALLIUM_STATIC_TARGETS
-
-TARGET_DRIVERS =
-TARGET_CPPFLAGS =
-TARGET_LIB_DEPS =
-
-include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/svga/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/freedreno/Automake.inc
-
-libxatracker_la_SOURCES += target.c
-libxatracker_la_CPPFLAGS = $(TARGET_CPPFLAGS)
-libxatracker_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
- $(TARGET_LIB_DEPS)
-
-else # HAVE_GALLIUM_STATIC_TARGETS
-
-libxatracker_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
-
-endif # HAVE_GALLIUM_STATIC_TARGETS
-
-if HAVE_GALLIUM_LLVM
-libxatracker_la_LIBADD += $(LLVM_LIBS)
-libxatracker_la_LDFLAGS += $(LLVM_LDFLAGS)
-endif
-
-include $(top_srcdir)/install-lib-links.mk
diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am
deleted file mode 100644
index 45b1d860692..00000000000
--- a/src/gallium/targets/xvmc/Makefile.am
+++ /dev/null
@@ -1,93 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_TARGET_CFLAGS)
-
-xvmcdir = $(XVMC_LIB_INSTALL_DIR)
-xvmc_LTLIBRARIES = libXvMCgallium.la
-
-nodist_EXTRA_libXvMCgallium_la_SOURCES = dummy.cpp
-libXvMCgallium_la_SOURCES =
-
-libXvMCgallium_la_LDFLAGS = \
- -shared \
- -module \
- -no-undefined \
- -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-if HAVE_LD_VERSION_SCRIPT
-libXvMCgallium_la_LDFLAGS += \
- -Wl,--version-script=$(top_srcdir)/src/gallium/targets/xvmc/xvmc.sym
-endif # HAVE_LD_VERSION_SCRIPT
-
-libXvMCgallium_la_LIBADD = \
- $(top_builddir)/src/gallium/state_trackers/xvmc/libxvmctracker.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la \
- $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(XVMC_LIBS) \
- $(VL_LIBS) \
- $(XCB_DRI3_LIBS) \
- $(LIBDRM_LIBS) \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-EXTRA_libXvMCgallium_la_DEPENDENCIES = xvmc.sym
-EXTRA_DIST = xvmc.sym meson.build
-
-TARGET_DRIVERS =
-TARGET_CPPFLAGS =
-TARGET_LIB_DEPS =
-
-include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
-
-include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc
-
-if HAVE_GALLIUM_STATIC_TARGETS
-
-libXvMCgallium_la_SOURCES += target.c
-libXvMCgallium_la_CPPFLAGS = $(TARGET_CPPFLAGS)
-libXvMCgallium_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
- $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
- $(TARGET_LIB_DEPS) \
- $(TARGET_COMPILER_LIB_DEPS) \
- $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON)
-
-else # HAVE_GALLIUM_STATIC_TARGETS
-libXvMCgallium_la_LIBADD += \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
-
-endif # HAVE_GALLIUM_STATIC_TARGETS
-
-if HAVE_GALLIUM_LLVM
-libXvMCgallium_la_LIBADD += $(LLVM_LIBS)
-libXvMCgallium_la_LDFLAGS += $(LLVM_LDFLAGS)
-endif
-
-# hardlink each megadriver instance, but don't actually have
-# libXvMCgallium.so in the set of final installed files.
-install-data-hook:
- $(AM_V_GEN)dest_dir=$(DESTDIR)/$(xvmcdir); \
- for i in $(TARGET_DRIVERS); do \
- j=libXvMCgallium.$(LIB_EXT); \
- k=libXvMC$${i}.$(LIB_EXT); \
- l=$${k}.$(XVMC_MAJOR).$(XVMC_MINOR).0; \
- ln -f $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0 \
- $${dest_dir}/$${l}; \
- ln -sf $${l} \
- $${dest_dir}/$${k}.$(XVMC_MAJOR).$(XVMC_MINOR); \
- ln -sf $${l} \
- $${dest_dir}/$${k}.$(XVMC_MAJOR); \
- ln -sf $${l} \
- $${dest_dir}/$${k}; \
- done; \
- $(RM) $${dest_dir}/libXvMCgallium.*; \
- $(RM) -d $${dest_dir} &>/dev/null || true
-
-uninstall-hook:
- for i in $(TARGET_DRIVERS); do \
- $(RM) $(DESTDIR)$(xvmcdir)/libXvMC$${i}.so{,.$(XVMC_MAJOR){,.$(XVMC_MINOR){,.0}}}; \
- done;
diff --git a/src/gallium/tests/trivial/Makefile.am b/src/gallium/tests/trivial/Makefile.am
deleted file mode 100644
index db9a54ff0ad..00000000000
--- a/src/gallium/tests/trivial/Makefile.am
+++ /dev/null
@@ -1,25 +0,0 @@
-include $(top_srcdir)/src/gallium/Automake.inc
-
-PIPE_SRC_DIR = $(top_builddir)/src/gallium/targets/pipe-loader
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-noinst_PROGRAMS = compute tri quad-tex
-
-compute_SOURCES = compute.c
-
-tri_SOURCES = tri.c
-
-quad_tex_SOURCES = quad-tex.c
-
-EXTRA_DIST = meson.build
-
-clean-local:
- -rm -f result.bmp
diff --git a/src/gallium/tests/unit/Makefile.am b/src/gallium/tests/unit/Makefile.am
deleted file mode 100644
index 74d125fe449..00000000000
--- a/src/gallium/tests/unit/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-# TODO: wire up some useful tests to make check
-
-include $(top_srcdir)/src/gallium/Automake.inc
-
-EXTRA_DIST = SConscript meson.build
-
-AM_CFLAGS = \
- $(GALLIUM_CFLAGS)
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys
-
-LDADD = \
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
- $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \
- $(GALLIUM_COMMON_LIB_DEPS)
-
-noinst_PROGRAMS = pipe_barrier_test u_cache_test u_half_test \
- u_format_test u_format_compatible_test translate_test
-
-pipe_barrier_test_SOURCES = pipe_barrier_test.c
-
-u_cache_test_SOURCES = u_cache_test.c
-
-u_half_test_SOURCES = u_half_test.c
-
-u_format_test_SOURCES = u_format_test.c
-
-u_format_compatible_test_SOURCES = u_format_compatible_test.c
-
-translate_test_SOURCES = translate_test.c
diff --git a/src/gallium/winsys/amdgpu/drm/Makefile.am b/src/gallium/winsys/amdgpu/drm/Makefile.am
deleted file mode 100644
index 1c2ec010fc6..00000000000
--- a/src/gallium/winsys/amdgpu/drm/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(AMDGPU_CFLAGS) \
- $(LLVM_CFLAGS) \
- -I$(top_srcdir)/src/amd/
-
-AM_CXXFLAGS = $(AM_CFLAGS)
-
-noinst_LTLIBRARIES = libamdgpuwinsys.la
-
-libamdgpuwinsys_la_LIBADD = \
- $(top_builddir)/src/amd/addrlib/libamdgpu_addrlib.la
-
-libamdgpuwinsys_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/etnaviv/drm/Makefile.am b/src/gallium/winsys/etnaviv/drm/Makefile.am
deleted file mode 100644
index 3cc54c8ad13..00000000000
--- a/src/gallium/winsys/etnaviv/drm/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_CFLAGS) \
- $(ETNAVIV_CFLAGS)
-
-noinst_LTLIBRARIES = libetnavivdrm.la
-
-libetnavivdrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/freedreno/drm/Makefile.am b/src/gallium/winsys/freedreno/drm/Makefile.am
deleted file mode 100644
index 16184dfd935..00000000000
--- a/src/gallium/winsys/freedreno/drm/Makefile.am
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/freedreno \
- -I$(top_srcdir)/src/freedreno/registers \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(FREEDRENO_CFLAGS)
-
-noinst_LTLIBRARIES = libfreedrenodrm.la
-
-libfreedrenodrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/i915/drm/Makefile.am b/src/gallium/winsys/i915/drm/Makefile.am
deleted file mode 100644
index 0b06f9df876..00000000000
--- a/src/gallium/winsys/i915/drm/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(I915_CFLAGS)
-
-noinst_LTLIBRARIES = libi915drm.la
-
-libi915drm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/kmsro/drm/Makefile.am b/src/gallium/winsys/kmsro/drm/Makefile.am
deleted file mode 100644
index 8c51839b064..00000000000
--- a/src/gallium/winsys/kmsro/drm/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(LIBDRM_CFLAGS)
-
-if HAVE_GALLIUM_ETNAVIV
-AM_CFLAGS += -DGALLIUM_ETNAVIV
-endif
-
-if HAVE_GALLIUM_VC4
-AM_CFLAGS += -DGALLIUM_VC4
-endif
-
-if HAVE_GALLIUM_FREEDRENO
-AM_CFLAGS += -DGALLIUM_FREEDRENO
-endif
-
-noinst_LTLIBRARIES = libkmsrodrm.la
-
-libkmsrodrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/nouveau/drm/Makefile.am b/src/gallium/winsys/nouveau/drm/Makefile.am
deleted file mode 100644
index 992fa25cc11..00000000000
--- a/src/gallium/winsys/nouveau/drm/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(NOUVEAU_CFLAGS)
-
-noinst_LTLIBRARIES = libnouveaudrm.la
-
-libnouveaudrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/panfrost/drm/Makefile.am b/src/gallium/winsys/panfrost/drm/Makefile.am
deleted file mode 100644
index 7a836288b02..00000000000
--- a/src/gallium/winsys/panfrost/drm/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright © 2014 Broadco
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libpanfrostdrm.la
-
-libpanfrostdrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/radeon/drm/Makefile.am b/src/gallium/winsys/radeon/drm/Makefile.am
deleted file mode 100644
index c94c9b3a9c4..00000000000
--- a/src/gallium/winsys/radeon/drm/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(RADEON_CFLAGS)
-
-noinst_LTLIBRARIES = libradeonwinsys.la
-
-libradeonwinsys_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/svga/drm/Makefile.am b/src/gallium/winsys/svga/drm/Makefile.am
deleted file mode 100644
index 46bf5d85f9d..00000000000
--- a/src/gallium/winsys/svga/drm/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers/svga \
- -I$(top_srcdir)/src/gallium/drivers/svga/include \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(LIBDRM_CFLAGS)
-
-noinst_LTLIBRARIES = libsvgadrm.la
-
-libsvgadrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/winsys/sw/dri/Makefile.am b/src/gallium/winsys/sw/dri/Makefile.am
deleted file mode 100644
index ecf63d17da9..00000000000
--- a/src/gallium/winsys/sw/dri/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libswdri.la
-
-libswdri_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/winsys/sw/kms-dri/Makefile.am b/src/gallium/winsys/sw/kms-dri/Makefile.am
deleted file mode 100644
index 022f3c508da..00000000000
--- a/src/gallium/winsys/sw/kms-dri/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright © 2012 Intel Corporation
-# 2013 Red Hat, Inc.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(LIBDRM_CFLAGS)
-
-noinst_LTLIBRARIES = libswkmsdri.la
-
-libswkmsdri_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/sw/null/Makefile.am b/src/gallium/winsys/sw/null/Makefile.am
deleted file mode 100644
index c2051891931..00000000000
--- a/src/gallium/winsys/sw/null/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libws_null.la
-
-libws_null_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/winsys/sw/wrapper/Makefile.am b/src/gallium/winsys/sw/wrapper/Makefile.am
deleted file mode 100644
index 7cd03a4c2b9..00000000000
--- a/src/gallium/winsys/sw/wrapper/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libwsw.la
-
-libwsw_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/winsys/sw/xlib/Makefile.am b/src/gallium/winsys/sw/xlib/Makefile.am
deleted file mode 100644
index e518dda82f4..00000000000
--- a/src/gallium/winsys/sw/xlib/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright © 2012 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(X11_INCLUDES)
-
-noinst_LTLIBRARIES = libws_xlib.la
-
-libws_xlib_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = SConscript meson.build
diff --git a/src/gallium/winsys/tegra/drm/Makefile.am b/src/gallium/winsys/tegra/drm/Makefile.am
deleted file mode 100644
index 9a8169889cf..00000000000
--- a/src/gallium/winsys/tegra/drm/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libtegradrm.la
-
-libtegradrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = \
- meson.build
diff --git a/src/gallium/winsys/v3d/drm/Makefile.am b/src/gallium/winsys/v3d/drm/Makefile.am
deleted file mode 100644
index ac2ef23bb64..00000000000
--- a/src/gallium/winsys/v3d/drm/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright © 2014 Broadcom
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libv3ddrm.la
-
-libv3ddrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/vc4/drm/Makefile.am b/src/gallium/winsys/vc4/drm/Makefile.am
deleted file mode 100644
index a32709bffaf..00000000000
--- a/src/gallium/winsys/vc4/drm/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright © 2014 Broadcom
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libvc4drm.la
-
-libvc4drm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/virgl/drm/Makefile.am b/src/gallium/winsys/virgl/drm/Makefile.am
deleted file mode 100644
index e543227e39e..00000000000
--- a/src/gallium/winsys/virgl/drm/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright © 2015 Red Hat Inc.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS) \
- $(LIBDRM_CFLAGS)
-
-noinst_LTLIBRARIES = libvirgldrm.la
-
-libvirgldrm_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/virgl/vtest/Makefile.am b/src/gallium/winsys/virgl/vtest/Makefile.am
deleted file mode 100644
index 0a31477a1f2..00000000000
--- a/src/gallium/winsys/virgl/vtest/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright © 2015 Red Hat
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-
-include Makefile.sources
-include $(top_srcdir)/src/gallium/Automake.inc
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_WINSYS_CFLAGS)
-
-noinst_LTLIBRARIES = libvirglvtest.la
-
-libvirglvtest_la_SOURCES = $(C_SOURCES)
-
-EXTRA_DIST = meson.build