intel/aub_write: factorize context image/pphwsp/ring creation
[mesa.git] / src / intel / Makefile.tools.am
1 # Copyright 2015-2017 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 noinst_PROGRAMS += \
23 tools/aubinator \
24 tools/aubinator_error_decode \
25 tools/i965_disasm \
26 tools/error2aub
27
28
29 tools_aubinator_SOURCES = \
30 tools/aub_mem.c \
31 tools/aub_mem.h \
32 tools/aub_read.c \
33 tools/aub_read.h \
34 tools/aubinator.c \
35 tools/intel_aub.h
36
37 tools_aubinator_CFLAGS = \
38 $(AM_CFLAGS) \
39 $(ZLIB_CFLAGS)
40
41 tools_aubinator_LDADD = \
42 common/libintel_common.la \
43 compiler/libintel_compiler.la \
44 dev/libintel_dev.la \
45 isl/libisl.la \
46 $(top_builddir)/src/util/libmesautil.la \
47 $(PER_GEN_LIBS) \
48 $(PTHREAD_LIBS) \
49 $(DLOPEN_LIBS) \
50 $(ZLIB_LIBS) \
51 -lm
52
53
54 tools_aubinator_error_decode_SOURCES = \
55 tools/aubinator_error_decode.c
56
57 tools_aubinator_error_decode_LDADD = \
58 common/libintel_common.la \
59 compiler/libintel_compiler.la \
60 dev/libintel_dev.la \
61 isl/libisl.la \
62 $(top_builddir)/src/util/libmesautil.la \
63 $(PTHREAD_LIBS) \
64 $(ZLIB_LIBS)
65
66 tools_aubinator_error_decode_CFLAGS = \
67 $(AM_CFLAGS) \
68 $(ZLIB_CFLAGS)
69
70 tools_i965_disasm_SOURCES = \
71 tools/i965_disasm.c
72
73 tools_i965_disasm_LDADD = \
74 common/libintel_common.la \
75 compiler/libintel_compiler.la \
76 dev/libintel_dev.la \
77 $(top_builddir)/src/util/libmesautil.la \
78 $(PTHREAD_LIBS)
79
80 tools_i965_disasm_CFLAGS = \
81 $(AM_CFLAGS)
82
83
84 tools_error2aub_SOURCES = \
85 tools/gen_context.h \
86 tools/gen8_context.h \
87 tools/gen10_context.h \
88 tools/aub_write.h \
89 tools/aub_write.c \
90 tools/error2aub.c
91
92 tools_error2aub_CFLAGS = \
93 $(AM_CFLAGS) \
94 $(ZLIB_CFLAGS)
95
96 tools_error2aub_LDADD = \
97 dev/libintel_dev.la \
98 $(PTHREAD_LIBS) \
99 $(DLOPEN_LIBS) \
100 $(ZLIB_LIBS) \
101 -lm