blob: c56d714f87493d8ef861ff10233183933bbf29a9 [file] [log] [blame]
plugin_LTLIBRARIES = libgstvpu.la
noinst_HEADERS = \
gstvpu.h \
gstvpudec.h \
gstvpudecobject.h \
gstvpuallocator.h \
gstvpuenc.h
libgstvpu_la_SOURCES = \
gstvpu.c \
gstvpuplugins.c \
gstvpudec.c \
gstvpudecobject.c \
gstvpuallocator.c \
gstvpuenc.c
libgstvpu_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBDRM_CFLAGS)
libgstvpu_la_CFLAGS += -I$(top_srcdir)/libs -I$(top_srcdir)/ext-includes
libgstvpu_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) -lgstvideo-$(GST_API_VERSION) \
$(VPU_LIBS) $(LIBM)
libgstvpu_la_LIBADD += ../../libs/libgstfsl-@GST_API_VERSION@.la
if USE_ION
libgstvpu_la_CFLAGS += -DUSE_ION
endif
if USE_BAD_ALLOCATOR
libgstvpu_la_LIBADD += -lgstbadallocators-$(GST_API_VERSION)
endif
libgstvpu_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvpu_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)