summaryrefslogtreecommitdiffstats
path: root/src/glx
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/glx
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/glx')
-rw-r--r--src/glx/Makefile.am195
-rw-r--r--src/glx/apple/Makefile.am46
-rw-r--r--src/glx/tests/Makefile.am40
-rw-r--r--src/glx/windows/Makefile.am36
4 files changed, 0 insertions, 317 deletions
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
deleted file mode 100644
index a66957d609b..00000000000
--- a/src/glx/Makefile.am
+++ /dev/null
@@ -1,195 +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.
-
-
-SUBDIRS =
-
-EXTRA_DIST = SConscript meson.build
-
-AM_CFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/include/GL/internal \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/loader \
- -I$(top_builddir)/src/mapi \
- -I$(top_srcdir)/src/mapi \
- -I$(top_builddir)/src/mapi/glapi \
- -I$(top_srcdir)/src/mapi/glapi \
- $(VISIBILITY_CFLAGS) \
- -D_REENTRANT \
- $(DEFINES) \
- $(LIBDRM_CFLAGS) \
- $(DRI2PROTO_CFLAGS) \
- $(GLPROTO_CFLAGS) \
- $(X11_INCLUDES)
-
-lib_LTLIBRARIES = lib@[email protected]
-
-noinst_LTLIBRARIES = libglx.la
-
-libglx_la_SOURCES = \
- clientattrib.c \
- clientinfo.c \
- compsize.c \
- create_context.c \
- eval.c \
- glxclient.h \
- glxcmds.c \
- glxconfig.c \
- glxconfig.h \
- glxcurrent.c \
- glx_error.c \
- glx_error.h \
- glxext.c \
- glxextensions.c \
- glxextensions.h \
- glxhash.c \
- glxhash.h \
- glx_pbuffer.c \
- glx_query.c \
- indirect.c \
- indirect_glx.c \
- indirect_init.c \
- indirect_init.h \
- indirect_size.c \
- indirect_texture_compression.c \
- indirect_transpose_matrix.c \
- indirect_vertex_array.c \
- indirect_vertex_array.h \
- indirect_vertex_array_priv.h \
- indirect_vertex_program.c \
- indirect_window_pos.c \
- packrender.h \
- packsingle.h \
- pixel.c \
- pixelstore.c \
- query_renderer.c \
- render2.c \
- renderpix.c \
- single2.c \
- singlepix.c \
- vertarr.c
-
-libglx_la_LIBADD = \
- $(top_builddir)/src/loader/libloader.la \
- $(top_builddir)/src/util/libmesautil.la \
- $(top_builddir)/src/util/libxmlconfig.la
-
-if HAVE_DRISW
-libglx_la_SOURCES += \
- drisw_glx.c \
- drisw_priv.h
-endif
-
-if HAVE_DRICOMMON
-libglx_la_SOURCES += \
- dri_common.c \
- dri_common.h \
- dri_common_query_renderer.c \
- dri_common_interop.c \
- xfont.c
-endif
-
-if HAVE_DRI2
-libglx_la_SOURCES += \
- dri2.c \
- dri2_glx.c \
- dri2.h \
- dri2_priv.h \
- dri_glx.c \
- dri_sarea.h \
- XF86dri.c \
- xf86dri.h \
- xf86dristr.h
-endif
-
-if HAVE_DRI3
-libglx_la_SOURCES += \
- dri3_glx.c \
- dri3_priv.h
-
-libglx_la_LIBADD += $(top_builddir)/src/loader/libloader_dri3_helper.la
-endif
-
-if HAVE_APPLEDRI
-libglx_la_SOURCES += \
- applegl_glx.c
-
-SUBDIRS += apple
-libglx_la_LIBADD += $(builddir)/apple/libappleglx.la
-endif
-
-if HAVE_WINDOWSDRI
-libglx_la_SOURCES += \
- driwindows_glx.c
-
-SUBDIRS += windows
-libglx_la_LIBADD += \
- $(builddir)/windows/libwindowsdri.la \
- $(builddir)/windows/libwindowsglx.la
-endif
-
-if USE_LIBGLVND
-AM_CFLAGS += \
- -DGL_LIB_NAME=\"lib@[email protected]\" \
- $(GLVND_CFLAGS)
-
-libglx_la_SOURCES += \
- g_glxglvnddispatchfuncs.c \
- g_glxglvnddispatchindices.h \
- glxglvnd.c \
- glxglvnd.h \
- glxglvnddispatchfuncs.h
-
-GL_LIB_VERSION=0
-else
-AM_CFLAGS += \
- -DGL_LIB_NAME=\"lib@[email protected]\"
-GL_LIB_VERSION=1:2
-endif
-
-# Push the libdrm furhter up, as due to libtool bug we might end up relinking
-# against the system one.
-GL_LIBS = \
- $(LIBDRM_LIBS) \
- libglx.la \
- $(top_builddir)/src/mapi/glapi/libglapi.la \
- $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
- $(GL_LIB_DEPS)
-
-GL_LDFLAGS = \
- -no-undefined \
- -version-number $(GL_LIB_VERSION) \
- $(BSYMBOLIC) \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-lib@GL_LIB@_la_SOURCES =
-lib@GL_LIB@_la_LIBADD = $(GL_LIBS)
-lib@GL_LIB@_la_LDFLAGS = $(GL_LDFLAGS)
-
-if HAVE_WINDOWSDRI
-lib@GL_LIB@_la_LDFLAGS += -lgdi32 -lopengl32 -Wl,--disable-stdcall-fixup
-endif
-
-SUBDIRS += . tests
-
-include $(top_srcdir)/install-lib-links.mk
diff --git a/src/glx/apple/Makefile.am b/src/glx/apple/Makefile.am
deleted file mode 100644
index 8f932686359..00000000000
--- a/src/glx/apple/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-EXTRA_DIST = \
- RELEASE_NOTES \
- meson.build
-
-noinst_LTLIBRARIES = libappleglx.la
-
-AM_CFLAGS = \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/glx \
- -I$(top_builddir)/src/mesa \
- -I$(top_srcdir)/src/mesa \
- -I$(top_srcdir)/src/mapi \
- -I$(top_builddir)/src/mapi/glapi \
- -I$(top_srcdir)/src/mapi/glapi \
- $(VISIBILITY_CFLAGS) \
- $(DEFINES) \
- $(X11_INCLUDES)
-
-libappleglx_la_SOURCES = \
- apple_cgl.c \
- apple_cgl.h \
- appledri.c \
- appledri.h \
- appledristr.h \
- apple_glapi.c \
- apple_glx.c \
- apple_glx_context.c \
- apple_glx_context.h \
- apple_glx_drawable.c \
- apple_glx_drawable.h \
- apple_glx.h \
- apple_glx_log.c \
- apple_glx_log.h \
- apple_glx_pbuffer.c \
- apple_glx_pixmap.c \
- apple_glx_surface.c \
- apple_visual.c \
- apple_visual.h \
- apple_xgl_api.h \
- apple_xgl_api_read.c \
- apple_xgl_api_stereo.c \
- apple_xgl_api_viewport.c \
- glx_empty.c
-
-libappleglx_la_LDFLAGS = -lXplugin -framework ApplicationServices -framework CoreFoundation
diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am
deleted file mode 100644
index 07173164f23..00000000000
--- a/src/glx/tests/Makefile.am
+++ /dev/null
@@ -1,40 +0,0 @@
-if HAVE_SHARED_GLAPI
-AM_CFLAGS = $(PTHREAD_CFLAGS)
-AM_CPPFLAGS = \
- -I$(top_srcdir)/src/gtest/include \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/mapi \
- -I$(top_srcdir)/src/mesa \
- -I$(top_builddir)/src/glx \
- -I$(top_srcdir)/src/glx \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/include/GL/internal \
- $(DEFINES) \
- $(LIBDRM_CFLAGS) \
- $(X11_INCLUDES)
-
-TESTS = glx-test dispatch-index-check
-check_PROGRAMS = glx-test
-EXTRA_DIST = dispatch-index-check meson.build
-
-glx_test_SOURCES = \
- clientinfo_unittest.cpp \
- create_context_unittest.cpp \
- enum_sizes.cpp \
- fake_glx_screen.cpp \
- fake_glx_screen.h \
- indirect_api.cpp \
- mock_xdisplay.h \
- query_renderer_unittest.cpp
-
-if HAVE_DRI2
-glx_test_SOURCES += \
- query_renderer_implementation_unittest.cpp
-endif
-
-glx_test_LDADD = \
- $(top_builddir)/src/glx/libglx.la \
- $(top_builddir)/src/gtest/libgtest.la \
- $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
- $(PTHREAD_LIBS)
-endif
diff --git a/src/glx/windows/Makefile.am b/src/glx/windows/Makefile.am
deleted file mode 100644
index 828a930e53f..00000000000
--- a/src/glx/windows/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-noinst_LTLIBRARIES = libwindowsdri.la libwindowsglx.la
-
-# protocol defines for the Windows-DRI server extension
-windowsdriincludedir = $(includedir)/X11/extensions
-windowsdriinclude_HEADERS = windowsdriconst.h windowsdristr.h
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = windowsdriproto.pc
-
-# library for using the Windows-DRI server extension
-libwindowsdri_la_SOURCES = xwindowsdri.c xwindowsdri.h
-
-libwindowsdri_la_CFLAGS = \
- $(X11_INCLUDES)
-
-# native rendering GL for windows
-libwindowsglx_la_SOURCES = \
- windowsgl.c \
- windowsgl.h \
- windowsgl_internal.h \
- windows_drawable.c \
- wgl.c \
- wgl.h
-
-libwindowsglx_la_CFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/glx \
- -I$(top_srcdir)/src/mapi \
- -I$(top_builddir)/src/mapi/glapi \
- -I$(top_srcdir)/src/mapi/glapi \
- $(VISIBILITY_CFLAGS) \
- $(DEFINES) \
- $(X11_INCLUDES)
-
-EXTRA_DIST = meson.build