freedreno: drm_fourcc.h header include
[mesa.git] / src / gallium / drivers / freedreno / Makefile.am
index ee5d506f2a388f8cd13ea52371e30312792b1cac..fe409fa5f52bc06c42ec917dafc815c8651c0c54 100644 (file)
@@ -1,13 +1,16 @@
-AUTOMAKE_OPTIONS = subdir-objects
-
 include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        -Wno-packed-bitfield-compat \
+       -I$(top_srcdir)/include/drm-uapi \
        -I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \
-       $(GALLIUM_DRIVER_CFLAGS) \
-       $(FREEDRENO_CFLAGS)
+       -I$(top_srcdir)/src/freedreno \
+       -I$(top_srcdir)/src/freedreno/registers \
+       -I$(top_builddir)/src/compiler/nir \
+       -I$(top_srcdir)/src/compiler/nir \
+       $(LIBDRM_CFLAGS) \
+       $(GALLIUM_DRIVER_CFLAGS)
 
 noinst_LTLIBRARIES = libfreedreno.la
 
@@ -15,18 +18,9 @@ libfreedreno_la_SOURCES = \
        $(C_SOURCES) \
        $(a2xx_SOURCES) \
        $(a3xx_SOURCES) \
+       $(a4xx_SOURCES) \
+       $(a5xx_SOURCES) \
+       $(a6xx_SOURCES) \
        $(ir3_SOURCES)
 
-noinst_PROGRAMS = ir3_compiler
-
-ir3_compiler_SOURCES = \
-       ir3/ir3_cmdline.c
-
-ir3_compiler_LDADD = \
-       libfreedreno.la \
-       ../../auxiliary/libgallium.la \
-       $(top_builddir)/src/util/libmesautil.la \
-       $(GALLIUM_COMMON_LIB_DEPS) \
-       $(FREEDRENO_LIBS)
-
-EXTRA_DIST = Android.mk
+EXTRA_DIST = meson.build