X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2FMakefile;h=d1555b9d4fd32d318ceca034a27d453fc4b08d11;hb=5ac2037d8e5ab71a1915389cd08b458cfb60d64f;hp=b5bb2e7e7fbf711f92b09cdc98b471e32f984a16;hpb=5877eaa318ed3060f57621657c0888258da41a59;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile index b5bb2e7e..d1555b9d 100644 --- a/cinelerra-5.1/thirdparty/Makefile +++ b/cinelerra-5.1/thirdparty/Makefile @@ -28,6 +28,8 @@ include $(TOPDIR)/global_config -include $(TOPDIR)/cin_config BLD := $(THIRDPARTY)/build +ifneq ($(WANT_CIN_3RDPARTY),no) + # package build flags, if needed # need frame pointer for debugs and helps with profiling # NOTE: the trailing blank is MANDITORY or the builds fail @@ -219,7 +221,9 @@ LV2_PKGCFG:=$(subst : ,:,$(foreach p,lv2 serd sord sratom lilv suil,$(call pkg_c # lv2 define waf-setup -$(1).cfg_vars+=echo 'exec ./waf configure "$(DS)@"' > ./configure; chmod +x \ +$(1).cfg_vars+=./waf --version; find .waf* -type f -name "*.py" | \ + while read f; do sed -e '/StopIter/d' -i "$(DS)f"; done; \ + echo 'exec ./waf configure "$(DS)@"' > ./configure; chmod +x \ ./configure; PKG_CONFIG_PATH=$(LV2_PKGCFG) LD_LIBRARY_PATH=$(LV2_LIBPATH) $(1).cfg_params+=\ CFLAGS="-I$(call bld_path,lv2) $(foreach f,$(2), $(call inc_path,$(f))) -fPIC "\ @@ -343,7 +347,13 @@ clean: install: cp -a $(ver_mjpegtools)/mpeg2enc/mpeg2enc $(BINDIR)/. cp -a $(ver_mjpegtools)/mplex/mplex $(BINDIR)/. +else +# not WANT_CIN_3RDPARTY +all: +clean: +install: +endif val-%: @echo $($(subst val-,,$@))