use autoconf/automake for configuration
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
index ffbff61197d035b08fad6ef9da29c73160e4c669..e498f2b9e827c3ca9f239b11cf8a906e0a84464c 100644 (file)
@@ -1,4 +1,9 @@
-include ../global_config
+TOPDIR ?= $(CURDIR)/..
+include $(TOPDIR)/global_config
+
+ifeq ($(HAVE_DVB), yes)
+LIVEDVB = liveaudio livevideo
+endif
 
 # burn must come before any other effecttv plugin
 # colors must come before any plugin
@@ -33,7 +38,6 @@ DIRS = \
        delayvideo \
        denoise \
        denoisefft \
-       denoisemjpeg \
        denoiseseltempavg \
        denoisevideo \
        despike \
@@ -54,7 +58,6 @@ DIRS = \
        gamma \
        gradient \
        graphic \
-       greycstoration \
        histogram \
        histogram_bezier \
        holo \
@@ -70,8 +73,7 @@ DIRS = \
        level \
        libeffecttv \
        linearblur \
-       liveaudio \
-       livevideo \
+       $(LIVEDVB) \
        loopaudio \
        loopvideo \
        motion \
@@ -136,7 +138,11 @@ DIRS = \
        theme_suv \
        theme_unflat \
 
+# too costly
 #      findobject \
+#      greycstoration \
+# not finished
+#      denoisemjpeg \
 
 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
 LADSPA = $(BINDIR)/ladspa
@@ -159,7 +165,7 @@ $(DIRS):
 
 clean:
        rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
-       rm -rf $(PLUGIN_DIR)
+       rm -rf $(PLUGIN_DIR) $(LADSPA)
 
 install: