1 export TOPDIR ?= $(CURDIR)/..
2 include $(TOPDIR)/global_config
5 ifeq ($(WANT_DVB), yes)
6 LIVEDVB = liveaudio livevideo
8 ifneq ($(WANT_OPENCV), no)
9 want_var:=$(WANT_OPENCV)
10 include $(TOPDIR)/opencv_build
11 OPENCV_OBJS := findobj flowobj gaborobj moveobj stylizeobj puzzleobj
12 $(OPENCV_OBJS): opencv
15 # burn must come before any other effecttv plugin
16 # colors must come before any plugin
17 # parametric must come before fourier plugins
18 # motion must come before perspective
20 DIRS = $(OPENCV_OBJS) \
166 PLUGIN_DIR = $(BINDIR)/plugins
167 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
168 LADSPA_DIR = $(BINDIR)/ladspa
170 all: $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
175 $(DATA): $(PLUGIN_DIR)
176 cp -a $(notdir $@) $(PLUGIN_DIR)/.
180 if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \
181 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \
184 # parallel compilation of all directories
190 rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
191 rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
195 # dependencies for parallel build
200 motion2point: downsample motion
202 timestretchrt: timestretch