X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fvc4%2FMakefile.am;h=c3e49af975d623a3d6c8fd70d4831e095969f3bf;hb=09c1c13c4442148e45a4aeac3425382bbe90e8cd;hp=774463138d0ff6b2a56e5cac2a7c0cb6c2dd4fa4;hpb=404a90b82786080564fe32716f83ce055b9a934f;p=mesa.git diff --git a/src/gallium/drivers/vc4/Makefile.am b/src/gallium/drivers/vc4/Makefile.am index 774463138d0..c3e49af975d 100644 --- a/src/gallium/drivers/vc4/Makefile.am +++ b/src/gallium/drivers/vc4/Makefile.am @@ -23,19 +23,35 @@ include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc if USE_VC4_SIMULATOR -SIM_CFLAGS = -DUSE_VC4_SIMULATOR=1 SIM_LDFLAGS = -lsimpenrose endif AM_CFLAGS = \ + -I$(top_builddir)/src/compiler/nir \ + -I$(top_srcdir)/include/drm-uapi \ + -I$(top_builddir)/src \ + -I$(top_srcdir)/src/broadcom/cle \ $(LIBDRM_CFLAGS) \ $(GALLIUM_DRIVER_CFLAGS) \ $(SIM_CFLAGS) \ - -I$(top_srcdir)/src/mesa/ \ + $(VALGRIND_CFLAGS) \ $() noinst_LTLIBRARIES = libvc4.la libvc4_la_SOURCES = $(C_SOURCES) -libvc4_la_LIBADD = $(SIM_LIB) + +libvc4_la_LIBADD = \ + $(SIM_LIB) \ + $() + +if HAVE_ARM_ASM +noinst_LTLIBRARIES += libvc4_neon.la +libvc4_la_LIBADD += libvc4_neon.la +libvc4_neon_la_SOURCES = $(NEON_C_SOURCES) +libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -mfpu=neon +endif + libvc4_la_LDFLAGS = $(SIM_LDFLAGS) + +EXTRA_DIST = kernel/README