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 \
color3way \
colorbalance \
compressor \
+ crikey \
crossfade \
dcoffset \
decimate \
denoisefft \
denoiseseltempavg \
denoisevideo \
+ descratch \
despike \
diffkey \
dissolve \
gamma \
gradient \
graphic \
+ histeq \
histogram \
histogram_bezier \
holo \
loopaudio \
loopvideo \
motion \
+ motion51 \
motion-cv \
motion-hv \
motion2point \
rgb601 \
rgbshift \
rotate \
+ rumbler \
scale \
shapewipe \
sharpen \
shiftinterlace \
slide \
spectrogram \
+ spherecam \
svg \
swapchannels \
swapframes \
translate \
unsharp \
videoscope \
- vocoder \
wave \
whirl \
wipe \
# greycstoration \
# not finished
# denoisemjpeg \
+# duplicate
+# vocoder \
PLUGIN_DIR = $(BINDIR)/plugins
DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
$(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