aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin/src/plugins/media/ffmpeg/Makefile.am
blob: 8dec1d591020eee3b01b8869e06c3181072e1b06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
lib_LTLIBRARIES = libffmpegplugin.la
libffmpegplugin_la_SOURCES = ../core/plugin_core.cpp ../core/util.cpp ../core/logger.cpp ffmpeg_core.cpp ffmpeg_audio_convert.cpp ffmpeg_audio_decode.cpp ffmpeg_video_decode.cpp ffmpeg_plugin.cpp
libffmpegplugin_la_CXXFLAGS = -I../include -Wall \
	$(ffmpeg_CFLAGS) \
	$(libswscale_CFLAGS)
libffmpegplugin_la_LDFLAGS = -shared -avoid-version \
	$(ffmpeg_LIBS) \
	$(libswscale_LIBS) \
	$(LDFLAGS)

compile: libffmpegplugin.la
	cp .libs/libffmpegplugin$(LIB_EXT) $(PLUGIN_DIR)