blob: edf111a8c5a7d4b84eddb006adaf6ef7aa9207ad [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)
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_H1_ENC
libgstvpu_la_CFLAGS += -DUSE_H1_ENC
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)