forked from strukturag/vlc-libde265
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
104 lines (89 loc) · 3.85 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects
EXTRA_DIST = \
autogen.sh \
m4/empty.dir \
README.md \
prepare-package.sh \
src/demux/COPYING.LIB \
patches/*
lib_LTLIBRARIES = libde265_plugin.la
CFLAGS = -DVLC_MODULE_COPYRIGHT="\"Copyright \(c) struktur AG\""
CFLAGS += -DVLC_MODULE_LICENSE=\"LGPL\"
libde265_plugin_la_CFLAGS = -DMODULE_STRING=\"de265\" $(libde265_CFLAGS) $(vlc_CFLAGS)
libde265_plugin_la_CPPFLAGS = -DMODULE_STRING=\"de265\" $(libde265_CFLAGS) $(vlc_CFLAGS)
libde265_plugin_la_LIBADD = $(libde265_LIBS) $(vlc_LIBS)
libde265_plugin_la_LDFLAGS = -avoid-version -module -export-symbol-regex ^vlc_entry $(libde265_LDFLAGS) $(vlc_LDFLAGS)
libde265_plugin_la_SOURCES = \
src/codec/libde265dec.c \
include/libde265_plugin_common.h
lib_LTLIBRARIES += libde265demux_plugin.la
libde265demux_plugin_la_CFLAGS = -DMODULE_STRING=\"de265demux\" $(vlc_CFLAGS)
libde265demux_plugin_la_CPPFLAGS = -DMODULE_STRING=\"de265demux\" $(vlc_CFLAGS)
libde265demux_plugin_la_LIBADD = $(vlc_LIBS)
libde265demux_plugin_la_LDFLAGS = -avoid-version -module -export-symbol-regex ^vlc_entry $(vlc_LDFLAGS)
libde265demux_plugin_la_SOURCES = \
src/demux/libde265demux.c \
include/libde265_plugin_common.h
# older versions of vlc don't know about HEVC content in MKV
if !HAVE_VLC_HEVC
lib_LTLIBRARIES += libde265_mkv_plugin.la
libde265_mkv_plugin_la_CFLAGS = -DHAVE_ATTRIBUTE_PACKED -DMODULE_STRING=\"mkv\" $(vlc_CFLAGS)
libde265_mkv_plugin_la_CPPFLAGS = -DHAVE_ATTRIBUTE_PACKED -DMODULE_STRING=\"mkv\" $(vlc_CFLAGS)
libde265_mkv_plugin_la_LIBADD = $(vlc_LIBS) -lebml -lmatroska
libde265_mkv_plugin_la_LDFLAGS = -avoid-version -module -export-symbol-regex ^vlc_entry $(vlc_LDFLAGS)
libde265_mkv_plugin_la_SOURCES = \
src/demux/vobsub.h \
src/demux/mp4/libmp4.c \
src/demux/mp4/libmp4.h \
src/demux/mkv/chapter_command.cpp \
src/demux/mkv/chapter_command.hpp \
src/demux/mkv/chapters.cpp \
src/demux/mkv/chapters.hpp \
src/demux/mkv/demux.cpp \
src/demux/mkv/demux.hpp \
src/demux/mkv/Ebml_parser.cpp \
src/demux/mkv/Ebml_parser.hpp \
src/demux/mkv/matroska_segment.cpp \
src/demux/mkv/matroska_segment.hpp \
src/demux/mkv/matroska_segment_parse.cpp \
src/demux/mkv/mkv.cpp \
src/demux/mkv/mkv.hpp \
src/demux/mkv/stream_io_callback.cpp \
src/demux/mkv/stream_io_callback.hpp \
src/demux/mkv/util.cpp \
src/demux/mkv/util.hpp \
src/demux/mkv/virtual_segment.cpp \
src/demux/mkv/virtual_segment.hpp \
include/libde265_plugin_common.h \
include/vlc_codecs.h
endif
# older versions of vlc don't know about HEVC content in MP4
if !HAVE_VLC_HEVC_MP4
lib_LTLIBRARIES += libde265_mp4_plugin.la
libde265_mp4_plugin_la_CFLAGS = -DHAVE_ATTRIBUTE_PACKED -DMODULE_STRING=\"mp4\" $(vlc_CFLAGS)
libde265_mp4_plugin_la_CPPFLAGS = -DHAVE_ATTRIBUTE_PACKED -DMODULE_STRING=\"mp4\" $(vlc_CFLAGS)
libde265_mp4_plugin_la_LIBADD = $(vlc_LIBS)
libde265_mp4_plugin_la_LDFLAGS = -avoid-version -module -export-symbol-regex ^vlc_entry $(vlc_LDFLAGS)
libde265_mp4_plugin_la_SOURCES = \
src/demux/mp4/id3genres.h \
src/demux/mp4/libmp4.c \
src/demux/mp4/libmp4.h \
src/demux/mp4/mp4.c
endif
# older versions of vlc don't know about HEVC content in MPEG-TS
if !HAVE_VLC_HEVC_TS
lib_LTLIBRARIES += libde265_ts_plugin.la
libde265_ts_plugin_la_CFLAGS = -DHAVE_ATTRIBUTE_PACKED -DMODULE_STRING=\"ts\" $(vlc_CFLAGS) $(libdvbpsi_CFLAGS) -Wno-deprecated-declarations
libde265_ts_plugin_la_CPPFLAGS = -DHAVE_ATTRIBUTE_PACKED -DMODULE_STRING=\"ts\" $(vlc_CFLAGS) $(libdvbpsi_CFLAGS)
libde265_ts_plugin_la_LIBADD = $(vlc_LIBS) $(libdvbpsi_LIBS)
libde265_ts_plugin_la_LDFLAGS = -avoid-version -module -export-symbol-regex ^vlc_entry $(vlc_LDFLAGS)
libde265_ts_plugin_la_SOURCES = \
src/demux/dvb-text.h \
src/demux/ts.c \
src/mux/mpeg/csa.c \
src/mux/mpeg/csa.h \
src/mux/mpeg/dvbpsi_compat.h \
include/libde265_plugin_common.h \
include/vlc_codecs.h
endif