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
14 ifneq ($(WANT_CUDA), no)
15 CUDA_OBJS := mandelcuda nbodycuda
18 # burn must come before any other effecttv plugin
19 # colors must come before any plugin
20 # parametric must come before fourier plugins
21 # motion must come before perspective
23 DIRS = $(OPENCV_OBJS) \
173 PLATFORM = $(shell uname)
174 ifeq ($(PLATFORM), NetBSD)
175 DIRS += theme_blond theme_blue
176 else ifeq ($(PLATFORM), FreeBSD)
177 DIRS += theme_blond theme_blue
178 else ifeq ($(PLATFORM), Linux)
179 DIRS += cdripper theme_blond theme_blue
193 PLUGIN_DIR = $(BINDIR)/plugins
194 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes $(PLUGIN_DIR)/scopes
195 LADSPA_DIR = $(BINDIR)/ladspa
197 all: $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
202 $(DATA): $(PLUGIN_DIR)
203 cp -a $(notdir $@) $(PLUGIN_DIR)/.
207 if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \
208 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \
211 # parallel compilation of all directories
217 rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
218 rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
222 # dependencies for parallel build
227 motion2point: downsample motion
229 timestretchrt: timestretch