cbf62c6daae833c827796f5b571c40f2f4ccf3c5
[mesa.git] / src / gallium / drivers / freedreno / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 include Makefile.sources
4 include $(top_srcdir)/src/gallium/Automake.inc
5
6 AM_CFLAGS = \
7 -Wno-packed-bitfield-compat \
8 -I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \
9 -I$(top_builddir)/src/glsl/nir \
10 $(GALLIUM_DRIVER_CFLAGS) \
11 $(FREEDRENO_CFLAGS)
12
13 noinst_LTLIBRARIES = libfreedreno.la
14
15 libfreedreno_la_SOURCES = \
16 $(C_SOURCES) \
17 $(a2xx_SOURCES) \
18 $(a3xx_SOURCES) \
19 $(a4xx_SOURCES) \
20 $(ir3_SOURCES)
21
22 noinst_PROGRAMS = ir3_compiler
23
24 # XXX: Required due to the C++ sources in libnir/libglsl_util
25 nodist_EXTRA_ir3_compiler_SOURCES = dummy.cpp
26 ir3_compiler_SOURCES = \
27 ir3/ir3_cmdline.c
28
29 ir3_compiler_LDADD = \
30 libfreedreno.la \
31 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
32 $(top_builddir)/src/glsl/libnir.la \
33 $(top_builddir)/src/libglsl_util.la \
34 $(top_builddir)/src/util/libmesautil.la \
35 $(GALLIUM_COMMON_LIB_DEPS) \
36 $(FREEDRENO_LIBS)