compiler issues, warnings, makefile spiffs
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
index e498f2b9e827c3ca9f239b11cf8a906e0a84464c..09ae02694652d75b773186c52da641251b686f7e 100644 (file)
@@ -1,7 +1,7 @@
-TOPDIR ?= $(CURDIR)/..
+export TOPDIR ?= $(CURDIR)/..
 include $(TOPDIR)/global_config
 
-ifeq ($(HAVE_DVB), yes)
+ifeq ($(WANT_DVB), yes)
 LIVEDVB = liveaudio livevideo
 endif
 
@@ -15,6 +15,7 @@ DIRS = \
        1080to540 \
        720to480 \
        aging \
+       scaleratio \
        audioscope \
        bandslide \
        bandwipe \
@@ -144,15 +145,19 @@ DIRS = \
 # not finished
 #      denoisemjpeg \
 
+PLUGIN_DIR = $(BINDIR)/plugins
 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
-LADSPA = $(BINDIR)/ladspa
+LADSPA_DIR = $(BINDIR)/ladspa
 
-all:   $(DIRS) $(DATA) $(LADSPA)
+all:   $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
+
+$(PLUGIN_DIR):
+       mkdir -p $@
 
 $(DATA):
        cp -a $(notdir $@) $(PLUGIN_DIR)/.
 
-$(LADSPA):
+$(LADSPA_DIR):
        mkdir -p $@
        if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa ]; then \
                cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa/. $@/. ; \
@@ -165,7 +170,7 @@ $(DIRS):
 
 clean:
        rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
-       rm -rf $(PLUGIN_DIR) $(LADSPA)
+       rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
 
 install: