add more build controls
[goodguy/history.git] / cinelerra-5.1 / plugins / Makefile
1 include ../global_config
2
3 ifeq ($(HAVE_DVB), y)
4 LIVEDVB = liveaudio livevideo
5 endif
6
7 # burn must come before any other effecttv plugin
8 # colors must come before any plugin
9 # parametric must come before fourier plugins
10 # motion must come before perspective
11
12 DIRS = \
13         1080to480 \
14         1080to540 \
15         720to480 \
16         aging \
17         audioscope \
18         bandslide \
19         bandwipe \
20         bluebanana \
21         blur \
22         brightness \
23         burn \
24         C41 \
25         cdripper \
26         chromakey \
27         chromakeyhsv \
28         color3way \
29         colorbalance \
30         compressor \
31         crossfade \
32         dcoffset \
33         decimate \
34         deinterlace \
35         deinterlace-cv \
36         delayaudio \
37         delayvideo \
38         denoise \
39         denoisefft \
40         denoisemjpeg \
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         greycstoration \
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         motion2point \
82         motionblur \
83         normalize \
84         oilpainting \
85         overlay \
86         overlayaudio \
87         parametric \
88         perspective \
89         photoscale \
90         pitch \
91         polar \
92         radialblur \
93         reframe \
94         reframert \
95         removegaps \
96         reroute \
97         resample \
98         resamplert \
99         reverb \
100         reverseaudio \
101         reversevideo \
102         rgb601 \
103         rgbshift \
104         rotate \
105         scale \
106         shapewipe \
107         sharpen \
108         shiftinterlace \
109         slide \
110         spectrogram \
111         svg \
112         swapchannels \
113         swapframes \
114         synthesizer \
115         threshold \
116         timeavg \
117         timefront \
118         timestretch \
119         timestretchrt \
120         titler \
121         translate \
122         unsharp \
123         videoscope \
124         vocoder \
125         wave \
126         whirl \
127         wipe \
128         yuv \
129         yuvshift \
130         zoom \
131         zoomblur \
132         theme_blond \
133         theme_blond_cv \
134         theme_blue \
135         theme_blue_dot \
136         theme_bright \
137         theme_hulk \
138         theme_pinklady \
139         theme_suv \
140         theme_unflat \
141
142 #       findobject \
143
144 DATA = $(PLUGIN_DIR)/fonts $(PLUGIN_DIR)/shapes
145 LADSPA = $(BINDIR)/ladspa
146
147 all:    $(DIRS) $(DATA) $(LADSPA)
148
149 $(DATA):
150         cp -a $(notdir $@) $(PLUGIN_DIR)/.
151
152 $(LADSPA):
153         mkdir -p $@
154         if [ -d $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa ]; then \
155                 cp -a $(THIRDPARTY)/ladspa-*/usr/local/lib/ladspa/. $@/. ; \
156         fi
157
158 # parallel compilation of all directories
159 .PHONY: $(DIRS)
160 $(DIRS):
161         $(MAKE) -C $@
162
163 clean:
164         rm -rf $(foreach d,$(DIRS),$(d)/$(OBJDIR))
165         rm -rf $(PLUGIN_DIR)
166
167 install:
168
169 # dependencies for parallel build
170 aging:          libeffecttv
171 burn:           libeffecttv
172 dot:            libeffecttv
173 holo:           libeffecttv
174 motion2point:   downsample motion
175 motion:         downsample
176 timestretchrt:  timestretch
177