Clone of mesa.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Makefile.isl.am 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # Copyright 2015-2016 Intel Corporation
  2. #
  3. # Permission is hereby granted, free of charge, to any person obtaining a
  4. # copy of this software and associated documentation files (the "Software"),
  5. # to deal in the Software without restriction, including without limitation
  6. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  7. # and/or sell copies of the Software, and to permit persons to whom the
  8. # Software is furnished to do so, subject to the following conditions:
  9. #
  10. # The above copyright notice and this permission notice (including the next
  11. # paragraph) shall be included in all copies or substantial portions of the
  12. # Software.
  13. #
  14. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  20. # IN THE SOFTWARE.
  21. ISL_GEN_LIBS = \
  22. isl/libisl-gen4.la \
  23. isl/libisl-gen5.la \
  24. isl/libisl-gen6.la \
  25. isl/libisl-gen7.la \
  26. isl/libisl-gen75.la \
  27. isl/libisl-gen8.la \
  28. isl/libisl-gen9.la \
  29. $(NULL)
  30. noinst_LTLIBRARIES += $(ISL_GEN_LIBS) isl/libisl.la
  31. isl_libisl_la_LIBADD = $(ISL_GEN_LIBS)
  32. isl_libisl_la_SOURCES = $(ISL_FILES) $(ISL_GENERATED_FILES)
  33. isl_libisl_gen4_la_SOURCES = $(ISL_GEN4_FILES)
  34. isl_libisl_gen4_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=40
  35. isl_libisl_gen5_la_SOURCES = $(ISL_GEN5_FILES)
  36. isl_libisl_gen5_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=50
  37. isl_libisl_gen6_la_SOURCES = $(ISL_GEN6_FILES)
  38. isl_libisl_gen6_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=60
  39. isl_libisl_gen7_la_SOURCES = $(ISL_GEN7_FILES)
  40. isl_libisl_gen7_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=70
  41. isl_libisl_gen75_la_SOURCES = $(ISL_GEN75_FILES)
  42. isl_libisl_gen75_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=75
  43. isl_libisl_gen8_la_SOURCES = $(ISL_GEN8_FILES)
  44. isl_libisl_gen8_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=80
  45. isl_libisl_gen9_la_SOURCES = $(ISL_GEN9_FILES)
  46. isl_libisl_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90
  47. BUILT_SOURCES += $(ISL_GENERATED_FILES)
  48. isl/isl_format_layout.c: isl/gen_format_layout.py \
  49. isl/isl_format_layout.csv
  50. $(MKDIR_GEN)
  51. $(PYTHON_GEN) $(srcdir)/isl/gen_format_layout.py \
  52. --csv $(srcdir)/isl/isl_format_layout.csv --out $@
  53. # ----------------------------------------------------------------------------
  54. # Tests
  55. # ----------------------------------------------------------------------------
  56. check_PROGRAMS += isl/tests/isl_surf_get_image_offset_test
  57. TESTS += $(check_PROGRAMS)
  58. isl_tests_isl_surf_get_image_offset_test_LDADD = \
  59. common/libintel_common.la \
  60. isl/libisl.la \
  61. $(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la \
  62. -lm
  63. # ----------------------------------------------------------------------------
  64. EXTRA_DIST += \
  65. isl/gen_format_layout.py \
  66. isl/isl_format_layout.csv \
  67. isl/README