-include ../global_config
+export TOPDIR ?= $(CURDIR)/..
+include $(TOPDIR)/global_config
+default: all
-ifeq ($(HAVE_DVB), y)
+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
+$(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 \
aging \
+ scaleratio \
audioscope \
bandslide \
bandwipe \
color3way \
colorbalance \
compressor \
+ crikey \
crossfade \
dcoffset \
decimate \
delayvideo \
denoise \
denoisefft \
- denoisemjpeg \
denoiseseltempavg \
denoisevideo \
despike \
gamma \
gradient \
graphic \
- greycstoration \
histogram \
histogram_bezier \
holo \
loopaudio \
loopvideo \
motion \
+ motion51 \
+ motion-cv \
+ motion-hv \
motion2point \
motionblur \
normalize \
rgb601 \
rgbshift \
rotate \
+ rumbler \
scale \
shapewipe \
sharpen \
shiftinterlace \
slide \
spectrogram \
+ spherecam \
svg \
swapchannels \
swapframes \
translate \
unsharp \
videoscope \
- vocoder \
wave \
whirl \
wipe \
yuv \
+ yuv411 \
yuvshift \
zoom \
zoomblur \
theme_suv \
theme_unflat \
+# too costly
# findobject \
+# greycstoration \
+# not finished
+# denoisemjpeg \
+# duplicate
+# vocoder \
+PLUGIN_DIR = $(BINDIR)/plugins
DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
-LADSPA = $(BINDIR)/ladspa
+LADSPA_DIR = $(BINDIR)/ladspa
+
+all: $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
-all: $(DIRS) $(DATA) $(LADSPA)
+$(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/. $@/. ; \
+ if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \
+ cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \
fi
# parallel compilation of all directories
clean:
rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
- rm -rf $(PLUGIN_DIR)
+ rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
install: