add default:all target to plugin Makefile, fix ffmpeg load_filter buffer refs
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
index 5bac9134d3d10848de34cec26c398394e036179b..745f88083c25bf71430d1ab062a0c97166325584 100644 (file)
@@ -1,16 +1,23 @@
 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
+$(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 \
@@ -30,6 +37,7 @@ DIRS = \
        color3way \
        colorbalance \
        compressor \
+       crikey \
        crossfade \
        dcoffset \
        decimate \
@@ -78,6 +86,7 @@ DIRS = \
        loopaudio \
        loopvideo \
        motion \
+       motion51 \
        motion-cv \
        motion-hv \
        motion2point \
@@ -104,6 +113,7 @@ DIRS = \
        rgb601 \
        rgbshift \
        rotate \
+       rumbler \
        scale \
        shapewipe \
        sharpen \
@@ -123,7 +133,6 @@ DIRS = \
        translate \
        unsharp \
        videoscope \
-       vocoder \
        wave \
        whirl \
        wipe \
@@ -147,6 +156,8 @@ DIRS = \
 #      greycstoration \
 # not finished
 #      denoisemjpeg \
+# duplicate
+#      vocoder \
 
 PLUGIN_DIR = $(BINDIR)/plugins
 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
@@ -162,8 +173,8 @@ $(DATA):
 
 $(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