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