add MatN appimage build and get rid of some compile warnings
[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         motion2point \
105         motionblur \
106         normalize \
107         oilpainting \
108         overlay \
109         overlayaudio \
110         parametric \
111         perspective \
112         photoscale \
113         pitch \
114         polar \
115         radialblur \
116         reframe \
117         reframert \
118         removegaps \
119         reroute \
120         resample \
121         resamplert \
122         reverb \
123         reverseaudio \
124         reversevideo \
125         rgb601 \
126         rgbshift \
127         rotate \
128         rumbler \
129         scale \
130         sketcher \
131         shapewipe \
132         sharpen \
133         shiftinterlace \
134         slide \
135         spectrogram \
136         spherecam \
137         svg \
138         swapchannels \
139         swapframes \
140         synthesizer \
141         threshold \
142         timeavg \
143         timeblur \
144         timefront \
145         timestretch \
146         timestretchrt \
147         titler \
148         tracer \
149         translate \
150         tremolo \
151         unsharp \
152         videoscope \
153         wave \
154         whirl \
155         wipe \
156         yuv \
157         yuv411 \
158         yuvshift \
159         zoom \
160         zoomblur \
161         theme_blond \
162         theme_blond_cv \
163         theme_blue \
164         theme_blue_dot \
165         theme_bright \
166         theme_hulk \
167         theme_neophyte \
168         theme_pinklady \
169         theme_suv \
170         theme_unflat \
171         theme_cakewalk \
172
173 # not maintained
174 #       motion-cv \
175 #       motion-hv \
176 # too costly
177 #       findobject \
178 #       greycstoration \
179 # not finished
180 #       denoisemjpeg \
181 # duplicate
182 #       vocoder \
183
184 PLUGIN_DIR = $(BINDIR)/plugins
185 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes $(PLUGIN_DIR)/scopes
186 LADSPA_DIR = $(BINDIR)/ladspa
187
188 all:    $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
189
190 $(PLUGIN_DIR):
191         mkdir -p $@
192
193 $(DATA):        $(PLUGIN_DIR)
194         cp -a $(notdir $@) $(PLUGIN_DIR)/.
195
196 $(LADSPA_DIR):
197         mkdir -p $@
198         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \
199                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \
200         fi
201
202 # parallel compilation of all directories
203 .PHONY: $(DIRS)
204 $(DIRS):
205         $(MAKE) -C $@
206
207 clean:
208         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
209         rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
210
211 install:
212
213 # dependencies for parallel build
214 aging:          libeffecttv
215 burn:           libeffecttv
216 dot:            libeffecttv
217 holo:           libeffecttv
218 motion2point:   downsample motion
219 motion:         downsample
220 timestretchrt:  timestretch
221