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