diff options
author | Dylan Baker <[email protected]> | 2019-04-08 12:44:17 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-04-15 13:44:29 -0700 |
commit | 95aefc94a941701616fda0776a3bd15710c8c151 (patch) | |
tree | bced9cf424ee7eb0cf753503eaace7cec4f62b50 /src/intel | |
parent | de0c97c8171f8a8183b94d8ac6997117c4671da8 (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/intel')
-rw-r--r-- | src/intel/Makefile.am | 98 | ||||
-rw-r--r-- | src/intel/Makefile.blorp.am | 26 | ||||
-rw-r--r-- | src/intel/Makefile.common.am | 31 | ||||
-rw-r--r-- | src/intel/Makefile.compiler.am | 113 | ||||
-rw-r--r-- | src/intel/Makefile.dev.am | 31 | ||||
-rw-r--r-- | src/intel/Makefile.genxml.am | 51 | ||||
-rw-r--r-- | src/intel/Makefile.isl.am | 112 | ||||
-rw-r--r-- | src/intel/Makefile.tools.am | 101 | ||||
-rw-r--r-- | src/intel/Makefile.vulkan.am | 286 |
9 files changed, 0 insertions, 849 deletions
diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am deleted file mode 100644 index b4d6a978a85..00000000000 --- a/src/intel/Makefile.am +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright © 2016 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 - -# The gallium includes are for the util/u_math.h include from main/macros.h -AM_CPPFLAGS = \ - -I$(top_srcdir)/include \ - -I$(top_builddir)/src \ - -I$(top_srcdir)/src \ - -I$(top_builddir)/src/compiler/glsl \ - -I$(top_srcdir)/src/compiler/glsl \ - -I$(top_builddir)/src/compiler/nir \ - -I$(top_srcdir)/src/compiler/nir \ - -I$(top_srcdir)/src/gtest/include \ - -I$(top_builddir)/src/intel \ - -I$(top_srcdir)/src/intel \ - -I$(top_srcdir)/src/mapi \ - -I$(top_srcdir)/src/mesa \ - -I$(top_srcdir)/src/gallium/auxiliary \ - -I$(top_srcdir)/src/gallium/include \ - $(VALGRIND_CFLAGS) \ - $(LIBDRM_CFLAGS) \ - $(DEFINES) - -AM_CFLAGS = \ - $(VISIBILITY_CFLAGS) \ - $(WNO_OVERRIDE_INIT) - -AM_CXXFLAGS = \ - $(VISIBILITY_CXXFLAGS) - -MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) -PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) - -lib_LTLIBRARIES = -check_LTLIBRARIES = -noinst_DATA = -noinst_HEADERS = -noinst_LTLIBRARIES = -noinst_PROGRAMS = -check_PROGRAMS = -TESTS = -BUILT_SOURCES = -CLEANFILES = -EXTRA_DIST = \ - blorp/meson.build \ - common/meson.build \ - compiler/meson.build \ - dev/meson.build \ - genxml/meson.build \ - isl/meson.build \ - tools/aubinator_viewer.cpp \ - tools/aubinator_viewer.h \ - tools/aubinator_viewer_decoder.cpp \ - tools/aubinator_viewer_urb.h \ - tools/imgui/imgui_impl_gtk3.cpp \ - tools/imgui/imgui_impl_gtk3.h \ - tools/imgui/imgui_impl_opengl3.cpp \ - tools/imgui/imgui_impl_opengl3.h \ - tools/imgui/meson.build \ - tools/intel_sanitize_gpu.c \ - tools/intel_sanitize_gpu.in \ - tools/intel_dump_gpu.c \ - tools/intel_dump_gpu.in \ - tools/meson.build \ - vulkan/meson.build \ - meson.build - -include Makefile.blorp.am -include Makefile.common.am -include Makefile.compiler.am -include Makefile.dev.am -include Makefile.genxml.am -include Makefile.isl.am -include Makefile.tools.am - -include Makefile.vulkan.am - -CLEANFILES += $(BUILT_SOURCES) diff --git a/src/intel/Makefile.blorp.am b/src/intel/Makefile.blorp.am deleted file mode 100644 index 971c1bad06f..00000000000 --- a/src/intel/Makefile.blorp.am +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2015-2016 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. - -noinst_LTLIBRARIES += blorp/libblorp.la - -blorp_libblorp_la_SOURCES = $(BLORP_FILES) - -EXTRA_DIST += blorp/TODO diff --git a/src/intel/Makefile.common.am b/src/intel/Makefile.common.am deleted file mode 100644 index 443cefc522a..00000000000 --- a/src/intel/Makefile.common.am +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright © 2016 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. - -noinst_LTLIBRARIES += common/libintel_common.la - -common_libintel_common_la_CFLAGS = $(AM_CFLAGS) $(LIBDRM_CFLAGS) $(EXPAT_CFLAGS) -common_libintel_common_la_SOURCES = $(COMMON_FILES) -common_libintel_common_la_LIBADD = $(EXPAT_LIBS) - -if HAVE_PLATFORM_ANDROID -common_libintel_common_la_CFLAGS += $(ANDROID_CFLAGS) -common_libintel_common_la_LIBADD += $(ANDROID_LIBS) -endif diff --git a/src/intel/Makefile.compiler.am b/src/intel/Makefile.compiler.am deleted file mode 100644 index 7c33e35816b..00000000000 --- a/src/intel/Makefile.compiler.am +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2015-2016 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. - -noinst_LTLIBRARIES += compiler/libintel_compiler.la - -compiler_libintel_compiler_la_CPPFLAGS = \ - -I$(top_builddir)/src/intel/compiler \ - -I$(top_srcdir)/src/intel/compiler \ - $(AM_CPPFLAGS) - -compiler_libintel_compiler_la_SOURCES = \ - $(COMPILER_FILES) \ - $(COMPILER_GENERATED_FILES) - -BUILT_SOURCES += $(COMPILER_GENERATED_FILES) - -compiler/brw_nir_trig_workarounds.c: compiler/brw_nir_trig_workarounds.py \ - $(top_srcdir)/src/compiler/nir/nir_algebraic.py - $(MKDIR_GEN) - $(AM_V_GEN) $(PYTHON) $(PYTHON_FLAGS) $(srcdir)/compiler/brw_nir_trig_workarounds.py -p $(top_srcdir)/src/compiler/nir > $@ || ($(RM) $@; false) - -EXTRA_DIST += \ - compiler/brw_nir_trig_workarounds.py - -# ---------------------------------------------------------------------------- -# Tests -# ---------------------------------------------------------------------------- - -TEST_LIBS = \ - $(top_builddir)/src/gtest/libgtest.la \ - compiler/libintel_compiler.la \ - common/libintel_common.la \ - dev/libintel_dev.la \ - $(top_builddir)/src/compiler/nir/libnir.la \ - $(top_builddir)/src/intel/isl/libisl.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(PTHREAD_LIBS) \ - $(DLOPEN_LIBS) - -COMPILER_TESTS = \ - compiler/test_fs_cmod_propagation \ - compiler/test_fs_copy_propagation \ - compiler/test_fs_saturate_propagation \ - compiler/test_eu_compact \ - compiler/test_eu_validate \ - compiler/test_vf_float_conversions \ - compiler/test_vec4_cmod_propagation \ - compiler/test_vec4_copy_propagation \ - compiler/test_vec4_dead_code_eliminate \ - compiler/test_vec4_register_coalesce - -TESTS += $(COMPILER_TESTS) -check_PROGRAMS += $(COMPILER_TESTS) - -compiler_test_fs_cmod_propagation_SOURCES = \ - compiler/test_fs_cmod_propagation.cpp -compiler_test_fs_cmod_propagation_LDADD = $(TEST_LIBS) - -compiler_test_fs_copy_propagation_SOURCES = \ - compiler/test_fs_copy_propagation.cpp -compiler_test_fs_copy_propagation_LDADD = $(TEST_LIBS) - -compiler_test_fs_saturate_propagation_SOURCES = \ - compiler/test_fs_saturate_propagation.cpp -compiler_test_fs_saturate_propagation_LDADD = $(TEST_LIBS) - -compiler_test_vf_float_conversions_SOURCES = \ - compiler/test_vf_float_conversions.cpp -compiler_test_vf_float_conversions_LDADD = $(TEST_LIBS) - -compiler_test_vec4_register_coalesce_SOURCES = \ - compiler/test_vec4_register_coalesce.cpp -compiler_test_vec4_register_coalesce_LDADD = $(TEST_LIBS) - -compiler_test_vec4_copy_propagation_SOURCES = \ - compiler/test_vec4_copy_propagation.cpp -compiler_test_vec4_copy_propagation_LDADD = $(TEST_LIBS) - -compiler_test_vec4_cmod_propagation_SOURCES = \ - compiler/test_vec4_cmod_propagation.cpp -compiler_test_vec4_cmod_propagation_LDADD = $(TEST_LIBS) - -compiler_test_vec4_dead_code_eliminate_SOURCES = \ - compiler/test_vec4_dead_code_eliminate.cpp -compiler_test_vec4_dead_code_eliminate_LDADD = $(TEST_LIBS) - -# Strictly speaking this is neither a C++ test nor using gtest - we can address -# address that at a later point. Until then, this allows us a to simplify things. -compiler_test_eu_compact_SOURCES = \ - compiler/test_eu_compact.cpp -compiler_test_eu_compact_LDADD = $(TEST_LIBS) - -compiler_test_eu_validate_SOURCES = \ - compiler/test_eu_validate.cpp -compiler_test_eu_validate_LDADD = $(TEST_LIBS) diff --git a/src/intel/Makefile.dev.am b/src/intel/Makefile.dev.am deleted file mode 100644 index 2bf5b4e232a..00000000000 --- a/src/intel/Makefile.dev.am +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright © 2016 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. - -noinst_LTLIBRARIES += dev/libintel_dev.la - -dev_libintel_dev_la_CFLAGS = $(AM_CFLAGS) $(LIBDRM_CFLAGS) $(EXPAT_CFLAGS) -dev_libintel_dev_la_SOURCES = $(DEV_FILES) -dev_libintel_dev_la_LIBADD = $(EXPAT_LIBS) - -if HAVE_PLATFORM_ANDROID -dev_libintel_dev_la_CFLAGS += $(ANDROID_CFLAGS) -dev_libintel_dev_la_LIBADD += $(ANDROID_LIBS) -endif diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am deleted file mode 100644 index f034f25e2ef..00000000000 --- a/src/intel/Makefile.genxml.am +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright © 2016 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. - -BUILT_SOURCES += \ - $(GENXML_GENERATED_FILES) - -EXTRA_DIST += \ - $(GENXML_XML_FILES) \ - $(GENXML_GENERATED_FILES) - -SUFFIXES = _pack.h _xml.h .xml - -$(GENXML_GENERATED_PACK_FILES): genxml/gen_pack_header.py - -.xml_pack.h: - $(MKDIR_GEN) - $(PYTHON_GEN) $(srcdir)/genxml/gen_pack_header.py $< > $@ || ($(RM) $@; false) - -genxml/genX_xml.h: genxml/gen_zipped_file.py $(GENXML_XML_FILES) - $(MKDIR_GEN) - $(PYTHON_GEN) $(srcdir)/genxml/gen_zipped_file.py $(GENXML_XML_FILES:%=$(srcdir)/%) > $@ || ($(RM) $@; false) - -genxml/genX_bits.h: genxml/gen_bits_header.py $(GENXML_XML_FILES) - $(MKDIR_GEN) - $(PYTHON_GEN) $(srcdir)/genxml/gen_bits_header.py -o $@ $(GENXML_XML_FILES:%=$(srcdir)/%) - -EXTRA_DIST += \ - genxml/genX_pack.h \ - genxml/gen_macros.h \ - genxml/gen_pack_header.py \ - genxml/gen_zipped_file.py \ - genxml/gen_bits_header.py \ - genxml/README diff --git a/src/intel/Makefile.isl.am b/src/intel/Makefile.isl.am deleted file mode 100644 index dcb9d3ad6fc..00000000000 --- a/src/intel/Makefile.isl.am +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 2015-2016 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. - -ISL_GEN_LIBS = \ - isl/libisl-gen4.la \ - isl/libisl-gen5.la \ - isl/libisl-gen6.la \ - isl/libisl-gen7.la \ - isl/libisl-gen75.la \ - isl/libisl-gen8.la \ - isl/libisl-gen9.la \ - isl/libisl-gen10.la \ - isl/libisl-gen11.la \ - $(NULL) - -noinst_LTLIBRARIES += $(ISL_GEN_LIBS) \ - isl/libisl.la \ - libisl_tiled_memcpy.la - -isl_libisl_la_LIBADD = $(ISL_GEN_LIBS) \ - libisl_tiled_memcpy.la - -if SSE41_SUPPORTED -isl_libisl_la_LIBADD += libisl_tiled_memcpy_sse41.la -noinst_LTLIBRARIES += libisl_tiled_memcpy_sse41.la -endif - -isl_libisl_la_SOURCES = $(ISL_FILES) $(ISL_GENERATED_FILES) - -libisl_tiled_memcpy_la_SOURCES = $(ISL_TILED_MEMCPY_FILES) -libisl_tiled_memcpy_la_CFLAGS = $(AM_CFLAGS) - -libisl_tiled_memcpy_sse41_la_SOURCES = $(ISL_TILED_MEMCPY_SSE41_FILES) -libisl_tiled_memcpy_sse41_la_CFLAGS = $(AM_CFLAGS) $(SSE41_CFLAGS) - -isl_tiled_memcpy_normal.c: $(ISL_TILED_MEMCPY_DEP_FILES) -isl_tiled_memcpy_sse41.c: $(ISL_TILED_MEMCPY_DEP_FILES) - -isl_libisl_gen4_la_SOURCES = $(ISL_GEN4_FILES) -isl_libisl_gen4_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=40 - -isl_libisl_gen5_la_SOURCES = $(ISL_GEN5_FILES) -isl_libisl_gen5_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=50 - -isl_libisl_gen6_la_SOURCES = $(ISL_GEN6_FILES) -isl_libisl_gen6_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=60 - -isl_libisl_gen7_la_SOURCES = $(ISL_GEN7_FILES) -isl_libisl_gen7_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=70 - -isl_libisl_gen75_la_SOURCES = $(ISL_GEN75_FILES) -isl_libisl_gen75_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=75 - -isl_libisl_gen8_la_SOURCES = $(ISL_GEN8_FILES) -isl_libisl_gen8_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=80 - -isl_libisl_gen9_la_SOURCES = $(ISL_GEN9_FILES) -isl_libisl_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90 - -isl_libisl_gen10_la_SOURCES = $(ISL_GEN10_FILES) -isl_libisl_gen10_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=100 - -isl_libisl_gen11_la_SOURCES = $(ISL_GEN11_FILES) -isl_libisl_gen11_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=110 - -BUILT_SOURCES += $(ISL_GENERATED_FILES) - -isl/isl_format_layout.c: isl/gen_format_layout.py \ - isl/isl_format_layout.csv - $(MKDIR_GEN) - $(PYTHON_GEN) $(srcdir)/isl/gen_format_layout.py \ - --csv $(srcdir)/isl/isl_format_layout.csv --out $@ - -# ---------------------------------------------------------------------------- -# Tests -# ---------------------------------------------------------------------------- - -check_PROGRAMS += isl/tests/isl_surf_get_image_offset_test - -TESTS += $(check_PROGRAMS) - -isl_tests_isl_surf_get_image_offset_test_LDADD = \ - dev/libintel_dev.la \ - isl/libisl.la \ - $(top_builddir)/src/util/libmesautil.la \ - -lm - -# ---------------------------------------------------------------------------- - -EXTRA_DIST += \ - isl/gen_format_layout.py \ - isl/isl_format_layout.csv \ - isl/README \ - $(ISL_TILED_MEMCPY_DEP_FILES) diff --git a/src/intel/Makefile.tools.am b/src/intel/Makefile.tools.am deleted file mode 100644 index 4809962b188..00000000000 --- a/src/intel/Makefile.tools.am +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2015-2017 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. - -noinst_PROGRAMS += \ - tools/aubinator \ - tools/aubinator_error_decode \ - tools/i965_disasm \ - tools/error2aub - - -tools_aubinator_SOURCES = \ - tools/aub_mem.c \ - tools/aub_mem.h \ - tools/aub_read.c \ - tools/aub_read.h \ - tools/aubinator.c \ - tools/intel_aub.h - -tools_aubinator_CFLAGS = \ - $(AM_CFLAGS) \ - $(ZLIB_CFLAGS) - -tools_aubinator_LDADD = \ - common/libintel_common.la \ - compiler/libintel_compiler.la \ - dev/libintel_dev.la \ - isl/libisl.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(PER_GEN_LIBS) \ - $(PTHREAD_LIBS) \ - $(DLOPEN_LIBS) \ - $(ZLIB_LIBS) \ - -lm - - -tools_aubinator_error_decode_SOURCES = \ - tools/aubinator_error_decode.c - -tools_aubinator_error_decode_LDADD = \ - common/libintel_common.la \ - compiler/libintel_compiler.la \ - dev/libintel_dev.la \ - isl/libisl.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(PTHREAD_LIBS) \ - $(ZLIB_LIBS) - -tools_aubinator_error_decode_CFLAGS = \ - $(AM_CFLAGS) \ - $(ZLIB_CFLAGS) - -tools_i965_disasm_SOURCES = \ - tools/i965_disasm.c - -tools_i965_disasm_LDADD = \ - common/libintel_common.la \ - compiler/libintel_compiler.la \ - dev/libintel_dev.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(PTHREAD_LIBS) - -tools_i965_disasm_CFLAGS = \ - $(AM_CFLAGS) - - -tools_error2aub_SOURCES = \ - tools/gen_context.h \ - tools/gen8_context.h \ - tools/gen10_context.h \ - tools/aub_write.h \ - tools/aub_write.c \ - tools/error2aub.c - -tools_error2aub_CFLAGS = \ - $(AM_CFLAGS) \ - $(ZLIB_CFLAGS) - -tools_error2aub_LDADD = \ - dev/libintel_dev.la \ - $(PTHREAD_LIBS) \ - $(DLOPEN_LIBS) \ - $(ZLIB_LIBS) \ - -lm diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am deleted file mode 100644 index 7d9a74c9301..00000000000 --- a/src/intel/Makefile.vulkan.am +++ /dev/null @@ -1,286 +0,0 @@ -# Copyright © 2015 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. - -# Due to a what seems like a autoconf bug, we must ensure that the genaration -# rules must be outside of any AM_CONDITIONALs. Otherwise they will be commented -# out and we'll fail at `make dist' -vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml - -vulkan/anv_entrypoints.c: vulkan/anv_entrypoints_gen.py \ - vulkan/anv_extensions.py \ - $(vulkan_api_xml) - $(MKDIR_GEN) - $(AM_V_GEN)$(PYTHON) $(srcdir)/vulkan/anv_entrypoints_gen.py \ - --xml $(vulkan_api_xml) \ - --outdir $(builddir)/vulkan -vulkan/anv_entrypoints.h: vulkan/anv_entrypoints.c - -vulkan/anv_extensions.c: vulkan/anv_extensions_gen.py \ - vulkan/anv_extensions.py \ - $(vulkan_api_xml) - $(MKDIR_GEN) - $(AM_V_GEN)$(PYTHON) $(srcdir)/vulkan/anv_extensions_gen.py \ - --xml $(vulkan_api_xml) \ - --out-c $@ - -vulkan/anv_extensions.h: vulkan/anv_extensions_gen.py \ - vulkan/anv_extensions.py \ - $(vulkan_api_xml) - $(MKDIR_GEN) - $(AM_V_GEN)$(PYTHON) $(srcdir)/vulkan/anv_extensions_gen.py \ - --xml $(vulkan_api_xml) \ - --out-h $@ - -BUILT_SOURCES += $(VULKAN_GENERATED_FILES) -CLEANFILES += \ - $(VULKAN_GENERATED_FILES) \ - vulkan/dev_icd.json \ - vulkan/intel_icd.@[email protected] - -EXTRA_DIST += \ - $(top_srcdir)/include/vulkan/vk_icd.h \ - vulkan/anv_entrypoints_gen.py \ - vulkan/anv_extensions_gen.py \ - vulkan/anv_extensions.py \ - vulkan/anv_icd.py \ - vulkan/TODO - -vulkan/dev_icd.json : vulkan/anv_extensions.py vulkan/anv_icd.py - $(MKDIR_GEN) - $(AM_V_GEN)$(PYTHON) $(srcdir)/vulkan/anv_icd.py \ - --lib-path="${abs_top_builddir}/${LIB_DIR}" --out $@ - -vulkan/intel_icd.@[email protected] : vulkan/anv_extensions.py vulkan/anv_icd.py - $(MKDIR_GEN) - $(AM_V_GEN)$(PYTHON) $(srcdir)/vulkan/anv_icd.py \ - --lib-path="${libdir}" --out $@ - -if HAVE_INTEL_VULKAN - -vulkan_includedir = $(includedir)/vulkan - -noinst_HEADERS += \ - $(top_srcdir)/include/vulkan/vk_platform.h \ - $(top_srcdir)/include/vulkan/vulkan_core.h \ - $(top_srcdir)/include/vulkan/vulkan_wayland.h \ - $(top_srcdir)/include/vulkan/vulkan_xcb.h \ - $(top_srcdir)/include/vulkan/vulkan_xlib.h \ - $(top_srcdir)/include/vulkan/vulkan.h - -vulkan_include_HEADERS = \ - $(top_srcdir)/include/vulkan/vulkan_intel.h - -lib_LTLIBRARIES += vulkan/libvulkan_intel.la - -check_LTLIBRARIES += vulkan/libvulkan-test.la - -VULKAN_PER_GEN_LIBS = \ - vulkan/libanv-gen7.la \ - vulkan/libanv-gen75.la \ - vulkan/libanv-gen8.la \ - vulkan/libanv-gen9.la \ - vulkan/libanv-gen10.la \ - vulkan/libanv-gen11.la - -noinst_LTLIBRARIES += $(VULKAN_PER_GEN_LIBS) - -VULKAN_CFLAGS = \ - $(AM_CFLAGS) \ - -msse2 -mstackrealign - -VULKAN_CPPFLAGS = \ - -I$(top_srcdir)/src/compiler \ - -I$(top_srcdir)/src/intel/compiler \ - -I$(top_srcdir)/include \ - -I$(top_builddir)/src/intel/vulkan \ - -I$(top_srcdir)/src/intel/vulkan \ - -I$(top_srcdir)/src/vulkan/wsi \ - -I$(top_builddir)/src/vulkan/util \ - -I$(top_srcdir)/src/vulkan/util \ - $(AM_CPPFLAGS) \ - $(LIBDRM_CFLAGS) - -vulkan_libanv_gen7_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libanv_gen7_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=70 -vulkan_libanv_gen7_la_SOURCES = $(VULKAN_GEN7_FILES) - -vulkan_libanv_gen75_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libanv_gen75_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=75 -vulkan_libanv_gen75_la_SOURCES = $(VULKAN_GEN75_FILES) - -vulkan_libanv_gen8_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libanv_gen8_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=80 -vulkan_libanv_gen8_la_SOURCES = $(VULKAN_GEN8_FILES) - -vulkan_libanv_gen9_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libanv_gen9_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=90 -vulkan_libanv_gen9_la_SOURCES = $(VULKAN_GEN9_FILES) - -vulkan_libanv_gen10_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libanv_gen10_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=100 -vulkan_libanv_gen10_la_SOURCES = $(VULKAN_GEN10_FILES) - -vulkan_libanv_gen11_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libanv_gen11_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=110 -vulkan_libanv_gen11_la_SOURCES = $(VULKAN_GEN11_FILES) - -VULKAN_SOURCES = \ - $(VULKAN_GENERATED_FILES) \ - $(VULKAN_FILES) - -VULKAN_LIB_DEPS = \ - vulkan/libvulkan_common.la \ - $(VULKAN_PER_GEN_LIBS) \ - compiler/libintel_compiler.la \ - common/libintel_common.la \ - dev/libintel_dev.la \ - isl/libisl.la \ - blorp/libblorp.la \ - $(top_builddir)/src/vulkan/libvulkan_util.la \ - $(top_builddir)/src/vulkan/libvulkan_wsi.la \ - $(top_builddir)/src/compiler/nir/libnir.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(LIBDRM_LIBS) \ - $(PTHREAD_LIBS) \ - $(DLOPEN_LIBS) \ - -lm - -if HAVE_PLATFORM_ANDROID -VULKAN_CPPFLAGS += \ - $(ANDROID_CPPFLAGS) \ - -DVK_USE_PLATFORM_ANDROID_KHR - -VULKAN_CFLAGS += $(ANDROID_CFLAGS) -VULKAN_LIB_DEPS += $(ANDROID_LIBS) -VULKAN_SOURCES += $(VULKAN_ANDROID_FILES) -else -VULKAN_SOURCES += $(VULKAN_NON_ANDROID_FILES) -endif - -if HAVE_PLATFORM_X11 -VULKAN_CPPFLAGS += \ - $(XCB_DRI3_CFLAGS) \ - -DVK_USE_PLATFORM_XCB_KHR \ - -DVK_USE_PLATFORM_XLIB_KHR - -VULKAN_SOURCES += $(VULKAN_WSI_X11_FILES) - -VULKAN_LIB_DEPS += $(XCB_DRI3_LIBS) -endif - - -if HAVE_PLATFORM_WAYLAND -VULKAN_CPPFLAGS += \ - $(WAYLAND_CLIENT_CFLAGS) \ - -DVK_USE_PLATFORM_WAYLAND_KHR - -VULKAN_SOURCES += $(VULKAN_WSI_WAYLAND_FILES) - -VULKAN_LIB_DEPS += $(WAYLAND_CLIENT_LIBS) -endif - -if HAVE_PLATFORM_DRM -VULKAN_CPPFLAGS += \ - -DVK_USE_PLATFORM_DISPLAY_KHR - -VULKAN_SOURCES += $(VULKAN_WSI_DISPLAY_FILES) -endif - -if HAVE_XLIB_LEASE -VULKAN_CPPFLAGS += \ - -DVK_USE_PLATFORM_XLIB_XRANDR_EXT \ - $(XCB_RANDR_CFLAGS) \ - $(XLIB_RANDR_CFLAGS) -VULKAN_LIB_DEPS += $(XCB_RANDR_LIBS) -endif - -noinst_LTLIBRARIES += vulkan/libvulkan_common.la -vulkan_libvulkan_common_la_SOURCES = $(VULKAN_SOURCES) -vulkan_libvulkan_common_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libvulkan_common_la_CPPFLAGS = $(VULKAN_CPPFLAGS) - -nodist_EXTRA_vulkan_libvulkan_intel_la_SOURCES = dummy.cpp -vulkan_libvulkan_intel_la_SOURCES = $(VULKAN_GEM_FILES) -vulkan_libvulkan_intel_la_LIBADD = $(VULKAN_LIB_DEPS) -vulkan_libvulkan_intel_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libvulkan_intel_la_CPPFLAGS = $(VULKAN_CPPFLAGS) - -vulkan_libvulkan_intel_la_LDFLAGS = \ - -shared \ - -module \ - -no-undefined \ - -avoid-version \ - -Wl,--build-id=sha1 \ - $(BSYMBOLIC) \ - $(GC_SECTIONS) \ - $(LD_NO_UNDEFINED) - -icdconfdir = @VULKAN_ICD_INSTALL_DIR@ -icdconf_DATA = vulkan/intel_icd.@[email protected] -# The following is used for development purposes, by setting VK_ICD_FILENAMES. -noinst_DATA += vulkan/dev_icd.json - -# Libvulkan with dummy gem. Used for unit tests. -vulkan_libvulkan_test_la_SOURCES = $(VULKAN_GEM_STUB_FILES) -vulkan_libvulkan_test_la_LIBADD = $(VULKAN_LIB_DEPS) -vulkan_libvulkan_test_la_CFLAGS = $(VULKAN_CFLAGS) -vulkan_libvulkan_test_la_CPPFLAGS = $(VULKAN_CPPFLAGS) - -include $(top_srcdir)/install-lib-links.mk - -noinst_HEADERS += \ - vulkan/tests/state_pool_test_helper.h - -VULKAN_TESTS = \ - vulkan/tests/block_pool_no_free \ - vulkan/tests/state_pool_no_free \ - vulkan/tests/state_pool_free_list_only \ - vulkan/tests/state_pool_padding \ - vulkan/tests/state_pool - -VULKAN_TEST_LDADD = \ - vulkan/libvulkan-test.la \ - $(PTHREAD_LIBS) -lm -lstdc++ - -check_PROGRAMS += $(VULKAN_TESTS) -TESTS += $(VULKAN_TESTS) - -vulkan_tests_block_pool_no_free_CFLAGS = $(VULKAN_CFLAGS) -vulkan_tests_block_pool_no_free_CPPFLAGS = $(VULKAN_CPPFLAGS) -vulkan_tests_block_pool_no_free_LDADD = $(VULKAN_TEST_LDADD) - -vulkan_tests_state_pool_no_free_CFLAGS = $(VULKAN_CFLAGS) -vulkan_tests_state_pool_no_free_CPPFLAGS = $(VULKAN_CPPFLAGS) -vulkan_tests_state_pool_no_free_LDADD = $(VULKAN_TEST_LDADD) - -vulkan_tests_state_pool_free_list_only_CFLAGS = $(VULKAN_CFLAGS) -vulkan_tests_state_pool_free_list_only_CPPFLAGS = $(VULKAN_CPPFLAGS) -vulkan_tests_state_pool_free_list_only_LDADD = $(VULKAN_TEST_LDADD) - -vulkan_tests_state_pool_padding_CFLAGS = $(VULKAN_CFLAGS) -vulkan_tests_state_pool_padding_CPPFLAGS = $(VULKAN_CPPFLAGS) -vulkan_tests_state_pool_padding_LDADD = $(VULKAN_TEST_LDADD) - -vulkan_tests_state_pool_CFLAGS = $(VULKAN_CFLAGS) -vulkan_tests_state_pool_CPPFLAGS = $(VULKAN_CPPFLAGS) -vulkan_tests_state_pool_LDADD = $(VULKAN_TEST_LDADD) - -endif |