clipboard rework, C41/titler fixes, displayinfo tweak
[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         wave \
129         whirl \
130         wipe \
131         yuv \
132         yuv411 \
133         yuvshift \
134         zoom \
135         zoomblur \
136         theme_blond \
137         theme_blond_cv \
138         theme_blue \
139         theme_blue_dot \
140         theme_bright \
141         theme_hulk \
142         theme_pinklady \
143         theme_suv \
144         theme_unflat \
145
146 # too costly
147 #       findobject \
148 #       greycstoration \
149 # not finished
150 #       denoisemjpeg \
151 # duplicate
152 #       vocoder \
153
154 PLUGIN_DIR = $(BINDIR)/plugins
155 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
156 LADSPA_DIR = $(BINDIR)/ladspa
157
158 all:    $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
159
160 $(PLUGIN_DIR):
161         mkdir -p $@
162
163 $(DATA):
164         cp -a $(notdir $@) $(PLUGIN_DIR)/.
165
166 $(LADSPA_DIR):
167         mkdir -p $@
168         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa ]; then \
169                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib*/ladspa/. $@/. ; \
170         fi
171
172 # parallel compilation of all directories
173 .PHONY: $(DIRS)
174 $(DIRS):
175         $(MAKE) -C $@
176
177 clean:
178         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
179         rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
180
181 install:
182
183 # dependencies for parallel build
184 aging:          libeffecttv
185 burn:           libeffecttv
186 dot:            libeffecttv
187 holo:           libeffecttv
188 motion2point:   downsample motion
189 motion:         downsample
190 timestretchrt:  timestretch
191