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