X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.0%2Fthirdparty%2FMakefile;fp=cinelerra-5.0%2Fthirdparty%2FMakefile;h=6e3a23234b6aaa3d9503403e3ce6db1a5b60d47e;hb=0fb566814c8a2948506be87ea7ecd08128ae119b;hp=89d4b5bc9fe4ca919ec978dbd6a38f4e8bb8a780;hpb=1784ebd93b6c278a5205f040b5b40d8bdd79ed8a;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/thirdparty/Makefile b/cinelerra-5.0/thirdparty/Makefile index 89d4b5bc..6e3a2323 100644 --- a/cinelerra-5.0/thirdparty/Makefile +++ b/cinelerra-5.0/thirdparty/Makefile @@ -69,11 +69,11 @@ $(call pkg-source,$(1)): $(call pkg-config,$(1)): $(call pkg-source,$(1)) $(foreach dep,$(2),$(call bld_depends,$(dep))) @echo "CONFIGURING $(1)" cd $(1)* && \ - $($(1).cfg_vars) ./configure $($(1).cfg_params) + $($(1).cfg_vars) $(CFG_VARS) ./configure $($(1).cfg_params) $(CFG_PARAMS) touch $$@ $(call pkg-built,$(1)): $(call pkg-config,$(1)) - +$($(1).mak_vars) make -C $(1)* $($(1).mak_params) + +$($(1).mak_vars) $(MAK_VARS) make -C $(1)* $($(1).mak_params) $(MAK_PARAMS) touch $$@ endef @@ -145,6 +145,7 @@ ffmpeg.cfg_params= \ -ldl $(EXTRA_LIBS)" \ --extra-ldflags="-ldl" +a52dec.mak_params= ; cd $(call bld_path,a52dec,include); ln -sf . a52dec audiofile.cfg_params=--enable-shared=no audiofile.mak_params=LIBS="-lm -lstdc++" flac.cfg_params= --enable-shared=no @@ -152,7 +153,7 @@ flac.cflags="$(call inc_path,libogg,include) $(call ld_path,libogg,src/.libs)" giflib.cfg_params=--enable-shared=no ilmbase.cfg_params=--prefix=$(call bld_path,ilmbase,usr) ilmbase.mak_params=; make -C ilmbase* install; cd $(call bld_path,ilmbase); ln -sf lib64 usr/lib -lame.cfg_vars= CFLAGS=-O +lame.cfg_vars= CFLAGS+=" -O" lame.cfg_params=--enable-shared=no lame.mak_params= ; cd $(call bld_path,lame,include); ln -sf . lame mjpegtools.cflags="$(call inc_path,libjpeg) $(call ld_path,libjpeg,.libs)" @@ -208,6 +209,7 @@ else rules=$(eval $(1)) endif +$(call rules,$(call std-build,a52dec)) $(call rules,$(call std-build,audiofile)) $(call rules,$(call std-build,encore)) $(call rules,$(call std-build,esound,audiofile))