2015-07-30 06:42:38 +00:00
|
|
|
plugin_LTLIBRARIES = libgstnvenc.la
|
|
|
|
|
|
|
|
libgstnvenc_la_SOURCES = \
|
|
|
|
gstnvenc.c \
|
|
|
|
gstnvbaseenc.c \
|
2018-04-06 14:22:26 +00:00
|
|
|
gstnvh264enc.c \
|
|
|
|
gstnvh265enc.c
|
2015-07-30 06:42:38 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
gstnvenc.h \
|
|
|
|
gstnvbaseenc.h \
|
2018-04-06 14:22:26 +00:00
|
|
|
gstnvh264enc.h \
|
|
|
|
gstnvh265enc.h
|
2015-07-30 06:42:38 +00:00
|
|
|
|
|
|
|
libgstnvenc_la_CFLAGS = \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
2015-07-30 06:42:38 +00:00
|
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_CFLAGS) \
|
2015-07-30 06:42:38 +00:00
|
|
|
$(CUDA_CFLAGS) \
|
|
|
|
$(NVENCODE_CFLAGS)
|
|
|
|
|
|
|
|
libgstnvenc_la_LIBADD = \
|
|
|
|
$(GST_PBUTILS_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_LIBS) \
|
2015-07-30 06:42:38 +00:00
|
|
|
$(CUDA_LIBS) \
|
|
|
|
$(NVENCODE_LIBS)
|
|
|
|
|
|
|
|
if USE_NVENC_GST_GL
|
2017-12-17 20:54:06 +00:00
|
|
|
libgstnvenc_la_CFLAGS += $(GST_GL_CFLAGS)
|
|
|
|
libgstnvenc_la_LIBADD += $(GST_GL_LIBS)
|
2015-07-30 06:42:38 +00:00
|
|
|
endif
|
|
|
|
libgstnvenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|