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

Dave Yeo daveryeo
Fri Mar 28 15:56:56 CET 2008

On 03/28/08 02:23 am, M?ns Rullg?rd wrote:
> Dave Yeo <daveryeo at telus.net> writes:
>> 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
> I know why that's happening; will fix.
>> 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.
> Should be easy enough to fix.
>> 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.
> Hmm, I guess some dependencies are missing.  Was this with shared
> libs?

With configure --enable-shared.

More information about the ffmpeg-devel mailing list