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