1 export TOPDIR ?= $(CURDIR)/..
2 include $(TOPDIR)/global_config
4 ifeq ($(WANT_DVB), yes)
5 LIVEDVB = liveaudio livevideo
7 ifneq ($(WANT_OPENCV), no)
8 want_var:=$(WANT_OPENCV)
9 include $(TOPDIR)/opencv_build
10 OPENCV_OBJS := findobj flowobj gaborobj moveobj
11 $(OPENCV_OBJS): opencv
14 # burn must come before any other effecttv plugin
15 # colors must come before any plugin
16 # parametric must come before fourier plugins
17 # motion must come before perspective
19 DIRS = $(OPENCV_OBJS) \
161 PLUGIN_DIR = $(BINDIR)/plugins
162 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
163 LADSPA_DIR = $(BINDIR)/ladspa
165 all: $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
171 cp -a $(notdir $@) $(PLUGIN_DIR)/.
175 if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \
176 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \
179 # parallel compilation of all directories
185 rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
186 rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
190 # dependencies for parallel build
195 motion2point: downsample motion
197 timestretchrt: timestretch