Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

82 lines (63 sloc) 2.132 kB
ARCH=@ARCH@
AR=@AR@
LD=@LD@
CC=@CC@
CXX=@CXX@
SYSDIR=@abs_top_srcdir@/system/players/dvdplayer
AVFORMAT_SO=avformat-53-$(ARCH).so
AVCODEC_SO=avcodec-53-$(ARCH).so
AVUTIL_SO=avutil-51-$(ARCH).so
AVFILTER_SO=avfilter-2-$(ARCH).so
SWSCALE_SO=swscale-2-$(ARCH).so
POSTPROC_SO=postproc-52-$(ARCH).so
SWRESAMPLE_SO=swresample-0-$(ARCH).so
DIRS=
ifneq (@USE_EXTERNAL_FFMPEG@,1)
DIRS+=ffmpeg
endif
LIBS=
ifneq (@USE_EXTERNAL_FFMPEG@,1)
LIBS+=$(AVUTIL_SO) \
$(AVCODEC_SO) \
$(AVFORMAT_SO) \
$(POSTPROC_SO) \
$(AVFILTER_SO) \
$(SWSCALE_SO) \
$(SWRESAMPLE_SO)
endif
.PHONY: $(DIRS) codecs
ifneq ($(findstring osx,$(ARCH)), osx)
codecs: $(addprefix $(SYSDIR)/, $(LIBS));
$(SYSDIR)/$(AVUTIL_SO): ffmpeg/libavutil/libavutil.so
cp ffmpeg/libavutil/libavutil.so $@
$(SYSDIR)/$(AVCODEC_SO): ffmpeg/libavcodec/libavcodec.so
cp ffmpeg/libavcodec/libavcodec.so $@
$(SYSDIR)/$(AVFORMAT_SO): ffmpeg/libavformat/libavformat.so
cp ffmpeg/libavformat/libavformat.so $@
$(SYSDIR)/$(AVFILTER_SO): ffmpeg/libavfilter/libavfilter.so
cp ffmpeg/libavfilter/libavfilter.so $@
$(SYSDIR)/$(SWSCALE_SO): ffmpeg/libswscale/libswscale.so
cp ffmpeg/libswscale/libswscale.so $@
$(SYSDIR)/$(POSTPROC_SO): ffmpeg/libpostproc/libpostproc.so
cp ffmpeg/libpostproc/libpostproc.so $@
$(SYSDIR)/$(SWRESAMPLE_SO): ffmpeg/libswresample/libswresample.so
cp ffmpeg/libswresample/libswresample.so $@
ffmpeg/libavutil/libavutil.so : ffmpeg;
ffmpeg/libavcodec/libavcodec.so : ffmpeg;
ffmpeg/libavformat/libavformat.so : ffmpeg;
ffmpeg/libavfilter/libavfilter.so : ffmpeg;
ffmpeg/libswscale/libswscale.so : ffmpeg;
ffmpeg/libpostproc/libpostproc.so : ffmpeg;
ffmpeg/libswresample/libswresample.so : ffmpeg;
endif
ffmpeg:
$(MAKE) -C $@
ifeq ($(findstring osx,$(ARCH)), osx)
-$(AR) d ffmpeg/libavcodec/libavcodec.a inverse.o
endif
clean:
rm -f $(addprefix $(SYSDIR)/, $(LIBS))
for d in $(DIRS); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" clean); fi ); done
distclean:
rm -f $(addprefix $(SYSDIR)/, $(LIBS))
for d in $(DIRS); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" distclean || $(MAKE) -C "$$d" clean); fi ); done
Jump to Line
Something went wrong with that request. Please try again.