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

Axel Holzinger aholzinger
Thu Apr 10 18:19:55 CEST 2008


Axel Holzinger wrote:
> Hi,
> 
> Victor Paesa wrote:
> > Hi,
> >
> > M?ns Rullg?rd said:
> > > "V?ctor Paesa" writes:
> > >
> > >> Hi,
> > >>
> > >> Victor Paesa said:
> > >>> Hi,
> > >>>
> > >>> Diego Biurrun writes:
> > >>>
> > >>>> .. and we finally have non-recursive make ..
> > >>>
> > >>> Sorry, I can't test by myself until Wednesday night, but I
> > >>> believe/speculate that --build-suffix in configure won't
> > work.
> > >>>
> > >>> I imagine at least this is needed:
> > >>>
> > >>>
> >
> =================================================================
> > ==
> > >>> --- Makefile    (revision 12767)
> > >>> +++ Makefile    (working copy)
> > >>> @@ -34,7 +34,7 @@
> > >>>  FF_EXTRALIBS := $(FFEXTRALIBS)
> > >>>
> > >>>  S := $(BUILD_SHARED:yes=S)
> > >>> -DEP_LIBS := $(foreach
> > >>> L,$(FFLIBS),lib$(L)/$($(S)LIBPREF)$(L)$($(S)LIBSUF))
> > +DEP_LIBS :>>
> > >>> $(foreach
> > >>>
> > L,$(FFLIBS),lib$(L)/$($(S)LIBPREF)$(L)$(BUILDSUF)$($(S)LIBSUF))
> > >>>
> > >>>  ALL_TARGETS-$(CONFIG_VHOOK) += videohook
> > >>>  ALL_TARGETS-$(BUILD_DOC)    += documentation
> > >>>
> > >>> Could anybody test/confirm?
> > >>
> > >> I was able to devote some time to this, and confirmed the
> > issue: when
> > >> running this in source tree build ...
> > >>
> > >> ./configure --enable-shared --disable-static --build-
> > suffix=SVN ; make
> > >>
> > >> ... make fails with:
> > >>
> > >> make: *** No rule to make target
> > `libavdevice/cygavdevice.dll', needed
> > >> by `all'.  Stop.
> > >>
> > >> Unfortunately, my suggested patch does not work :-(
> > >
> > > Fixed.  Can you please confirm on cygwin?
> >
> > Thanks, now it works OK for me on Cygwin.
> 
> Unfortunately doesn't work on Msys/Mingw:
> 
> $ ./configure --enable-static --enable-memalign-hack
> 
> $ make
> make: *** No rule to make target `libavdevice/libavdevice.a',
> needed
> by `all'.  Stop.
> 
> ffmpeg r12781

The makes oft he different libs work fine, when called directly:
$ cd libavdevice
$ make

When all libs are built, the FFmpeg make works and FFmpeg is built.

Is there perhaps a problem with the paths in the makefile for FFmpeg
so that the lib makefiles aren't found for some reason?

Can anybody give a hint how I can find out what is missing?

Regards
Axel






More information about the ffmpeg-devel mailing list