1153b322ed6b9d1a90e6e06dddc25e456ecc41db
[goodguy/history.git] / cinelerra-5.0 / plugins / Makefile
1 include ../global_config
2
3 # burn must come before any other effecttv plugin
4 # colors must come before any plugin
5 # parametric must come before fourier plugins
6 # motion must come before perspective
7
8 DIRS = \
9         1080to480 \
10         1080to540 \
11         4k \
12         5k \
13         720to480 \
14         aging \
15         audioscope \
16         bandslide \
17         bandwipe \
18         blondtheme \
19         bluebanana \
20         bluedottheme \
21         blur \
22         brightness \
23         brighttheme \
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         denoisemjpeg \
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         greycstoration \
63         histogram \
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         liveaudio \
78         livevideo \
79         lof \
80         loopaudio \
81         loopvideo \
82         motion \
83         motion2point \
84         motionblur \
85         normalize \
86         oilpainting \
87         overlay \
88         overlayaudio \
89         parametric \
90         perspective \
91         photoscale \
92         pitch \
93         polar \
94         radialblur \
95         reframe \
96         reframert \
97         removegaps \
98         reroute \
99         resample \
100         resamplert \
101         reverb \
102         reverseaudio \
103         reversevideo \
104         rgb601 \
105         rgbshift \
106         rotate \
107         scale \
108         shapewipe \
109         sharpen \
110         shiftinterlace \
111         slide \
112         spectrogram \
113         suv \
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         yuvshift \
133         zoom \
134         zoomblur \
135
136 #       findobject \
137
138 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
139 MPEG2ENC = $(PLUGIN_DIR)/mpeg2enc.plugin
140 HVEG2ENC = $(PLUGIN_DIR)/hveg2enc.plugin
141 LADSPA = $(PLUGIN_DIR)/ladspa
142
143 all:    $(DIRS) $(DATA) $(MPEG2ENC) $(HVEG2ENC) $(LADSPA)
144
145 $(DATA):
146         cp -a $(notdir $@) $(PLUGIN_DIR)/.
147
148 $(MPEG2ENC):
149         cp -a ../thirdparty/mjpegtools*/mpeg2enc/mpeg2enc $@
150
151 $(HVEG2ENC):
152         cp -a ../mpeg2enc/$(OBJDIR)/hveg2enc $@
153
154 $(LADSPA):
155         mkdir -p $@
156         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa ]; then \
157                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa/. $@/. ; \
158         fi
159
160 # parallel compilation of all directories
161 .PHONY: $(DIRS)
162 $(DIRS):
163         $(MAKE) -C $@
164
165 clean:
166         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
167         rm -rf $(PLUGIN_DIR)
168
169 install:
170
171 # dependencies for parallel build
172 aging:          libeffecttv
173 burn:           libeffecttv
174 dot:            libeffecttv
175 holo:           libeffecttv
176 motion2point:   downsample motion
177 motion:         downsample
178 timestretchrt:  timestretch
179