intel: decoder: unify MI_BB_START field naming
[mesa.git] / src / intel / Makefile.isl.am
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
22 ISL_GEN_LIBS = \
23 isl/libisl-gen4.la \
24 isl/libisl-gen5.la \
25 isl/libisl-gen6.la \
26 isl/libisl-gen7.la \
27 isl/libisl-gen75.la \
28 isl/libisl-gen8.la \
29 isl/libisl-gen9.la \
30 isl/libisl-gen10.la \
31 isl/libisl-gen11.la \
32 $(NULL)
33
34 noinst_LTLIBRARIES += $(ISL_GEN_LIBS) isl/libisl.la
35
36 isl_libisl_la_LIBADD = $(ISL_GEN_LIBS)
37 isl_libisl_la_SOURCES = $(ISL_FILES) $(ISL_GENERATED_FILES)
38
39 isl_libisl_gen4_la_SOURCES = $(ISL_GEN4_FILES)
40 isl_libisl_gen4_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=40
41
42 isl_libisl_gen5_la_SOURCES = $(ISL_GEN5_FILES)
43 isl_libisl_gen5_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=50
44
45 isl_libisl_gen6_la_SOURCES = $(ISL_GEN6_FILES)
46 isl_libisl_gen6_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=60
47
48 isl_libisl_gen7_la_SOURCES = $(ISL_GEN7_FILES)
49 isl_libisl_gen7_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=70
50
51 isl_libisl_gen75_la_SOURCES = $(ISL_GEN75_FILES)
52 isl_libisl_gen75_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=75
53
54 isl_libisl_gen8_la_SOURCES = $(ISL_GEN8_FILES)
55 isl_libisl_gen8_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=80
56
57 isl_libisl_gen9_la_SOURCES = $(ISL_GEN9_FILES)
58 isl_libisl_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90
59
60 isl_libisl_gen10_la_SOURCES = $(ISL_GEN10_FILES)
61 isl_libisl_gen10_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=100
62
63 isl_libisl_gen11_la_SOURCES = $(ISL_GEN11_FILES)
64 isl_libisl_gen11_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=110
65
66 BUILT_SOURCES += $(ISL_GENERATED_FILES)
67
68 isl/isl_format_layout.c: isl/gen_format_layout.py \
69 isl/isl_format_layout.csv
70 $(MKDIR_GEN)
71 $(PYTHON_GEN) $(srcdir)/isl/gen_format_layout.py \
72 --csv $(srcdir)/isl/isl_format_layout.csv --out $@
73
74 # ----------------------------------------------------------------------------
75 # Tests
76 # ----------------------------------------------------------------------------
77
78 check_PROGRAMS += isl/tests/isl_surf_get_image_offset_test
79
80 TESTS += $(check_PROGRAMS)
81
82 isl_tests_isl_surf_get_image_offset_test_LDADD = \
83 dev/libintel_dev.la \
84 isl/libisl.la \
85 $(top_builddir)/src/util/libmesautil.la \
86 -lm
87
88 # ----------------------------------------------------------------------------
89
90 EXTRA_DIST += \
91 isl/gen_format_layout.py \
92 isl/isl_format_layout.csv \
93 isl/README