summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-04-08 12:44:17 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-04-15 13:44:29 -0700
commit95aefc94a941701616fda0776a3bd15710c8c151 (patch)
treebced9cf424ee7eb0cf753503eaace7cec4f62b50 /src/mapi
parentde0c97c8171f8a8183b94d8ac6997117c4671da8 (diff)
downloadmesa-95aefc94a941701616fda0776a3bd15710c8c151.tar.gz
Delete autotools
Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/Makefile.am271
-rw-r--r--src/mapi/glapi/gen/Makefile.am373
2 files changed, 0 insertions, 644 deletions
diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
deleted file mode 100644
index 23735ded1a5..00000000000
--- a/src/mapi/Makefile.am
+++ /dev/null
@@ -1,271 +0,0 @@
-# Copyright © 2013, 2014 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 =
-TESTS =
-
-BUILT_SOURCES =
-CLEANFILES = $(BUILT_SOURCES)
-
-lib_LTLIBRARIES =
-check_PROGRAMS =
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA =
-
-EXTRA_DIST = \
- new/genCommon.py \
- new/gen_gldispatch_mapi.py \
- es1api/ABI-check \
- es2api/ABI-check \
- mapi_abi.py \
- glapi/SConscript \
- glapi/registry/gl.xml \
- shared-glapi/SConscript \
- es1api/meson.build \
- es2api/meson.build \
- glapi/meson.build \
- shared-glapi/meson.build \
- meson.build
-
-AM_CFLAGS = \
- $(PTHREAD_CFLAGS) \
- $(MSVC2013_COMPAT_CFLAGS)
-AM_CPPFLAGS = \
- $(DEFINES) \
- $(SELINUX_CFLAGS) \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src/mapi \
- -I$(top_srcdir)/src/mapi \
- -I$(top_builddir)/src/mapi/glapi \
- -I$(top_srcdir)/src/mapi/glapi
-
-include Makefile.sources
-
-MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS)
-
-shared_glapi_gen_mapi_deps := \
- mapi_abi.py \
- $(wildcard $(top_srcdir)/src/mapi/glapi/gen/*.xml) \
- $(wildcard $(top_srcdir)/src/mapi/glapi/gen/*.py)
-
-glapi_gen_gl_xml := \
- $(srcdir)/glapi/registry/gl.xml
-glapi_gen_mapi_script = $(srcdir)/new/gen_gldispatch_mapi.py
-glapi_gen_mapi_deps = \
- $(glapi_gen_mapi_script) \
- $(srcdir)/new/genCommon.py \
- $(glapi_gen_gl_xml)
-glapi_gen_mapi = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) $(glapi_gen_mapi_script)
-
-if HAVE_SHARED_GLAPI
-BUILT_SOURCES += shared-glapi/glapi_mapi_tmp.h
-
-lib_LTLIBRARIES += shared-glapi/libglapi.la
-shared_glapi_libglapi_la_SOURCES = $(MAPI_GLAPI_FILES) shared-glapi/glapi_mapi_tmp.h
-shared_glapi_libglapi_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-shared_glapi_libglapi_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -DMAPI_MODE_GLAPI \
- -DMAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\"
-shared_glapi_libglapi_la_LIBADD = \
- $(PTHREAD_LIBS) \
- $(SELINUX_LIBS)
-shared_glapi_libglapi_la_LDFLAGS = \
- -no-undefined \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-TESTS += shared-glapi-test
-check_PROGRAMS += shared-glapi-test
-
-shared_glapi_test_SOURCES = shared-glapi/tests/check_table.cpp
-shared_glapi_test_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_srcdir)/src/gtest/include \
- -I$(top_srcdir)/src/mesa
-shared_glapi_test_LDADD = \
- $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
- $(top_builddir)/src/gtest/libgtest.la
-endif
-
-shared-glapi/glapi_mapi_tmp.h : glapi/gen/gl_and_es_API.xml $(shared_glapi_gen_mapi_deps)
- $(MKDIR_GEN)
- $(PYTHON_GEN) $(srcdir)/mapi_abi.py --printer shared-glapi \
- $(srcdir)/glapi/gen/gl_and_es_API.xml > $@
-
-if HAVE_OPENGL
-noinst_LTLIBRARIES = glapi/libglapi.la
-
-if HAVE_X86_ASM
-if HAVE_X86_64_ASM
-GLAPI_ASM_SOURCES = glapi/glapi_x86-64.S
-else
-GLAPI_ASM_SOURCES = glapi/glapi_x86.S
-endif
-endif
-if HAVE_SPARC_ASM
-GLAPI_ASM_SOURCES = glapi/glapi_sparc.S
-endif
-
-glapi_libglapi_la_SOURCES =
-glapi_libglapi_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_srcdir)/src/mesa
-
-if HAVE_APPLEDRI
-glapi_libglapi_la_SOURCES += glapi/glapi_gentable.c
-endif
-if HAVE_WINDOWSDRI
-glapi_libglapi_la_SOURCES += glapi/glapi_gentable.c
-endif
-
-if HAVE_SHARED_GLAPI
-glapi_libglapi_la_SOURCES += $(MAPI_BRIDGE_FILES) glapi/glapi_mapi_tmp.h
-glapi_libglapi_la_CPPFLAGS += \
- -DMAPI_MODE_BRIDGE \
- -DMAPI_ABI_HEADER=\"glapi/glapi_mapi_tmp.h\"
-else
-glapi_libglapi_la_CPPFLAGS += \
- -DMAPI_MODE_UTIL
-glapi_libglapi_la_SOURCES += \
- glapi/glapi_dispatch.c \
- glapi/glapi_entrypoint.c \
- glapi/glapi_getproc.c \
- glapi/glapi_nop.c \
- glapi/glapi.c \
- glapi/glapi.h \
- glapi/glapi_priv.h \
- $(GLAPI_ASM_SOURCES) \
- $(MAPI_UTIL_FILES)
-
-TESTS += glapi-test
-check_PROGRAMS += glapi-test
-
-glapi_test_SOURCES = glapi/tests/check_table.cpp
-glapi_test_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_srcdir)/src/gtest/include \
- -I$(top_srcdir)/src/mesa
-
-glapi_test_LDADD = \
- $(top_builddir)/src/mapi/glapi/libglapi.la \
- $(top_builddir)/src/gtest/libgtest.la
-endif
-endif
-
-if USE_LIBGLVND
-else
-if HAVE_OPENGL_ES1
-TESTS += es1api/ABI-check
-
-BUILT_SOURCES += es1api/glapi_mapi_tmp.h
-
-pkgconfig_DATA += es1api/glesv1_cm.pc
-
-GLES_includedir = $(includedir)/GLES
-GLES_include_HEADERS = \
- $(top_srcdir)/include/GLES/egl.h \
- $(top_srcdir)/include/GLES/gl.h \
- $(top_srcdir)/include/GLES/glext.h \
- $(top_srcdir)/include/GLES/glplatform.h
-
-lib_LTLIBRARIES += es1api/libGLESv1_CM@GLES_LIB_SUFFIX@.la
-
-es1api_libGLESv1_CM@GLES_LIB_SUFFIX@_la_SOURCES = entry.c es1api/glapi_mapi_tmp.h
-es1api_libGLESv1_CM@GLES_LIB_SUFFIX@_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-es1api_libGLESv1_CM@GLES_LIB_SUFFIX@_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -DMAPI_MODE_BRIDGE \
- -DMAPI_ABI_HEADER=\"es1api/glapi_mapi_tmp.h\"
-es1api_libGLESv1_CM@GLES_LIB_SUFFIX@_la_LIBADD = $(GLESv1_CM_LIB_DEPS)
-es1api_libGLESv1_CM@GLES_LIB_SUFFIX@_la_LDFLAGS = \
- -no-undefined \
- -version-number 1:1 \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-es1api_libGLESv1_CM@GLES_LIB_SUFFIX@_la_LIBADD += shared-glapi/libglapi.la
-endif # HAVE_OPENGL_ES1
-endif # USE_LIBGLVND
-
-es1api/glapi_mapi_tmp.h: $(glapi_gen_mapi_deps)
- $(MKDIR_GEN)
- $(glapi_gen_mapi) glesv1 $(glapi_gen_gl_xml) > $@
-
-if USE_LIBGLVND
-else
-if HAVE_OPENGL_ES2
-TESTS += es2api/ABI-check
-
-BUILT_SOURCES += es2api/glapi_mapi_tmp.h
-
-pkgconfig_DATA += es2api/glesv2.pc
-
-GLES2_includedir = $(includedir)/GLES2
-GLES2_include_HEADERS = \
- $(top_srcdir)/include/GLES2/gl2.h \
- $(top_srcdir)/include/GLES2/gl2ext.h \
- $(top_srcdir)/include/GLES2/gl2platform.h
-GLES3_includedir = $(includedir)/GLES3
-GLES3_include_HEADERS = \
- $(top_srcdir)/include/GLES3/gl3.h \
- $(top_srcdir)/include/GLES3/gl31.h \
- $(top_srcdir)/include/GLES3/gl32.h \
- $(top_srcdir)/include/GLES3/gl3ext.h \
- $(top_srcdir)/include/GLES3/gl3platform.h
-
-lib_LTLIBRARIES += es2api/libGLESv2@GLES_LIB_SUFFIX@.la
-
-es2api_libGLESv2@GLES_LIB_SUFFIX@_la_SOURCES = entry.c es2api/glapi_mapi_tmp.h
-es2api_libGLESv2@GLES_LIB_SUFFIX@_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
-es2api_libGLESv2@GLES_LIB_SUFFIX@_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -DMAPI_MODE_BRIDGE \
- -DMAPI_ABI_HEADER=\"es2api/glapi_mapi_tmp.h\"
-es2api_libGLESv2@GLES_LIB_SUFFIX@_la_LIBADD = $(GLESv2_LIB_DEPS)
-es2api_libGLESv2@GLES_LIB_SUFFIX@_la_LDFLAGS = \
- -no-undefined \
- -version-number 2 \
- $(GC_SECTIONS) \
- $(LD_NO_UNDEFINED)
-
-es2api_libGLESv2@GLES_LIB_SUFFIX@_la_LIBADD += shared-glapi/libglapi.la
-endif # HAVE_OPENGL_ES2
-endif # USE_LIBGLVND
-
-es2api/glapi_mapi_tmp.h: $(glapi_gen_mapi_deps)
- $(MKDIR_GEN)
- $(glapi_gen_mapi) glesv2 $(glapi_gen_gl_xml) > $@
-
-include $(top_srcdir)/install-lib-links.mk
-
-if NEED_KHRPLATFORM
-khrdir = $(includedir)/KHR
-khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
-endif
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
deleted file mode 100644
index 40538b0ff2e..00000000000
--- a/src/mapi/glapi/gen/Makefile.am
+++ /dev/null
@@ -1,373 +0,0 @@
-# These are the "official" xserver indent flags from utils/modular/x-indent.sh
-XORG_INDENT_FLAGS = -linux -bad -bap -blf -bli0 -cbi0 -cdw -nce -cs -i4 -lc80 -psl -nbbo \
- -nbc -psl -nbfda -nut -nss -T pointer -T ScreenPtr -T ScrnInfoPtr -T pointer \
- -T DeviceIntPtr -T DevicePtr -T ClientPtr -T CallbackListPtr \
- -T CallbackProcPtr -T OsTimerPtr -T CARD32 -T CARD16 -T CARD8 \
- -T INT32 -T INT16 -T INT8 -T Atom -T Time -T WindowPtr -T DrawablePtr \
- -T PixmapPtr -T ColormapPtr -T CursorPtr -T Font -T XID -T Mask \
- -T BlockHandlerProcPtr -T WakeupHandlerProcPtr -T RegionPtr \
- -T InternalEvent -T GrabPtr -T Timestamp -T Bool -T TimeStamp \
- -T xEvent -T DeviceEvent -T RawDeviceEvent -T GrabMask -T Window \
- -T Drawable -T FontPtr -T CallbackPtr -T XIPropertyValuePtr \
- -T GrabParameters -T deviceKeyButtonPointer -T TouchOwnershipEvent \
- -T xGenericEvent -T DeviceChangedEvent -T GCPtr -T BITS32 \
- -T xRectangle -T BoxPtr -T RegionRec -T ValuatorMask -T KeyCode \
- -T KeySymsPtr -T XkbDescPtr -T InputOption -T XI2Mask -T DevUnion \
- -T DevPrivateKey -T DevScreenPrivateKey -T PropertyPtr -T RESTYPE \
- -T XkbAction -T XkbChangesPtr -T XkbControlsPtr -T PrivatePtr -T pmWait \
- -T _XFUNCPROTOBEGIN -T _XFUNCPROTOEND -T _X_EXPORT
-
-
-MESA_DIR = $(top_builddir)/src/mesa
-MESA_GLAPI_DIR = $(top_builddir)/src/mapi/glapi
-MESA_MAPI_DIR = $(top_srcdir)/src/mapi
-MESA_GLX_DIR = $(top_builddir)/src/glx
-
-MESA_GLAPI_OUTPUTS = \
- $(MESA_GLAPI_DIR)/glapi_mapi_tmp.h \
- $(MESA_GLAPI_DIR)/glprocs.h \
- $(MESA_GLAPI_DIR)/glapitemp.h \
- $(MESA_GLAPI_DIR)/glapitable.h
-
-if HAVE_APPLEDRI
-MESA_GLAPI_OUTPUTS += $(MESA_GLAPI_DIR)/glapi_gentable.c
-endif
-if HAVE_WINDOWSDRI
-MESA_GLAPI_OUTPUTS += $(MESA_GLAPI_DIR)/glapi_gentable.c
-endif
-
-MESA_GLAPI_ASM_OUTPUTS =
-if HAVE_X86_ASM
-if HAVE_X86_64_ASM
-MESA_GLAPI_ASM_OUTPUTS += $(MESA_GLAPI_DIR)/glapi_x86-64.S
-else
-MESA_GLAPI_ASM_OUTPUTS += $(MESA_GLAPI_DIR)/glapi_x86.S
-endif
-endif
-
-if HAVE_SPARC_ASM
-MESA_GLAPI_ASM_OUTPUTS += $(MESA_GLAPI_DIR)/glapi_sparc.S
-endif
-
-BUILT_SOURCES = \
- $(MESA_GLAPI_OUTPUTS) \
- $(MESA_GLAPI_ASM_OUTPUTS) \
- $(MESA_DIR)/main/enums.c \
- $(MESA_DIR)/main/api_exec.c \
- $(MESA_DIR)/main/marshal_generated.c \
- $(MESA_DIR)/main/marshal_generated.h \
- $(MESA_DIR)/main/dispatch.h \
- $(MESA_DIR)/main/remap_helper.h \
- $(MESA_GLX_DIR)/indirect.c \
- $(MESA_GLX_DIR)/indirect.h \
- $(MESA_GLX_DIR)/indirect_init.c \
- $(MESA_GLX_DIR)/indirect_size.h \
- $(MESA_GLX_DIR)/indirect_size.c
-EXTRA_DIST= \
- $(BUILT_SOURCES) \
- $(MESA_GLAPI_DIR)/glapi_gentable.c \
- $(MESA_GLAPI_DIR)/glapi_x86.S \
- $(MESA_GLAPI_DIR)/glapi_x86-64.S \
- $(MESA_GLAPI_DIR)/glapi_sparc.S \
- $(COMMON_GLX) \
- apiexec.py \
- gl_apitemp.py \
- gl_enums.py \
- gl_genexec.py \
- gl_gentable.py \
- gl_marshal.py \
- gl_marshal_h.py \
- gl_procs.py \
- gl_SPARC_asm.py \
- gl_table.py \
- gl_x86-64_asm.py \
- gl_x86_asm.py \
- glX_proto_recv.py \
- glX_proto_send.py \
- glX_proto_size.py \
- glX_server_table.py \
- marshal_XML.py \
- remap_helper.py \
- static_data.py \
- SConscript \
- gl_API.dtd \
- meson.build
-
-######################################################################
-
-XORG_GLX_DIR = $(XORG_BASE)/glx
-XORG_GLAPI_DIR = $(XORG_BASE)/glx
-
-XORG_OUTPUTS = \
- $(XORG_GLX_DIR)/indirect_dispatch.c \
- $(XORG_GLX_DIR)/indirect_dispatch_swap.c \
- $(XORG_GLX_DIR)/indirect_dispatch.h \
- $(XORG_GLX_DIR)/indirect_reqsize.c \
- $(XORG_GLX_DIR)/indirect_reqsize.h \
- $(XORG_GLX_DIR)/indirect_size.h \
- $(XORG_GLX_DIR)/indirect_size_get.c \
- $(XORG_GLX_DIR)/indirect_size_get.h \
- $(XORG_GLX_DIR)/indirect_table.c
-
-.PHONY: $(XORG_OUTPUTS)
-
-######################################################################
-
-API_XML = \
- gl_API.xml \
- es_EXT.xml \
- gl_and_es_API.xml \
- gl_and_glX_API.xml \
- ARB_base_instance.xml \
- ARB_blend_func_extended.xml \
- ARB_bindless_texture.xml \
- ARB_clear_buffer_object.xml \
- ARB_clear_texture.xml \
- ARB_clip_control.xml \
- ARB_color_buffer_float.xml \
- ARB_compressed_texture_pixel_storage.xml \
- ARB_compute_shader.xml \
- ARB_compute_variable_group_size.xml \
- ARB_copy_buffer.xml \
- ARB_copy_image.xml \
- ARB_debug_output.xml \
- ARB_depth_buffer_float.xml \
- ARB_depth_clamp.xml \
- ARB_direct_state_access.xml \
- ARB_draw_buffers.xml \
- ARB_draw_buffers_blend.xml \
- ARB_draw_elements_base_vertex.xml \
- ARB_draw_indirect.xml \
- ARB_draw_instanced.xml \
- ARB_ES2_compatibility.xml \
- ARB_ES3_compatibility.xml \
- ARB_framebuffer_no_attachments.xml \
- ARB_framebuffer_object.xml \
- ARB_get_program_binary.xml \
- ARB_get_texture_sub_image.xml \
- ARB_gl_spirv.xml \
- ARB_gpu_shader_fp64.xml \
- ARB_gpu_shader_int64.xml \
- ARB_gpu_shader5.xml \
- ARB_indirect_parameters.xml \
- ARB_instanced_arrays.xml \
- ARB_internalformat_query.xml \
- ARB_internalformat_query2.xml \
- ARB_invalidate_subdata.xml \
- ARB_map_buffer_range.xml \
- ARB_multi_bind.xml \
- ARB_pipeline_statistics_query.xml \
- ARB_program_interface_query.xml \
- ARB_robustness.xml \
- ARB_sample_shading.xml \
- ARB_sampler_objects.xml \
- ARB_seamless_cube_map.xml \
- ARB_separate_shader_objects.xml \
- ARB_shader_atomic_counters.xml \
- ARB_shader_image_load_store.xml \
- ARB_shader_subroutine.xml \
- ARB_shader_storage_buffer_object.xml \
- ARB_sparse_buffer.xml \
- ARB_sync.xml \
- ARB_tessellation_shader.xml \
- ARB_texture_barrier.xml \
- ARB_texture_buffer_object.xml \
- ARB_texture_buffer_range.xml \
- ARB_texture_compression_rgtc.xml \
- ARB_texture_cube_map_array.xml \
- ARB_texture_float.xml \
- ARB_texture_gather.xml \
- ARB_texture_multisample.xml \
- ARB_texture_rgb10_a2ui.xml \
- ARB_texture_rg.xml \
- ARB_texture_storage_multisample.xml \
- ARB_texture_storage.xml \
- ARB_texture_view.xml \
- ARB_uniform_buffer_object.xml \
- ARB_vertex_array_object.xml \
- ARB_vertex_attrib_64bit.xml \
- ARB_vertex_attrib_binding.xml \
- ARB_viewport_array.xml \
- AMD_depth_clamp_separate.xml \
- AMD_draw_buffers_blend.xml \
- AMD_gpu_shader_int64.xml \
- AMD_performance_monitor.xml \
- ARB_vertex_type_2_10_10_10_rev.xml \
- APPLE_object_purgeable.xml \
- APPLE_vertex_array_object.xml \
- EXT_draw_buffers2.xml \
- EXT_external_objects.xml \
- EXT_external_objects_fd.xml \
- EXT_framebuffer_object.xml \
- EXT_gpu_shader4.xml \
- EXT_multisampled_render_to_texture.xml \
- EXT_packed_depth_stencil.xml \
- EXT_provoking_vertex.xml \
- EXT_separate_shader_objects.xml \
- EXT_texture_array.xml \
- EXT_texture_integer.xml \
- EXT_transform_feedback.xml \
- EXT_vertex_attrib_64bit.xml \
- EXT_window_rectangles.xml \
- GREMEDY_string_marker.xml \
- INTEL_performance_query.xml \
- KHR_debug.xml \
- KHR_context_flush_control.xml \
- KHR_robustness.xml \
- KHR_robustness_es.xml \
- KHR_texture_compression_astc.xml \
- MESA_tile_raster_order.xml \
- NV_conditional_render.xml \
- NV_primitive_restart.xml \
- NV_texture_barrier.xml \
- NV_vdpau_interop.xml \
- OES_EGL_image.xml \
- OES_fixed_point.xml \
- OES_single_precision.xml \
- OES_texture_compression_astc.xml \
- GL3x.xml \
- GL4x.xml
-
-COMMON = $(API_XML) \
- gl_XML.py \
- glX_XML.py \
- license.py \
- static_data.py \
- typeexpr.py
-
-COMMON_GLX = $(COMMON) glX_API.xml glX_XML.py glX_proto_common.py
-
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS)
-
-######################################################################
-
-xorg: check-xorg-source $(XORG_OUTPUTS)
-
-check-xorg-source:
- @if ! test -d $(XORG_GLX_DIR); then \
- echo "ERROR: Must specify path to xserver/ checkout. Set XORG_BASE env var."; \
- if test x$(XORG_BASE) != x; then \
- echo "'$(XORG_GLX_DIR)' does not exist."; \
- fi; \
- exit 1; \
- fi
-
-clean-local:
- -rm -f *~ *.pyo
-
-######################################################################
-
-$(XORG_GLAPI_DIR)/%.c: $(MESA_GLAPI_DIR)/%.c
- $(INDENT) $(XORG_INDENT_FLAGS) < $< > $@
-
-$(XORG_GLAPI_DIR)/dispatch.h: $(MESA_DIR)/main/dispatch.h
- $(INDENT) $(XORG_INDENT_FLAGS) < $< > $@
-
-$(XORG_GLAPI_DIR)/%.h: $(MESA_GLAPI_DIR)/%.h
- $(INDENT) $(XORG_INDENT_FLAGS) < $< > $@
-
-######################################################################
-
-$(MESA_GLAPI_DIR)/glapi_mapi_tmp.h: $(MESA_MAPI_DIR)/mapi_abi.py $(COMMON)
- $(PYTHON_GEN) $(MESA_MAPI_DIR)/mapi_abi.py \
- --printer glapi $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_GLAPI_DIR)/glprocs.h: gl_procs.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_procs.py -c -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_GLAPI_DIR)/glapitemp.h: gl_apitemp.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_apitemp.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_GLAPI_DIR)/glapitable.h: gl_table.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_table.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_GLAPI_DIR)/glapi_gentable.c: gl_gentable.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_gentable.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-######################################################################
-
-$(MESA_GLAPI_DIR)/glapi_x86.S: gl_x86_asm.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_x86_asm.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_GLAPI_DIR)/glapi_x86-64.S: gl_x86-64_asm.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_x86-64_asm.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_GLAPI_DIR)/glapi_sparc.S: gl_SPARC_asm.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_SPARC_asm.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-######################################################################
-
-$(MESA_DIR)/main/enums.c: gl_enums.py $(srcdir)/../registry/gl.xml
- $(PYTHON_GEN) $(srcdir)/gl_enums.py -f $(srcdir)/../registry/gl.xml > $@
-
-$(MESA_DIR)/main/api_exec.c: gl_genexec.py apiexec.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_genexec.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_DIR)/main/marshal_generated.c: gl_marshal.py marshal_XML.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_marshal.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_DIR)/main/marshal_generated.h: gl_marshal_h.py marshal_XML.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_marshal_h.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-$(MESA_DIR)/main/dispatch.h: gl_table.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/gl_table.py -f $(srcdir)/gl_and_es_API.xml -m remap_table > $@
-
-$(MESA_DIR)/main/remap_helper.h: remap_helper.py $(COMMON)
- $(PYTHON_GEN) $(srcdir)/remap_helper.py -f $(srcdir)/gl_and_es_API.xml > $@
-
-######################################################################
-
-$(MESA_GLX_DIR)/indirect.c: glX_proto_send.py $(COMMON_GLX)
- $(PYTHON_GEN) $(srcdir)/glX_proto_send.py -f $(srcdir)/gl_API.xml -m proto \
- | $(INDENT) $(INDENT_FLAGS) > $@
-
-$(MESA_GLX_DIR)/indirect.h: glX_proto_send.py $(COMMON_GLX)
- $(PYTHON_GEN) $(srcdir)/glX_proto_send.py -f $(srcdir)/gl_API.xml -m init_h > $@
-
-$(MESA_GLX_DIR)/indirect_init.c: glX_proto_send.py $(COMMON_GLX)
- $(PYTHON_GEN) $(srcdir)/glX_proto_send.py -f $(srcdir)/gl_API.xml -m init_c > $@
-
-$(MESA_GLX_DIR)/indirect_size.h $(XORG_GLX_DIR)/indirect_size.h: glX_proto_size.py $(COMMON_GLX)
- $(PYTHON_GEN) $(srcdir)/glX_proto_size.py -f $(srcdir)/gl_API.xml -m size_h --only-set \
- --header-tag _INDIRECT_SIZE_H_ \
- | $(INDENT) $(INDENT_FLAGS) > $@
-
-$(MESA_GLX_DIR)/indirect_size.c: glX_proto_size.py $(COMMON_GLX)
- $(PYTHON_GEN) $(srcdir)/glX_proto_size.py -f $(srcdir)/gl_API.xml -m size_c --only-set \
- | $(INDENT) $(INDENT_FLAGS) > $@
-
-######################################################################
-
-$(XORG_GLX_DIR)/indirect_dispatch.c: glX_proto_recv.py $(COMMON_GLX)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_API.xml -m dispatch_c \
- | $(INDENT) $(XORG_INDENT_FLAGS) > $@
-
-$(XORG_GLX_DIR)/indirect_dispatch_swap.c: glX_proto_recv.py $(COMMON_GLX)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_API.xml -m dispatch_c -s \
- | $(INDENT) $(XORG_INDENT_FLAGS) > $@
-
-$(XORG_GLX_DIR)/indirect_dispatch.h: glX_proto_recv.py gl_and_glX_API.xml $(COMMON_GLX)
- $(PYTHON_GEN) $< -m dispatch_h -f $(srcdir)/gl_and_glX_API.xml -s \
- | $(INDENT) $(XORG_INDENT_FLAGS) > $@
-
-$(XORG_GLX_DIR)/indirect_size_get.h: glX_proto_size.py $(COMMON_GLX)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_API.xml -m size_h \
- --only-get --header-tag '_INDIRECT_SIZE_GET_H_' \
- | $(INDENT) $(XORG_INDENT_FLAGS) > $@
-
-$(XORG_GLX_DIR)/indirect_size_get.c: glX_proto_size.py $(COMMON_GLX)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_API.xml -m size_c \
- | $(INDENT) $(INDENT_FLAGS) > $@
-
-$(XORG_GLX_DIR)/indirect_reqsize.h: glX_proto_size.py $(COMMON_GLX)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_API.xml -m reqsize_h \
- --only-get --header-tag '_INDIRECT_SIZE_GET_H_' \
- | $(INDENT) $(XORG_INDENT_FLAGS) > $@
-
-$(XORG_GLX_DIR)/indirect_reqsize.c: glX_proto_size.py $(COMMON_GLX)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_API.xml -m reqsize_c \
- | $(INDENT) $(XORG_INDENT_FLAGS) > $@
-
-$(XORG_GLX_DIR)/indirect_table.c: glX_server_table.py gl_and_glX_API.xml $(COMMON_GLX)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_and_glX_API.xml \
- | $(INDENT) $(XORG_INDENT_FLAGS) > $@