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