radeonsi: remove flushes at the beginning and end of IBs done by the kernel
[mesa.git] / src / gallium / drivers / freedreno / Makefile.am
1 include Makefile.sources
2 include $(top_srcdir)/src/gallium/Automake.inc
3
4 AM_CFLAGS = \
5 -Wno-packed-bitfield-compat \
6 -I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \
7 -I$(top_builddir)/src/compiler/nir \
8 -I$(top_srcdir)/src/compiler/nir \
9 $(GALLIUM_DRIVER_CFLAGS) \
10 $(FREEDRENO_CFLAGS)
11
12 ir3/ir3_nir_trig.c: ir3/ir3_nir_trig.py $(top_srcdir)/src/compiler/nir/nir_algebraic.py
13 $(MKDIR_GEN)
14 $(AM_V_GEN) PYTHONPATH=$(top_srcdir)/src/compiler/nir $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/ir3/ir3_nir_trig.py > $@ || ($(RM) $@; false)
15
16 noinst_LTLIBRARIES = libfreedreno.la
17
18 libfreedreno_la_SOURCES = \
19 $(C_SOURCES) \
20 $(a2xx_SOURCES) \
21 $(a3xx_SOURCES) \
22 $(a4xx_SOURCES) \
23 $(ir3_SOURCES) \
24 $(ir3_GENERATED_FILES)
25
26 BUILT_SOURCES := $(ir3_GENERATED_FILES)
27 CLEANFILES := $(BUILT_SOURCES)
28
29 noinst_PROGRAMS = ir3_compiler
30
31 # XXX: Required due to the C++ sources in libnir
32 nodist_EXTRA_ir3_compiler_SOURCES = dummy.cpp
33 ir3_compiler_SOURCES = \
34 ir3/ir3_cmdline.c
35
36 ir3_compiler_LDADD = \
37 libfreedreno.la \
38 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
39 $(top_builddir)/src/compiler/nir/libnir.la \
40 $(top_builddir)/src/util/libmesautil.la \
41 $(GALLIUM_COMMON_LIB_DEPS) \
42 $(FREEDRENO_LIBS)