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