Makefile.am 2.12 KB
Newer Older
D Scott Phillips's avatar
D Scott Phillips committed
1 2 3
plugin_LTLIBRARIES = libgstmsdk.la

libgstmsdk_la_SOURCES = \
4
	gstmsdkcontext.c \
5
	gstmsdkcontextutil.c \
Hyunjun Ko's avatar
Hyunjun Ko committed
6 7 8
	gstmsdksystemmemory.c \
	gstmsdkvideomemory.c \
	gstmsdkbufferpool.c \
9
	gstmsdkh264dec.c \
D Scott Phillips's avatar
D Scott Phillips committed
10
	gstmsdkh264enc.c \
11
	gstmsdkh265dec.c \
D Scott Phillips's avatar
D Scott Phillips committed
12
	gstmsdkh265enc.c \
13
	gstmsdkmjpegdec.c \
14
	gstmsdkmjpegenc.c \
15
	gstmsdkmpeg2dec.c \
D Scott Phillips's avatar
D Scott Phillips committed
16
	gstmsdkmpeg2enc.c \
Hyunjun Ko's avatar
Hyunjun Ko committed
17
	gstmsdkvp8dec.c \
D Scott Phillips's avatar
D Scott Phillips committed
18
	gstmsdkvp8enc.c \
19
	gstmsdkvc1dec.c \
20
	gstmsdkdec.c \
D Scott Phillips's avatar
D Scott Phillips committed
21
	gstmsdkenc.c \
22
	gstmsdkvpp.c \
23
	gstmsdk.c \
24
	msdk-enums.c \
25 26
	gstmsdkvpputil.c \
	gstmsdkdecproputil.c
D Scott Phillips's avatar
D Scott Phillips committed
27 28 29 30 31 32

# Causes linking libgstmsdk.la with CXXLINK, required by libmfx
nodist_EXTRA_libgstmsdk_la_SOURCES = not_present.cxx

noinst_HEADERS = \
	msdk.h \
33
        msdk-enums.h \
34
	gstmsdkcontext.h \
35
	gstmsdkcontextutil.h \
Hyunjun Ko's avatar
Hyunjun Ko committed
36 37
	gstmsdksystemmemory.h \
	gstmsdkvideomemory.h \
38
	gstmsdkallocator.h \
Hyunjun Ko's avatar
Hyunjun Ko committed
39
	gstmsdkbufferpool.h \
40
	gstmsdkh264dec.h \
D Scott Phillips's avatar
D Scott Phillips committed
41
	gstmsdkh264enc.h \
42
	gstmsdkh265dec.h \
D Scott Phillips's avatar
D Scott Phillips committed
43
	gstmsdkh265enc.h \
44
	gstmsdkmjpegdec.h \
45
	gstmsdkmjpegenc.h \
46
	gstmsdkmpeg2dec.h \
D Scott Phillips's avatar
D Scott Phillips committed
47
	gstmsdkmpeg2enc.h \
Hyunjun Ko's avatar
Hyunjun Ko committed
48
	gstmsdkvp8dec.h \
D Scott Phillips's avatar
D Scott Phillips committed
49
	gstmsdkvp8enc.h \
50
	gstmsdkvc1dec.h \
51
	gstmsdkdec.h \
52 53
	gstmsdkenc.h \
	gstmsdkvpp.h \
54 55
	gstmsdkvpputil.h \
	gstmsdkdecproputil.h
D Scott Phillips's avatar
D Scott Phillips committed
56

57 58 59 60 61 62 63 64
# Conditional build for vp9 decoder
libgstmsdk_vp9dec_source_c = gstmsdkvp9dec.c
libgstmsdk_vp9dec_source_h = gstmsdkvp9dec.h
if USE_MSDK_VP9_DEC
libgstmsdk_la_SOURCES += $(libgstmsdk_vp9dec_source_c)
noinst_HEADERS += $(libgstmsdk_vp9dec_source_h)
endif

D Scott Phillips's avatar
D Scott Phillips committed
65 66
libgstmsdk_la_CFLAGS = \
	$(GST_CFLAGS) \
67
	$(GST_BASE_CFLAGS) \
D Scott Phillips's avatar
D Scott Phillips committed
68 69
	$(GST_PBUTILS_CFLAGS) \
	$(GST_VIDEO_CFLAGS) \
Hyunjun Ko's avatar
Hyunjun Ko committed
70
	$(GST_ALLOCATORS_CFLAGS) \
71
	$(MSDK_CFLAGS) \
72 73
	$(LIBMFX_CFLAGS)\
	$(G_UDEV_CFLAGS)
D Scott Phillips's avatar
D Scott Phillips committed
74 75 76

libgstmsdk_la_LIBADD = \
	$(GST_LIBS) \
77
	$(GST_BASE_LIBS) \
D Scott Phillips's avatar
D Scott Phillips committed
78 79
	$(GST_PBUTILS_LIBS) \
	$(GST_VIDEO_LIBS) \
Hyunjun Ko's avatar
Hyunjun Ko committed
80
	$(GST_ALLOCATORS_LIBS) \
81
	$(MSDK_LIBS) \
82 83
	$(LIBMFX_LIBS) \
	$(G_UDEV_LIBS)
D Scott Phillips's avatar
D Scott Phillips committed
84 85 86

if USE_MSDK_LIBVA
libgstmsdk_la_SOURCES += \
87
	msdk.c \
88 89
	msdk_libva.c \
	gstmsdkallocator_libva.c
D Scott Phillips's avatar
D Scott Phillips committed
90 91 92 93
libgstmsdk_la_CFLAGS += \
	$(LIBVA_DRM_CFLAGS)
libgstmsdk_la_LIBADD += \
	$(LIBVA_DRM_LIBS)
94
noinst_HEADERS += \
95 96
	msdk_libva.h \
	gstmsdkallocator_libva.h
D Scott Phillips's avatar
D Scott Phillips committed
97 98
endif

99
# Windows compilation files, used by meson
100
EXTRA_DIST = \
101 102
	msdk_d3d.c \
	gstmsdkallocator_d3d.c
103

D Scott Phillips's avatar
D Scott Phillips committed
104
libgstmsdk_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)