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