blob: a48d1f6f6a6653f3675d162e123e555b0d35189a (
plain)
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
|
AM_CPPFLAGS = -I.. @XML2_CFLAGS@ @PTHREAD_CFLAGS@ @GDK_PIXBUF_CFLAGS@
if APPLE
X_LIBS =
else
if ENABLE_RPI
X_LIBS = -lX11 -lGLESv2 -lEGL
else
if ENABLE_EGL
X_LIBS = -lXxf86vm -lX11 -lGLESv2 -lEGL
else
X_LIBS = -lXxf86vm -lX11
endif
endif
endif
ALL_H = FFMpegDemuxer.h VideoDemuxerThread.h VideoDecoder.h \
VideoDecoderThread.h AudioDecoderThread.h VideoMsg.h FFMpegFrameDecoder.h \
AsyncVideoDecoder.h VideoDecoderThread.h SyncVideoDecoder.h \
VideoInfo.h WrapFFMpeg.h
if USE_VDPAU_SRC
ALL_H += VDPAUDecoder.h VDPAUHelper.h
endif
TESTS = testvideo
EXTRA_DIST = $(wildcard baseline/*.png)
noinst_LTLIBRARIES = libvideo.la
noinst_PROGRAMS = testvideo
libvideo_la_SOURCES = FFMpegDemuxer.cpp VideoDemuxerThread.cpp VideoDecoder.cpp \
VideoDecoderThread.cpp AudioDecoderThread.cpp VideoMsg.cpp \
AsyncVideoDecoder.cpp VideoInfo.cpp SyncVideoDecoder.cpp \
FFMpegFrameDecoder.cpp \
$(ALL_H)
if USE_VDPAU_SRC
libvideo_la_SOURCES += VDPAUDecoder.cpp VDPAUHelper.cpp
endif
libvideo_la_LIBADD = @LIBVIDEO_LDADD@
testvideo_SOURCES = testvideo.cpp $(ALL_H)
testvideo_LDADD = ./libvideo.la ../audio/libaudio.la ../graphics/libgraphics.la \
../base/libbase.la ../base/triangulate/libtriangulate.la -ldl \
@GL_LIBS@ @GLU_LIBS@ @SDL_LIBS@ @XML2_LIBS@ \
@BOOST_THREAD_LIBS@ @PTHREAD_LIBS@ @LIBFFMPEG@ @LIBAVRESAMPLE@ @GDK_PIXBUF_LIBS@ \
$(X_LIBS)
|