rework findobject, add opecv_build
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
index a9469da0ff74c365427ce8bfe7a4a0f7c2bfe928..cf72e5ac70b95d9bdb3100189616cf2e86df3571 100644 (file)
@@ -1,9 +1,12 @@
-TOPDIR ?= $(CURDIR)/..
+export TOPDIR ?= $(CURDIR)/..
 include $(TOPDIR)/global_config
 
 ifeq ($(WANT_DVB), yes)
 LIVEDVB = liveaudio livevideo
 endif
+ifneq ($(WANT_FINDOBJECT), no)
+FINDOBJECT = findobject
+endif
 
 # burn must come before any other effecttv plugin
 # colors must come before any plugin
@@ -15,6 +18,7 @@ DIRS = \
        1080to540 \
        720to480 \
        aging \
+       scaleratio \
        audioscope \
        bandslide \
        bandwipe \
@@ -29,6 +33,7 @@ DIRS = \
        color3way \
        colorbalance \
        compressor \
+       crikey \
        crossfade \
        dcoffset \
        decimate \
@@ -49,6 +54,7 @@ DIRS = \
        echo \
        echocancel \
        fieldframe \
+       $(FINDOBJECT) \
        flash \
        flip \
        framefield \
@@ -77,6 +83,9 @@ DIRS = \
        loopaudio \
        loopvideo \
        motion \
+       motion51 \
+       motion-cv \
+       motion-hv \
        motion2point \
        motionblur \
        normalize \
@@ -101,6 +110,7 @@ DIRS = \
        rgb601 \
        rgbshift \
        rotate \
+       rumbler \
        scale \
        shapewipe \
        sharpen \
@@ -120,11 +130,11 @@ DIRS = \
        translate \
        unsharp \
        videoscope \
-       vocoder \
        wave \
        whirl \
        wipe \
        yuv \
+       yuv411 \
        yuvshift \
        zoom \
        zoomblur \
@@ -143,6 +153,8 @@ DIRS = \
 #      greycstoration \
 # not finished
 #      denoisemjpeg \
+# duplicate
+#      vocoder \
 
 PLUGIN_DIR = $(BINDIR)/plugins
 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
@@ -158,8 +170,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