smooth lines, motion51, opengl pbuffer bit typo, misc fixes
[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         motion51 \
82         motion-cv \
83         motion-hv \
84         motion2point \
85         motionblur \
86         normalize \
87         oilpainting \
88         overlay \
89         overlayaudio \
90         parametric \
91         perspective \
92         photoscale \
93         pitch \
94         polar \
95         radialblur \
96         reframe \
97         reframert \
98         removegaps \
99         reroute \
100         resample \
101         resamplert \
102         reverb \
103         reverseaudio \
104         reversevideo \
105         rgb601 \
106         rgbshift \
107         rotate \
108         scale \
109         shapewipe \
110         sharpen \
111         shiftinterlace \
112         slide \
113         spectrogram \
114         svg \
115         swapchannels \
116         swapframes \
117         synthesizer \
118         threshold \
119         timeavg \
120         timefront \
121         timestretch \
122         timestretchrt \
123         titler \
124         translate \
125         unsharp \
126         videoscope \
127         vocoder \
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
152 PLUGIN_DIR = $(BINDIR)/plugins
153 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
154 LADSPA_DIR = $(BINDIR)/ladspa
155
156 all:    $(PLUGIN_DIR) $(DIRS) $(DATA) $(LADSPA_DIR)
157
158 $(PLUGIN_DIR):
159         mkdir -p $@
160
161 $(DATA):
162         cp -a $(notdir $@) $(PLUGIN_DIR)/.
163
164 $(LADSPA_DIR):
165         mkdir -p $@
166         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa ]; then \
167                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa/. $@/. ; \
168         fi
169
170 # parallel compilation of all directories
171 .PHONY: $(DIRS)
172 $(DIRS):
173         $(MAKE) -C $@
174
175 clean:
176         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
177         rm -rf $(PLUGIN_DIR) $(LADSPA_DIR)
178
179 install:
180
181 # dependencies for parallel build
182 aging:          libeffecttv
183 burn:           libeffecttv
184 dot:            libeffecttv
185 holo:           libeffecttv
186 motion2point:   downsample motion
187 motion:         downsample
188 timestretchrt:  timestretch
189