[FFmpeg-devel] [PATCH] Non-recursive makefiles

Dave Yeo daveryeo
Fri Mar 28 06:07:28 CET 2008


On 03/27/08 07:02 pm, M?ns Rullg?rd wrote:
> This splendid patch makes the makefiles non-recursive, which is good
> in a number of ways.  Through some clever tricks, it is still possible
> to invoke make in a subdirectory to build only that library.
> 
> Please test.  If you're too lazy to help me test it, at least comment.
> 

Tested on OS/2. With static libs make && make install works fine as well 
  as make uninstall. Likewise after CDing into libavutil.
Unluckily enabling shared fails here (no make clean after building 
static libs, which usually worked fine before patch)
cp -f avcode51.dll libavcodec/avcodec.dll
cp: cannot stat `avcode51.dll': No such file or directory
make: *** [libavcodec/avcodec.dll] Error 1

Also the DEF file and import libs are created in ffmpeg instead of 
libavcodec. Linking the DLL still works and there is a 
libavcodec/avcode52.dll.
make clean && make does work in ffmpeg/libavcodec as well as make install.
make clean && make in ffmpeg fails in libavcodec due to missing symbols 
due to libavutil not being compiled yet.
Dave





More information about the ffmpeg-devel mailing list