lv2 rework, sams ffmpeg icons, elision patch
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
index 09ae02694652d75b773186c52da641251b686f7e..6ed357c71455c4958e148fe9d28dbefd1db58db5 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 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 \
@@ -30,6 +37,7 @@ DIRS = \
        color3way \
        colorbalance \
        compressor \
+       crikey \
        crossfade \
        dcoffset \
        decimate \
@@ -41,6 +49,7 @@ DIRS = \
        denoisefft \
        denoiseseltempavg \
        denoisevideo \
+       descratch \
        despike \
        diffkey \
        dissolve \
@@ -59,6 +68,7 @@ DIRS = \
        gamma \
        gradient \
        graphic \
+       histeq \
        histogram \
        histogram_bezier \
        holo \
@@ -78,6 +88,9 @@ DIRS = \
        loopaudio \
        loopvideo \
        motion \
+       motion51 \
+       motion-cv \
+       motion-hv \
        motion2point \
        motionblur \
        normalize \
@@ -102,12 +115,14 @@ DIRS = \
        rgb601 \
        rgbshift \
        rotate \
+       rumbler \
        scale \
        shapewipe \
        sharpen \
        shiftinterlace \
        slide \
        spectrogram \
+       spherecam \
        svg \
        swapchannels \
        swapframes \
@@ -121,11 +136,11 @@ DIRS = \
        translate \
        unsharp \
        videoscope \
-       vocoder \
        wave \
        whirl \
        wipe \
        yuv \
+       yuv411 \
        yuvshift \
        zoom \
        zoomblur \
@@ -144,6 +159,8 @@ DIRS = \
 #      greycstoration \
 # not finished
 #      denoisemjpeg \
+# duplicate
+#      vocoder \
 
 PLUGIN_DIR = $(BINDIR)/plugins
 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
@@ -154,13 +171,13 @@ all:      $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
 $(PLUGIN_DIR):
        mkdir -p $@
 
-$(DATA):
+$(DATA):       $(PLUGIN_DIR)
        cp -a $(notdir $@) $(PLUGIN_DIR)/.
 
 $(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