summaryrefslogtreecommitdiff
path: root/src/libffmpeg/Makefile.am
blob: 565982fc1fae5849e0de3af9cd0ce3b00554d911 (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
include $(top_srcdir)/misc/Makefile.common

SUBDIRS = libavcodec 

# I don't think this should include internal docs that are not interesting
# for end users at all... -siggi
EXTRA_DIST =

INTERNAL_DOCS = diff_to_ffmpeg_cvs.txt

libdir = $(XINE_PLUGINDIR)

lib_LTLIBRARIES = xineplug_decode_ff.la

if HAVE_DXR3
AM_CPPFLAGS = -I$(top_srcdir)/src/dxr3
xineplug_decode_ff_la_SOURCES = xine_decoder.c xine_encoder.c
# The dxr3 uses ffmpegs MPEG encoder by dlopen()ing the ffmpeg plugin and
# dlsym()ing the necessary function. Therefore we must allow more exported
# symbols and cannot use @XINE_PLUGIN_MIN_SYMS@
xineplug_decode_ff_la_LDFLAGS = -avoid-version -module
else
xineplug_decode_ff_la_SOURCES = xine_decoder.c
xineplug_decode_ff_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
endif

xineplug_decode_ff_la_LIBADD = $(XINE_LIB) \
	$(top_builddir)/src/libffmpeg/libavcodec/libavcodec.la \
	$(top_builddir)/src/libffmpeg/libavcodec/libpostproc/libpostprocess.la