add default:all target to plugin Makefile, fix ffmpeg load_filter buffer refs
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
index aec17e689d736c13d2d2d837a69762c97ffda139..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 \
@@ -106,6 +113,7 @@ DIRS = \
        rgb601 \
        rgbshift \
        rotate \
+       rumbler \
        scale \
        shapewipe \
        sharpen \
@@ -125,7 +133,6 @@ DIRS = \
        translate \
        unsharp \
        videoscope \
-       vocoder \
        wave \
        whirl \
        wipe \
@@ -149,6 +156,8 @@ DIRS = \
 #      greycstoration \
 # not finished
 #      denoisemjpeg \
+# duplicate
+#      vocoder \
 
 PLUGIN_DIR = $(BINDIR)/plugins
 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes