X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2FMakefile;h=125de335d7d99f25897e627b0bb7ee31c7ad9566;hb=7e5a0760f40ff787cc3d93cb7768a901ebe52809;hp=ffbff61197d035b08fad6ef9da29c73160e4c669;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/Makefile b/cinelerra-5.1/plugins/Makefile index ffbff611..125de335 100644 --- a/cinelerra-5.1/plugins/Makefile +++ b/cinelerra-5.1/plugins/Makefile @@ -1,15 +1,28 @@ -include ../global_config +export TOPDIR ?= $(CURDIR)/.. +include $(TOPDIR)/global_config +default: all + +ifeq ($(WANT_DVB), yes) +LIVEDVB = liveaudio livevideo +endif +ifneq ($(WANT_OPENCV), no) +want_var:=$(WANT_OPENCV) +include $(TOPDIR)/opencv_build +OPENCV_OBJS := findobj flowobj gaborobj moveobj stylizeobj puzzleobj +$(OPENCV_OBJS): opencv +endif # burn must come before any other effecttv plugin # colors must come before any plugin # parametric must come before fourier plugins # motion must come before perspective -DIRS = \ +DIRS = $(OPENCV_OBJS) \ 1080to480 \ 1080to540 \ 720to480 \ aging \ + scaleratio \ audioscope \ bandslide \ bandwipe \ @@ -24,6 +37,7 @@ DIRS = \ color3way \ colorbalance \ compressor \ + crikey \ crossfade \ dcoffset \ decimate \ @@ -33,9 +47,9 @@ DIRS = \ delayvideo \ denoise \ denoisefft \ - denoisemjpeg \ denoiseseltempavg \ denoisevideo \ + descratch \ despike \ diffkey \ dissolve \ @@ -54,7 +68,7 @@ DIRS = \ gamma \ gradient \ graphic \ - greycstoration \ + histeq \ histogram \ histogram_bezier \ holo \ @@ -70,11 +84,13 @@ DIRS = \ level \ libeffecttv \ linearblur \ - liveaudio \ - livevideo \ + $(LIVEDVB) \ loopaudio \ loopvideo \ motion \ + motion51 \ + motion-cv \ + motion-hv \ motion2point \ motionblur \ normalize \ @@ -99,12 +115,14 @@ DIRS = \ rgb601 \ rgbshift \ rotate \ + rumbler \ scale \ shapewipe \ sharpen \ shiftinterlace \ slide \ spectrogram \ + spherecam \ svg \ swapchannels \ swapframes \ @@ -118,11 +136,11 @@ DIRS = \ translate \ unsharp \ videoscope \ - vocoder \ wave \ whirl \ wipe \ yuv \ + yuv411 \ yuvshift \ zoom \ zoomblur \ @@ -132,24 +150,35 @@ DIRS = \ theme_blue_dot \ theme_bright \ theme_hulk \ + theme_neophyte \ theme_pinklady \ theme_suv \ theme_unflat \ +# too costly # findobject \ +# greycstoration \ +# not finished +# denoisemjpeg \ +# duplicate +# vocoder \ +PLUGIN_DIR = $(BINDIR)/plugins DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes -LADSPA = $(BINDIR)/ladspa +LADSPA_DIR = $(BINDIR)/ladspa + +all: $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR) -all: $(DIRS) $(DATA) $(LADSPA) +$(PLUGIN_DIR): + mkdir -p $@ -$(DATA): +$(DATA): $(PLUGIN_DIR) cp -a $(notdir $@) $(PLUGIN_DIR)/. -$(LADSPA): +$(LADSPA_DIR): mkdir -p $@ - if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa ]; then \ - cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa/. $@/. ; \ + if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \ + cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \ fi # parallel compilation of all directories @@ -159,7 +188,7 @@ $(DIRS): clean: rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR)) - rm -rf $(PLUGIN_DIR) + rm -rf $(PLUGIN_DIR) $(LADSPA_DIR) install: