6b9e9395ae3a3aa5d4865ac436a209ee33974b59
[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         scale \
110         shapewipe \
111         sharpen \
112         shiftinterlace \
113         slide \
114         spectrogram \
115         svg \
116         swapchannels \
117         swapframes \
118         synthesizer \
119         threshold \
120         timeavg \
121         timefront \
122         timestretch \
123         timestretchrt \
124         titler \
125         translate \
126         unsharp \
127         videoscope \
128         vocoder \
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
153 PLUGIN_DIR = $(BINDIR)/plugins
154 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
155 LADSPA_DIR = $(BINDIR)/ladspa
156
157 all:    $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
158
159 $(PLUGIN_DIR):
160         mkdir -p $@
161
162 $(DATA):
163         cp -a $(notdir $@) $(PLUGIN_DIR)/.
164
165 $(LADSPA_DIR):
166         mkdir -p $@
167         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa ]; then \
168                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa/. $@/. ; \
169         fi
170
171 # parallel compilation of all directories
172 .PHONY: $(DIRS)
173 $(DIRS):
174         $(MAKE) -C $@
175
176 clean:
177         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
178         rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
179
180 install:
181
182 # dependencies for parallel build
183 aging:          libeffecttv
184 burn:           libeffecttv
185 dot:            libeffecttv
186 holo:           libeffecttv
187 motion2point:   downsample motion
188 motion:         downsample
189 timestretchrt:  timestretch
190