1 include Makefile.sources
2 include $(top_srcdir)/src/gallium/Automake.inc
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) \
12 MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
13 ir3/ir3_nir_trig.c: ir3/ir3_nir_trig.py $(top_srcdir)/src/compiler/nir/nir_algebraic.py
15 $(AM_V_GEN) $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/ir3/ir3_nir_trig.py -p $(top_srcdir)/src/compiler/nir > $@ || ($(RM) $@; false)
17 noinst_LTLIBRARIES = libfreedreno.la
19 libfreedreno_la_SOURCES = \
27 $(ir3_GENERATED_FILES)
29 BUILT_SOURCES := $(ir3_GENERATED_FILES)
30 CLEANFILES := $(BUILT_SOURCES)
31 EXTRA_DIST = ir3/ir3_nir_trig.py
33 noinst_PROGRAMS = ir3_compiler
35 # XXX: Required due to the C++ sources in libnir
36 nodist_EXTRA_ir3_compiler_SOURCES = dummy.cpp
37 ir3_compiler_SOURCES = \
40 ir3_compiler_LDADD = \
42 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
43 $(top_builddir)/src/compiler/nir/libnir.la \
44 $(top_builddir)/src/compiler/glsl/libstandalone.la \
45 $(top_builddir)/src/util/libmesautil.la \
46 $(top_builddir)/src/mesa/libmesagallium.la \
47 $(GALLIUM_COMMON_LIB_DEPS) \
50 EXTRA_DIST += meson.build