summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets')
-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
11 files changed, 0 insertions, 1197 deletions
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;