add xvid/flv formats, add motion plugin varients + save file, fix build bug
[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         motion-cv \
82         motion-hv \
83         motion2point \
84         motionblur \
85         normalize \
86         oilpainting \
87         overlay \
88         overlayaudio \
89         parametric \
90         perspective \
91         photoscale \
92         pitch \
93         polar \
94         radialblur \
95         reframe \
96         reframert \
97         removegaps \
98         reroute \
99         resample \
100         resamplert \
101         reverb \
102         reverseaudio \
103         reversevideo \
104         rgb601 \
105         rgbshift \
106         rotate \
107         scale \
108         shapewipe \
109         sharpen \
110         shiftinterlace \
111         slide \
112         spectrogram \
113         svg \
114         swapchannels \
115         swapframes \
116         synthesizer \
117         threshold \
118         timeavg \
119         timefront \
120         timestretch \
121         timestretchrt \
122         titler \
123         translate \
124         unsharp \
125         videoscope \
126         vocoder \
127         wave \
128         whirl \
129         wipe \
130         yuv \
131         yuv411 \
132         yuvshift \
133         zoom \
134         zoomblur \
135         theme_blond \
136         theme_blond_cv \
137         theme_blue \
138         theme_blue_dot \
139         theme_bright \
140         theme_hulk \
141         theme_pinklady \
142         theme_suv \
143         theme_unflat \
144
145 # too costly
146 #       findobject \
147 #       greycstoration \
148 # not finished
149 #       denoisemjpeg \
150
151 PLUGIN_DIR = $(BINDIR)/plugins
152 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
153 LADSPA_DIR = $(BINDIR)/ladspa
154
155 all:    $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
156
157 $(PLUGIN_DIR):
158         mkdir -p $@
159
160 $(DATA):
161         cp -a $(notdir $@) $(PLUGIN_DIR)/.
162
163 $(LADSPA_DIR):
164         mkdir -p $@
165         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa ]; then \
166                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa/. $@/. ; \
167         fi
168
169 # parallel compilation of all directories
170 .PHONY: $(DIRS)
171 $(DIRS):
172         $(MAKE) -C $@
173
174 clean:
175         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
176         rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
177
178 install:
179
180 # dependencies for parallel build
181 aging:          libeffecttv
182 burn:           libeffecttv
183 dot:            libeffecttv
184 holo:           libeffecttv
185 motion2point:   downsample motion
186 motion:         downsample
187 timestretchrt:  timestretch
188