[Live-devel] automake
Derk-Jan Hartman
hartman at videolan.org
Thu Feb 23 12:53:05 PST 2006
On 23-feb-2006, at 2:05, Erwin Rol wrote:
> Hey all,
>
> I just added some automake files to liveMedia so i can build
> libraries a
> bit easier. Currently I just hardcoded the CFLAGS from the
> config.linux
> file, but most things should be easy to detect with automake/conf on
> Unix.
>
> It should be even possible to add the files in parallel, because they
> are all new files. The only thing that would happen is that
> "configure"
> gets overwritten, but that "configure" dummy is a bit silly anyway.
>
> Let me know if someone wants the patches.
Please do share :D
vlc's contrib is getting a bit complicated with cross compiling, SDK
support and all that.
> live: live555-$(LIVEDOTCOM_VERSION).tar.gz
> $(EXTRACT_GZ)
> patch -p 0 < Patches/live.patch
> patch -p 0 < Patches/livedotcom-win32.patch
> patch -p 0 < Patches/live-osx.patch
>
> .live: live
> ifeq ($(HOST),powerpc-apple-darwin8)
> (cd $<; mv config.macosx config.macosx.orig)
> (cd $<; sed -e 's%EXTRA_CFLAGS%$(EXTRA_CFLAGS)%' -e 's%
> EXTRA_LDFLAGS%$(EXTRA_LDFLAGS)%' < config.macosx.orig > config.macosx)
> (cd $<; ./genMakefiles macosx && make)
> else
> ifeq ($(HOST),powerpc-apple-darwin*)
> (cd $<; ./genMakefiles macosx-before-version-10.4 && make )
> else
> ifdef( HAVE_WIN32 )
> (cd $<;./genMakefiles mingw && make $(HOSTCC))
> else
> (cd $<;./genMakefiles linux && make )
> endif
> endif
> endif
> touch $@
>
More information about the live-devel
mailing list