lv2 rework, sams ffmpeg icons, elision patch
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
index d1bc16aafc7d100b7d2c8ed8d9e455dccb3857f5..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 \
@@ -42,6 +49,7 @@ DIRS = \
        denoisefft \
        denoiseseltempavg \
        denoisevideo \
+       descratch \
        despike \
        diffkey \
        dissolve \
@@ -60,6 +68,7 @@ DIRS = \
        gamma \
        gradient \
        graphic \
+       histeq \
        histogram \
        histogram_bezier \
        holo \
@@ -106,12 +115,14 @@ DIRS = \
        rgb601 \
        rgbshift \
        rotate \
+       rumbler \
        scale \
        shapewipe \
        sharpen \
        shiftinterlace \
        slide \
        spectrogram \
+       spherecam \
        svg \
        swapchannels \
        swapframes \
@@ -160,7 +171,7 @@ all:        $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
 $(PLUGIN_DIR):
        mkdir -p $@
 
-$(DATA):
+$(DATA):       $(PLUGIN_DIR)
        cp -a $(notdir $@) $(PLUGIN_DIR)/.
 
 $(LADSPA_DIR):