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