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