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

Axel Holzinger aholzinger
Thu Apr 10 16:07:58 CEST 2008


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

Regards
Axel






More information about the ffmpeg-devel mailing list