freedreno/ir3: 'keeps' need neighbors found too
[mesa.git] / src / gallium / drivers / freedreno / Makefile.am
index aae2a2458edf73d0aa519f1c1057e82aeafed8bc..dff95ba5270b84b46abebd6a7464b55084a3cdd7 100644 (file)
@@ -1,11 +1,10 @@
-AUTOMAKE_OPTIONS = subdir-objects
-
 include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        -Wno-packed-bitfield-compat \
        -I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \
+       -I$(top_builddir)/src/glsl/nir \
        $(GALLIUM_DRIVER_CFLAGS) \
        $(FREEDRENO_CFLAGS)
 
@@ -20,12 +19,16 @@ libfreedreno_la_SOURCES = \
 
 noinst_PROGRAMS = ir3_compiler
 
+# XXX: Required due to the C++ sources in libnir/libglsl_util
+nodist_EXTRA_ir3_compiler_SOURCES = dummy.cpp
 ir3_compiler_SOURCES = \
        ir3/ir3_cmdline.c
 
 ir3_compiler_LDADD = \
        libfreedreno.la \
-       ../../auxiliary/libgallium.la \
+       $(top_builddir)/src/gallium/auxiliary/libgallium.la \
+       $(top_builddir)/src/glsl/libnir.la \
+       $(top_builddir)/src/libglsl_util.la \
        $(top_builddir)/src/util/libmesautil.la \
        $(GALLIUM_COMMON_LIB_DEPS) \
        $(FREEDRENO_LIBS)