fix min speed value 0.005, fix canvas lock hang, fix reset_caches crashing on vicon...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / Makefile
1 export TOPDIR ?= $(CURDIR)/..
2 include $(TOPDIR)/global_config
3 default: all
4
5 ifeq ($(WANT_DVB), yes)
6 LIVEDVB = liveaudio livevideo
7 endif
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
13 endif
14 ifneq ($(WANT_CUDA), no)
15 CUDA_OBJS := mandelcuda nbodycuda
16 endif
17
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
22
23 DIRS = $(OPENCV_OBJS) \
24         $(CUDA_OBJS) \
25         1080to480 \
26         1080to540 \
27         720to480 \
28         aging \
29         alpha \
30         scaleratio \
31         audioscope \
32         bandslide \
33         bandwipe \
34         bluebanana \
35         blur \
36         boxblur \
37         brightness \
38         burn \
39         C41 \
40         cdripper \
41         chorus \
42         chromakey \
43         chromakeyhsv \
44         color3way \
45         colorbalance \
46         colorspace \
47         compressor \
48         compressormulti \
49         crikey \
50         crop \
51         crossfade \
52         dcoffset \
53         decimate \
54         deinterlace \
55         deinterlace-cv \
56         delayaudio \
57         delayvideo \
58         denoise \
59         denoisefft \
60         denoiseseltempavg \
61         denoisevideo \
62         descratch \
63         despike \
64         diffkey \
65         dissolve \
66         dot \
67         downsample \
68         edge \
69         echo \
70         echocancel \
71         fieldframe \
72         flanger \
73         flash \
74         flip \
75         foreground \
76         framefield \
77         freeverb \
78         freezeframe \
79         gain \
80         gamma \
81         gradient \
82         graphic \
83         histeq \
84         histogram \
85         histogram_bezier \
86         holo \
87         huesaturation \
88         interpolate \
89         interpolateaudio \
90         interpolatevideo \
91         invertaudio \
92         invertvideo \
93         irissquare \
94         ivtc \
95         lens \
96         level \
97         libeffecttv \
98         linearblur \
99         $(LIVEDVB) \
100         loopaudio \
101         loopvideo \
102         motion \
103         motion51 \
104         motion-cv \
105         motion-hv \
106         motion2point \
107         motionblur \
108         normalize \
109         oilpainting \
110         overlay \
111         overlayaudio \
112         parametric \
113         perspective \
114         photoscale \
115         pitch \
116         polar \
117         radialblur \
118         reframe \
119         reframert \
120         removegaps \
121         reroute \
122         resample \
123         resamplert \
124         reverb \
125         reverseaudio \
126         reversevideo \
127         rgb601 \
128         rgbshift \
129         rotate \
130         rumbler \
131         scale \
132         sketcher \
133         shapewipe \
134         sharpen \
135         shiftinterlace \
136         slide \
137         spectrogram \
138         spherecam \
139         svg \
140         swapchannels \
141         swapframes \
142         synthesizer \
143         threshold \
144         timeavg \
145         timefront \
146         timestretch \
147         timestretchrt \
148         titler \
149         tracer \
150         translate \
151         tremolo \
152         unsharp \
153         videoscope \
154         wave \
155         whirl \
156         wipe \
157         yuv \
158         yuv411 \
159         yuvshift \
160         zoom \
161         zoomblur \
162         theme_blond \
163         theme_blond_cv \
164         theme_blue \
165         theme_blue_dot \
166         theme_bright \
167         theme_hulk \
168         theme_neophyte \
169         theme_pinklady \
170         theme_suv \
171         theme_unflat \
172         theme_cakewalk \
173
174 # too costly
175 #       findobject \
176 #       greycstoration \
177 # not finished
178 #       denoisemjpeg \
179 # duplicate
180 #       vocoder \
181
182 PLUGIN_DIR = $(BINDIR)/plugins
183 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes $(PLUGIN_DIR)/scopes
184 LADSPA_DIR = $(BINDIR)/ladspa
185
186 all:    $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
187
188 $(PLUGIN_DIR):
189         mkdir -p $@
190
191 $(DATA):        $(PLUGIN_DIR)
192         cp -a $(notdir $@) $(PLUGIN_DIR)/.
193
194 $(LADSPA_DIR):
195         mkdir -p $@
196         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \
197                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \
198         fi
199
200 # parallel compilation of all directories
201 .PHONY: $(DIRS)
202 $(DIRS):
203         $(MAKE) -C $@
204
205 clean:
206         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
207         rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
208
209 install:
210
211 # dependencies for parallel build
212 aging:          libeffecttv
213 burn:           libeffecttv
214 dot:            libeffecttv
215 holo:           libeffecttv
216 motion2point:   downsample motion
217 motion:         downsample
218 timestretchrt:  timestretch
219