From: dezeroex Date: Thu, 4 Aug 2005 16:58:50 +0000 (+0000) Subject: ffmpeg split of the libavutil library. X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=1ff2f3c07a8ac0bb4e99e8f6a273ae8ccf938e29;p=melted ffmpeg split of the libavutil library. git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@793 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/avformat/Makefile b/src/modules/avformat/Makefile index dd83b8b..cc4b1d7 100644 --- a/src/modules/avformat/Makefile +++ b/src/modules/avformat/Makefile @@ -28,6 +28,7 @@ $(TARGET): $(OBJS) $(MAKE) -C ffmpeg all ; \ cp -f ffmpeg/libavcodec/libavcodec$(AVFORMAT_SUFFIX)$(LIBSUF) ../../framework/libavcodec$(AVFORMAT_SUFFIX)$(LIBSUF) ; \ cp -f ffmpeg/libavformat/libavformat$(AVFORMAT_SUFFIX)$(LIBSUF) ../../framework/libavformat$(AVFORMAT_SUFFIX)$(LIBSUF) ; \ + cp -f ffmpeg/libavutil/libavutil$(AVFORMAT_SUFFIX)$(LIBSUF) ../../framework/libavutil$(AVFORMAT_SUFFIX)$(LIBSUF) ; \ fi $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS) @@ -41,13 +42,14 @@ dist-clean: clean clean: #if [ $(LOCAL_FFMPEG) ] ; then $(MAKE) -C ffmpeg clean ; fi - rm -f ../../framework/libavcodec$(AVFORMAT_SUFFIX)$(LIBSUF) ../../framework/libavformat$(AVFORMAT_SUFFIX)$(LIBSUF) $(OBJS) $(TARGET) + rm -f ../../framework/libavcodec$(AVFORMAT_SUFFIX)$(LIBSUF) ../../framework/libavformat$(AVFORMAT_SUFFIX)$(LIBSUF) ../../framework/libavutil$(AVFORMAT_SUFFIX)$(LIBSUF) $(OBJS) $(TARGET) install: all install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" if [ $(LOCAL_FFMPEG) ] ; then \ install -m 755 ../../framework/libavcodec$(AVFORMAT_SUFFIX)$(LIBSUF) "$(prefix)/lib" ; \ install -m 755 ../../framework/libavformat$(AVFORMAT_SUFFIX)$(LIBSUF) "$(prefix)/lib" ; \ + install -m 755 ../../framework/libavutil$(AVFORMAT_SUFFIX)$(LIBSUF) "$(prefix)/lib" ; \ fi ifneq ($(wildcard .depend),) diff --git a/src/modules/avformat/configure b/src/modules/avformat/configure index ef24081..24315e9 100755 --- a/src/modules/avformat/configure +++ b/src/modules/avformat/configure @@ -65,7 +65,7 @@ else ) [ -d "ffmpeg" ] && ( cd ffmpeg ; ./configure --enable-shared --build-suffix="$avformat_suffix" ) #[ ! -f "ffmpeg/ffmpeg.patch" ] && ( cd ffmpeg ; cp ../ffmpeg.patch . ; patch -p0 < ffmpeg.patch ) - echo "CFLAGS+=-I`pwd`/ffmpeg/libavformat -I`pwd`/ffmpeg/libavcodec" >> config.mak + echo "CFLAGS+=-I`pwd`/ffmpeg/libavformat -I`pwd`/ffmpeg/libavcodec -I`pwd`/ffmpeg/libavutil" >> config.mak echo "LOCAL_FFMPEG=1" >> config.mak extra_libs="$extra_libs -lz" elif [ "$static_ffmpeg" != "" ]