projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add default:all target to plugin Makefile, fix ffmpeg load_filter buffer refs
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
Makefile
diff --git
a/cinelerra-5.1/plugins/Makefile
b/cinelerra-5.1/plugins/Makefile
index 2467e78d8e6fee89a02230d0678413ccfecf6821..745f88083c25bf71430d1ab062a0c97166325584 100644
(file)
--- a/
cinelerra-5.1/plugins/Makefile
+++ b/
cinelerra-5.1/plugins/Makefile
@@
-1,19
+1,28
@@
-include ../global_config
+export TOPDIR ?= $(CURDIR)/..
+include $(TOPDIR)/global_config
+default: all
-ifeq ($(
HAVE_DVB), y
)
+ifeq ($(
WANT_DVB), yes
)
LIVEDVB = liveaudio livevideo
endif
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
# 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 \
1080to480 \
1080to540 \
720to480 \
aging \
+ scaleratio \
audioscope \
bandslide \
bandwipe \
audioscope \
bandslide \
bandwipe \
@@
-28,6
+37,7
@@
DIRS = \
color3way \
colorbalance \
compressor \
color3way \
colorbalance \
compressor \
+ crikey \
crossfade \
dcoffset \
decimate \
crossfade \
dcoffset \
decimate \
@@
-37,7
+47,6
@@
DIRS = \
delayvideo \
denoise \
denoisefft \
delayvideo \
denoise \
denoisefft \
- denoisemjpeg \
denoiseseltempavg \
denoisevideo \
despike \
denoiseseltempavg \
denoisevideo \
despike \
@@
-58,7
+67,6
@@
DIRS = \
gamma \
gradient \
graphic \
gamma \
gradient \
graphic \
- greycstoration \
histogram \
histogram_bezier \
holo \
histogram \
histogram_bezier \
holo \
@@
-78,6
+86,9
@@
DIRS = \
loopaudio \
loopvideo \
motion \
loopaudio \
loopvideo \
motion \
+ motion51 \
+ motion-cv \
+ motion-hv \
motion2point \
motionblur \
normalize \
motion2point \
motionblur \
normalize \
@@
-102,6
+113,7
@@
DIRS = \
rgb601 \
rgbshift \
rotate \
rgb601 \
rgbshift \
rotate \
+ rumbler \
scale \
shapewipe \
sharpen \
scale \
shapewipe \
sharpen \
@@
-121,11
+133,11
@@
DIRS = \
translate \
unsharp \
videoscope \
translate \
unsharp \
videoscope \
- vocoder \
wave \
whirl \
wipe \
yuv \
wave \
whirl \
wipe \
yuv \
+ yuv411 \
yuvshift \
zoom \
zoomblur \
yuvshift \
zoom \
zoomblur \
@@
-139,20
+151,30
@@
DIRS = \
theme_suv \
theme_unflat \
theme_suv \
theme_unflat \
+# too costly
# findobject \
# findobject \
+# greycstoration \
+# not finished
+# denoisemjpeg \
+# duplicate
+# vocoder \
+PLUGIN_DIR = $(BINDIR)/plugins
DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
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)/.
$(DATA):
cp -a $(notdir $@) $(PLUGIN_DIR)/.
-$(LADSPA):
+$(LADSPA
_DIR
):
mkdir -p $@
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
fi
# parallel compilation of all directories
@@
-162,7
+184,7
@@
$(DIRS):
clean:
rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
clean:
rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
- rm -rf $(PLUGIN_DIR)
+ rm -rf $(PLUGIN_DIR)
$(LADSPA_DIR)
install:
install: