Makefile.am 2.16 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
	gstmsdkvp9enc.c \
20
	gstmsdkvc1dec.c \
21
	gstmsdkdec.c \
D Scott Phillips's avatar
D Scott Phillips committed
22
	gstmsdkenc.c \
23
	gstmsdkvpp.c \
24
	gstmsdk.c \
25
	msdk-enums.c \
26 27
	gstmsdkvpputil.c \
	gstmsdkdecproputil.c
D Scott Phillips's avatar
D Scott Phillips committed
28 29 30 31 32 33

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

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

59 60 61 62 63 64 65 66
# 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
67 68
libgstmsdk_la_CFLAGS = \
	$(GST_CFLAGS) \
69
	$(GST_BASE_CFLAGS) \
D Scott Phillips's avatar
D Scott Phillips committed
70 71
	$(GST_PBUTILS_CFLAGS) \
	$(GST_VIDEO_CFLAGS) \
Hyunjun Ko's avatar
Hyunjun Ko committed
72
	$(GST_ALLOCATORS_CFLAGS) \
73
	$(MSDK_CFLAGS) \
74 75
	$(LIBMFX_CFLAGS)\
	$(G_UDEV_CFLAGS)
D Scott Phillips's avatar
D Scott Phillips committed
76 77 78

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

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

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

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