cannam@0
|
1
|
cannam@10
|
2 # Makefile for the Vamp plugin SDK. This builds the SDK objects,
|
cannam@51
|
3 # libraries, example plugins, and the test host. Please adjust to
|
cannam@51
|
4 # suit your operating system requirements.
|
cannam@0
|
5
|
cannam@64
|
6 APIDIR = vamp
|
cannam@230
|
7
|
cannam@10
|
8 SDKDIR = vamp-sdk
|
cannam@230
|
9 HOSTSDKDIR = vamp-hostsdk
|
cannam@230
|
10
|
cannam@230
|
11 SRCDIR = src
|
cannam@230
|
12 SDKSRCDIR = src/vamp-sdk
|
cannam@230
|
13 HOSTSDKSRCDIR = src/vamp-hostsdk
|
cannam@230
|
14
|
cannam@10
|
15 EXAMPLEDIR = examples
|
cannam@10
|
16 HOSTDIR = host
|
cannam@232
|
17 PCDIR = pkgconfig
|
cannam@234
|
18 LADIR = build
|
cannam@232
|
19 RDFGENDIR = rdf/generator
|
cannam@1
|
20
|
cannam@64
|
21 ###
|
cannam@64
|
22 ### Start of user-serviceable parts
|
cannam@64
|
23 ###
|
cannam@0
|
24
|
cannam@64
|
25 # Default build target (or use "make <target>" to select one).
|
cannam@64
|
26 # Targets are:
|
cannam@64
|
27 # all -- build everything
|
cannam@64
|
28 # sdk -- build all the Vamp SDK libraries for plugins and hosts
|
cannam@82
|
29 # sdkstatic -- build only the static versions of the SDK libraries
|
cannam@64
|
30 # plugins -- build the example plugins (and the SDK if required)
|
cannam@64
|
31 # host -- build the simple Vamp plugin host (and the SDK if required)
|
cannam@232
|
32 # rdfgen -- build the RDF template generator (and the SDK if required)
|
cannam@64
|
33 # test -- build the host and example plugins, and run a quick test
|
cannam@64
|
34 # clean -- remove binary targets
|
cannam@64
|
35 # distclean -- remove all targets
|
cannam@64
|
36 #
|
cannam@64
|
37 default: all
|
cannam@64
|
38
|
cannam@64
|
39 # Compile flags
|
cannam@64
|
40 #
|
cannam@237
|
41 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fPIC
|
cannam@64
|
42
|
cannam@89
|
43 # ar, ranlib
|
cannam@89
|
44 #
|
cannam@89
|
45 AR := ar
|
cannam@89
|
46 RANLIB := ranlib
|
cannam@89
|
47
|
cannam@64
|
48 # Libraries required for the plugins.
|
cannam@64
|
49 #
|
cannam@230
|
50 PLUGIN_LIBS = $(SRCDIR)/libvamp-sdk.a
|
cannam@64
|
51
|
cannam@64
|
52 # File extension for a dynamically loadable object
|
cannam@64
|
53 #
|
cannam@64
|
54 PLUGIN_EXT = .so
|
cannam@89
|
55 #PLUGIN_EXT = .dll
|
cannam@64
|
56 #PLUGIN_EXT = .dylib
|
cannam@64
|
57
|
cannam@64
|
58 # Libraries required for the host.
|
cannam@64
|
59 #
|
cannam@230
|
60 HOST_LIBS = $(SRCDIR)/libvamp-hostsdk.a -lsndfile -ldl
|
cannam@1
|
61
|
cannam@232
|
62 # Libraries required for the RDF template generator.
|
cannam@232
|
63 #
|
cannam@232
|
64 RDFGEN_LIBS = $(SRCDIR)/libvamp-hostsdk.a -ldl
|
cannam@232
|
65
|
cannam@32
|
66 # Locations for "make install". This will need quite a bit of
|
cannam@32
|
67 # editing for non-Linux platforms. Of course you don't necessarily
|
cannam@32
|
68 # have to use "make install".
|
cannam@32
|
69 #
|
cannam@162
|
70 INSTALL_PREFIX := /usr/local
|
cannam@51
|
71 INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp
|
cannam@51
|
72 INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk
|
cannam@233
|
73 INSTALL_HOSTSDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-hostsdk
|
cannam@51
|
74 INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib
|
cannam@250
|
75 INSTALL_PLUGINS := $(INSTALL_PREFIX)/lib/vamp
|
cannam@250
|
76 INSTALL_BINARIES := $(INSTALL_PREFIX)/bin
|
cannam@51
|
77
|
cannam@168
|
78 INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.0.0
|
cannam@168
|
79 INSTALL_SDK_LINK_ABI := libvamp-sdk.so.2
|
cannam@51
|
80 INSTALL_SDK_LINK_DEV := libvamp-sdk.so
|
cannam@51
|
81 INSTALL_SDK_STATIC := libvamp-sdk.a
|
cannam@51
|
82 INSTALL_SDK_LA := libvamp-sdk.la
|
cannam@51
|
83
|
cannam@168
|
84 INSTALL_HOSTSDK_LIBNAME := libvamp-hostsdk.so.3.0.0
|
cannam@168
|
85 INSTALL_HOSTSDK_LINK_ABI := libvamp-hostsdk.so.3
|
cannam@51
|
86 INSTALL_HOSTSDK_LINK_DEV := libvamp-hostsdk.so
|
cannam@51
|
87 INSTALL_HOSTSDK_STATIC := libvamp-hostsdk.a
|
cannam@51
|
88 INSTALL_HOSTSDK_LA := libvamp-hostsdk.la
|
cannam@51
|
89
|
cannam@51
|
90 INSTALL_PKGCONFIG := $(INSTALL_PREFIX)/lib/pkgconfig
|
cannam@32
|
91
|
cannam@81
|
92 # Flags required to tell the compiler to create a dynamically loadable object
|
cannam@81
|
93 #
|
cannam@160
|
94 DYNAMIC_LDFLAGS = -static-libgcc -shared -Wl,-Bsymbolic
|
cannam@107
|
95 SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LINK_ABI)
|
cannam@107
|
96 HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI)
|
cannam@81
|
97
|
cannam@162
|
98 # Additional flags for making a plugin. This version script tells the
|
cannam@162
|
99 # GNU linker to make all symbols in the library hidden except for the
|
cannam@162
|
100 # public entry point. It's not essential, but makes a tidier library.
|
cannam@230
|
101 PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map
|
cannam@162
|
102
|
cannam@162
|
103
|
cannam@81
|
104 ## For OS/X with g++:
|
cannam@94
|
105 #DYNAMIC_LDFLAGS = -dynamiclib
|
cannam@94
|
106 #PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS)
|
cannam@94
|
107 #SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS)
|
cannam@94
|
108 #HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS)
|
cannam@81
|
109
|
cannam@81
|
110
|
cannam@10
|
111 ### End of user-serviceable parts
|
cannam@10
|
112
|
cannam@32
|
113
|
cannam@20
|
114 API_HEADERS = \
|
cannam@20
|
115 $(APIDIR)/vamp.h
|
cannam@20
|
116
|
cannam@20
|
117 SDK_HEADERS = \
|
cannam@20
|
118 $(SDKDIR)/Plugin.h \
|
cannam@20
|
119 $(SDKDIR)/PluginAdapter.h \
|
cannam@20
|
120 $(SDKDIR)/PluginBase.h \
|
cannam@234
|
121 $(SDKDIR)/RealTime.h \
|
cannam@234
|
122 $(SDKDIR)/plugguard.h \
|
cannam@234
|
123 $(SDKDIR)/vamp-sdk.h
|
cannam@51
|
124
|
cannam@51
|
125 HOSTSDK_HEADERS = \
|
cannam@230
|
126 $(HOSTSDKDIR)/Plugin.h \
|
cannam@230
|
127 $(HOSTSDKDIR)/PluginBase.h \
|
cannam@230
|
128 $(HOSTSDKDIR)/PluginHostAdapter.h \
|
cannam@233
|
129 $(HOSTSDKDIR)/RealTime.h \
|
cannam@233
|
130 $(HOSTSDKDIR)/PluginBufferingAdapter.h \
|
cannam@233
|
131 $(HOSTSDKDIR)/PluginChannelAdapter.h \
|
cannam@233
|
132 $(HOSTSDKDIR)/PluginInputDomainAdapter.h \
|
cannam@233
|
133 $(HOSTSDKDIR)/PluginLoader.h \
|
cannam@233
|
134 $(HOSTSDKDIR)/PluginSummarisingAdapter.h \
|
cannam@234
|
135 $(HOSTSDKDIR)/PluginWrapper.h \
|
cannam@234
|
136 $(HOSTSDKDIR)/hostguard.h \
|
cannam@234
|
137 $(HOSTSDKDIR)/vamp-hostsdk.h
|
cannam@64
|
138
|
cannam@11
|
139 SDK_OBJECTS = \
|
cannam@230
|
140 $(SDKSRCDIR)/PluginAdapter.o \
|
cannam@230
|
141 $(SDKSRCDIR)/RealTime.o
|
cannam@51
|
142
|
cannam@51
|
143 HOSTSDK_OBJECTS = \
|
cannam@230
|
144 $(HOSTSDKSRCDIR)/PluginHostAdapter.o \
|
cannam@230
|
145 $(HOSTSDKSRCDIR)/RealTime.o \
|
cannam@233
|
146 $(HOSTSDKSRCDIR)/PluginBufferingAdapter.o \
|
cannam@233
|
147 $(HOSTSDKSRCDIR)/PluginChannelAdapter.o \
|
cannam@233
|
148 $(HOSTSDKSRCDIR)/PluginInputDomainAdapter.o \
|
cannam@233
|
149 $(HOSTSDKSRCDIR)/PluginLoader.o \
|
cannam@233
|
150 $(HOSTSDKSRCDIR)/PluginSummarisingAdapter.o \
|
cannam@233
|
151 $(HOSTSDKSRCDIR)/PluginWrapper.o
|
cannam@11
|
152
|
cannam@32
|
153 SDK_STATIC = \
|
cannam@230
|
154 $(SRCDIR)/libvamp-sdk.a
|
cannam@10
|
155
|
cannam@51
|
156 HOSTSDK_STATIC = \
|
cannam@230
|
157 $(SRCDIR)/libvamp-hostsdk.a
|
cannam@51
|
158
|
cannam@32
|
159 SDK_DYNAMIC = \
|
cannam@230
|
160 $(SRCDIR)/libvamp-sdk$(PLUGIN_EXT)
|
cannam@32
|
161
|
cannam@51
|
162 HOSTSDK_DYNAMIC = \
|
cannam@230
|
163 $(SRCDIR)/libvamp-hostsdk$(PLUGIN_EXT)
|
cannam@51
|
164
|
cannam@33
|
165 SDK_LA = \
|
cannam@234
|
166 $(LADIR)/libvamp-sdk.la
|
cannam@33
|
167
|
cannam@86
|
168 HOSTSDK_LA = \
|
cannam@234
|
169 $(LADIR)/libvamp-hostsdk.la
|
cannam@86
|
170
|
cannam@20
|
171 PLUGIN_HEADERS = \
|
cannam@20
|
172 $(EXAMPLEDIR)/SpectralCentroid.h \
|
cannam@241
|
173 $(EXAMPLEDIR)/PowerSpectrum.h \
|
cannam@35
|
174 $(EXAMPLEDIR)/PercussionOnsetDetector.h \
|
cannam@198
|
175 $(EXAMPLEDIR)/FixedTempoEstimator.h \
|
cannam@41
|
176 $(EXAMPLEDIR)/AmplitudeFollower.h \
|
cannam@20
|
177 $(EXAMPLEDIR)/ZeroCrossing.h
|
cannam@20
|
178
|
cannam@10
|
179 PLUGIN_OBJECTS = \
|
cannam@20
|
180 $(EXAMPLEDIR)/SpectralCentroid.o \
|
cannam@241
|
181 $(EXAMPLEDIR)/PowerSpectrum.o \
|
cannam@35
|
182 $(EXAMPLEDIR)/PercussionOnsetDetector.o \
|
cannam@198
|
183 $(EXAMPLEDIR)/FixedTempoEstimator.o \
|
cannam@41
|
184 $(EXAMPLEDIR)/AmplitudeFollower.o \
|
cannam@10
|
185 $(EXAMPLEDIR)/ZeroCrossing.o \
|
cannam@10
|
186 $(EXAMPLEDIR)/plugins.o
|
cannam@10
|
187
|
cannam@10
|
188 PLUGIN_TARGET = \
|
cannam@21
|
189 $(EXAMPLEDIR)/vamp-example-plugins$(PLUGIN_EXT)
|
cannam@10
|
190
|
cannam@250
|
191 PLUGIN_CAT = \
|
cannam@250
|
192 $(EXAMPLEDIR)/vamp-example-plugins.cat
|
cannam@250
|
193
|
cannam@20
|
194 HOST_HEADERS = \
|
cannam@20
|
195 $(HOSTDIR)/system.h
|
cannam@20
|
196
|
cannam@10
|
197 HOST_OBJECTS = \
|
cannam@22
|
198 $(HOSTDIR)/vamp-simple-host.o
|
cannam@10
|
199
|
cannam@10
|
200 HOST_TARGET = \
|
cannam@22
|
201 $(HOSTDIR)/vamp-simple-host
|
cannam@10
|
202
|
cannam@232
|
203 RDFGEN_OBJECTS = \
|
cannam@250
|
204 $(RDFGENDIR)/vamp-rdf-template-generator.o
|
cannam@232
|
205
|
cannam@232
|
206 RDFGEN_TARGET = \
|
cannam@250
|
207 $(RDFGENDIR)/vamp-rdf-template-generator
|
cannam@232
|
208
|
cannam@89
|
209 sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC)
|
cannam@64
|
210
|
cannam@82
|
211 sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC)
|
cannam@89
|
212 $(RANLIB) $(SDK_STATIC)
|
cannam@89
|
213 $(RANLIB) $(HOSTSDK_STATIC)
|
cannam@82
|
214
|
cannam@64
|
215 plugins: $(PLUGIN_TARGET)
|
cannam@64
|
216
|
cannam@64
|
217 host: $(HOST_TARGET)
|
cannam@64
|
218
|
cannam@232
|
219 rdfgen: $(RDFGEN_TARGET)
|
cannam@232
|
220
|
cannam@232
|
221 all: sdk plugins host rdfgen test
|
cannam@11
|
222
|
cannam@32
|
223 $(SDK_STATIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS)
|
cannam@20
|
224 $(AR) r $@ $(SDK_OBJECTS)
|
cannam@10
|
225
|
cannam@233
|
226 $(HOSTSDK_STATIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS)
|
cannam@51
|
227 $(AR) r $@ $(HOSTSDK_OBJECTS)
|
cannam@51
|
228
|
cannam@32
|
229 $(SDK_DYNAMIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS)
|
cannam@81
|
230 $(CXX) $(LDFLAGS) $(SDK_DYNAMIC_LDFLAGS) -o $@ $(SDK_OBJECTS)
|
cannam@32
|
231
|
cannam@233
|
232 $(HOSTSDK_DYNAMIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS)
|
cannam@81
|
233 $(CXX) $(LDFLAGS) $(HOSTSDK_DYNAMIC_LDFLAGS) -o $@ $(HOSTSDK_OBJECTS)
|
cannam@51
|
234
|
cannam@64
|
235 $(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(SDK_STATIC) $(PLUGIN_HEADERS)
|
cannam@20
|
236 $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $(PLUGIN_OBJECTS) $(PLUGIN_LIBS)
|
cannam@10
|
237
|
cannam@64
|
238 $(HOST_TARGET): $(HOST_OBJECTS) $(HOSTSDK_STATIC) $(HOST_HEADERS)
|
cannam@20
|
239 $(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $(HOST_OBJECTS) $(HOST_LIBS)
|
cannam@10
|
240
|
cannam@232
|
241 $(RDFGEN_TARGET): $(RDFGEN_OBJECTS) $(HOSTSDK_STATIC)
|
cannam@232
|
242 $(CXX) $(LDFLAGS) $(RDFGEN_LDFLAGS) -o $@ $(RDFGEN_OBJECTS) $(RDFGEN_LIBS)
|
cannam@232
|
243
|
cannam@64
|
244 test: plugins host
|
cannam@64
|
245 VAMP_PATH=$(EXAMPLEDIR) $(HOST_TARGET) -l
|
cannam@10
|
246
|
cannam@10
|
247 clean:
|
cannam@232
|
248 rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS) $(RDFGEN_OBJECTS)
|
cannam@10
|
249
|
cannam@33
|
250 distclean: clean
|
cannam@232
|
251 rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) *~ */*~
|
cannam@33
|
252
|
cannam@250
|
253 install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET)
|
cannam@96
|
254 mkdir -p $(DESTDIR)$(INSTALL_API_HEADERS)
|
cannam@96
|
255 mkdir -p $(DESTDIR)$(INSTALL_SDK_HEADERS)
|
cannam@234
|
256 mkdir -p $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS)
|
cannam@96
|
257 mkdir -p $(DESTDIR)$(INSTALL_SDK_LIBS)
|
cannam@96
|
258 mkdir -p $(DESTDIR)$(INSTALL_PKGCONFIG)
|
cannam@250
|
259 mkdir -p $(DESTDIR)$(INSTALL_BINARIES)
|
cannam@250
|
260 mkdir -p $(DESTDIR)$(INSTALL_PLUGINS)
|
cannam@250
|
261 cp $(HOST_TARGET) $(DESTDIR)$(INSTALL_BINARIES)
|
cannam@250
|
262 cp $(RDFGEN_TARGET) $(DESTDIR)$(INSTALL_BINARIES)
|
cannam@250
|
263 cp $(PLUGIN_TARGET) $(DESTDIR)$(INSTALL_PLUGINS)
|
cannam@250
|
264 cp $(PLUGIN_CAT) $(DESTDIR)$(INSTALL_PLUGINS)
|
cannam@96
|
265 cp $(API_HEADERS) $(DESTDIR)$(INSTALL_API_HEADERS)
|
cannam@96
|
266 cp $(SDK_HEADERS) $(DESTDIR)$(INSTALL_SDK_HEADERS)
|
cannam@233
|
267 cp $(HOSTSDK_HEADERS) $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS)
|
cannam@96
|
268 cp $(SDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS)
|
cannam@96
|
269 cp $(HOSTSDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS)
|
cannam@96
|
270 cp $(SDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LIBNAME)
|
cannam@96
|
271 cp $(HOSTSDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LIBNAME)
|
cannam@96
|
272 rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI)
|
cannam@96
|
273 ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI)
|
cannam@96
|
274 rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI)
|
cannam@96
|
275 ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI)
|
cannam@96
|
276 rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV)
|
cannam@96
|
277 ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV)
|
cannam@96
|
278 rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV)
|
cannam@96
|
279 ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV)
|
cannam@234
|
280 sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp.pc.in \
|
cannam@96
|
281 > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp.pc
|
cannam@234
|
282 sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-sdk.pc.in \
|
cannam@96
|
283 > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-sdk.pc
|
cannam@234
|
284 sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-hostsdk.pc.in \
|
cannam@96
|
285 > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-hostsdk.pc
|
cannam@33
|
286 sed -e "s,%LIBNAME%,$(INSTALL_SDK_LIBNAME),g" \
|
cannam@33
|
287 -e "s,%LINK_ABI%,$(INSTALL_SDK_LINK_ABI),g" \
|
cannam@33
|
288 -e "s,%LINK_DEV%,$(INSTALL_SDK_LINK_DEV),g" \
|
cannam@33
|
289 -e "s,%STATIC%,$(INSTALL_SDK_STATIC),g" \
|
cannam@34
|
290 -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \
|
cannam@96
|
291 > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA)
|
cannam@51
|
292 sed -e "s,%LIBNAME%,$(INSTALL_HOSTSDK_LIBNAME),g" \
|
cannam@51
|
293 -e "s,%LINK_ABI%,$(INSTALL_HOSTSDK_LINK_ABI),g" \
|
cannam@51
|
294 -e "s,%LINK_DEV%,$(INSTALL_HOSTSDK_LINK_DEV),g" \
|
cannam@51
|
295 -e "s,%STATIC%,$(INSTALL_HOSTSDK_STATIC),g" \
|
cannam@86
|
296 -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(HOSTSDK_LA).in \
|
cannam@96
|
297 > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA)
|
cannam@51
|
298
|
cannam@231
|
299 depend:
|
cannam@231
|
300 makedepend -Y. */*.cpp */*/*.cpp */*/*/*.cpp
|
cannam@231
|
301
|
cannam@231
|
302 # DO NOT DELETE
|
cannam@231
|
303
|
cannam@231
|
304 examples/AmplitudeFollower.o: examples/AmplitudeFollower.h vamp-sdk/Plugin.h
|
cannam@231
|
305 examples/AmplitudeFollower.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h
|
cannam@231
|
306 examples/AmplitudeFollower.o: vamp-sdk/RealTime.h
|
cannam@231
|
307 examples/FixedTempoEstimator.o: examples/FixedTempoEstimator.h
|
cannam@231
|
308 examples/FixedTempoEstimator.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h
|
cannam@231
|
309 examples/FixedTempoEstimator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h
|
cannam@231
|
310 examples/PercussionOnsetDetector.o: examples/PercussionOnsetDetector.h
|
cannam@231
|
311 examples/PercussionOnsetDetector.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h
|
cannam@231
|
312 examples/PercussionOnsetDetector.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h
|
cannam@231
|
313 examples/SpectralCentroid.o: examples/SpectralCentroid.h vamp-sdk/Plugin.h
|
cannam@231
|
314 examples/SpectralCentroid.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h
|
cannam@231
|
315 examples/SpectralCentroid.o: vamp-sdk/RealTime.h
|
cannam@241
|
316 examples/PowerSpectrum.o: examples/PowerSpectrum.h vamp-sdk/Plugin.h
|
cannam@241
|
317 examples/PowerSpectrum.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h
|
cannam@241
|
318 examples/PowerSpectrum.o: vamp-sdk/RealTime.h
|
cannam@231
|
319 examples/ZeroCrossing.o: examples/ZeroCrossing.h vamp-sdk/Plugin.h
|
cannam@231
|
320 examples/ZeroCrossing.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h
|
cannam@231
|
321 examples/ZeroCrossing.o: vamp-sdk/RealTime.h
|
cannam@231
|
322 examples/plugins.o: vamp/vamp.h vamp-sdk/PluginAdapter.h vamp-sdk/Plugin.h
|
cannam@231
|
323 examples/plugins.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h
|
cannam@231
|
324 examples/plugins.o: vamp-sdk/RealTime.h examples/ZeroCrossing.h
|
cannam@231
|
325 examples/plugins.o: vamp-sdk/Plugin.h examples/SpectralCentroid.h
|
cannam@241
|
326 examples/plugins.o: examples/PercussionOnsetDetector.h examples/PowerSpectrum.h
|
cannam@231
|
327 examples/plugins.o: examples/FixedTempoEstimator.h
|
cannam@231
|
328 examples/plugins.o: examples/AmplitudeFollower.h
|
cannam@231
|
329 host/vamp-simple-host.o: ./vamp-hostsdk/PluginHostAdapter.h vamp/vamp.h
|
cannam@231
|
330 host/vamp-simple-host.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h
|
cannam@231
|
331 host/vamp-simple-host.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h
|
cannam@233
|
332 host/vamp-simple-host.o: ./vamp-hostsdk/PluginInputDomainAdapter.h
|
cannam@233
|
333 host/vamp-simple-host.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@231
|
334 host/vamp-simple-host.o: ./vamp-hostsdk/Plugin.h ./vamp-hostsdk/hostguard.h
|
cannam@231
|
335 host/vamp-simple-host.o: vamp-sdk/Plugin.h
|
cannam@233
|
336 host/vamp-simple-host.o: ./vamp-hostsdk/PluginLoader.h host/system.h
|
cannam@250
|
337 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginHostAdapter.h
|
cannam@250
|
338 rdf/generator/vamp-rdf-template-generator.o: vamp/vamp.h vamp-sdk/Plugin.h
|
cannam@250
|
339 rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/PluginBase.h
|
cannam@250
|
340 rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h
|
cannam@250
|
341 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginChannelAdapter.h
|
cannam@250
|
342 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@250
|
343 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/Plugin.h
|
cannam@250
|
344 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/hostguard.h
|
cannam@250
|
345 rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/Plugin.h
|
cannam@250
|
346 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginInputDomainAdapter.h
|
cannam@250
|
347 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginLoader.h
|
cannam@231
|
348 src/vamp-hostsdk/PluginHostAdapter.o: ./vamp-hostsdk/PluginHostAdapter.h
|
cannam@231
|
349 src/vamp-hostsdk/PluginHostAdapter.o: vamp/vamp.h vamp-sdk/Plugin.h
|
cannam@231
|
350 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/PluginBase.h
|
cannam@231
|
351 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/plugguard.h
|
cannam@231
|
352 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/RealTime.h
|
cannam@231
|
353 src/vamp-hostsdk/RealTime.o: src/vamp-sdk/RealTime.cpp ./vamp-sdk/RealTime.h
|
cannam@231
|
354 src/vamp-hostsdk/RealTime.o: vamp-sdk/plugguard.h
|
cannam@231
|
355 src/vamp-sdk/PluginAdapter.o: vamp-sdk/PluginAdapter.h vamp/vamp.h
|
cannam@231
|
356 src/vamp-sdk/PluginAdapter.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h
|
cannam@231
|
357 src/vamp-sdk/PluginAdapter.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h
|
cannam@231
|
358 src/vamp-sdk/RealTime.o: ./vamp-sdk/RealTime.h vamp-sdk/plugguard.h
|
cannam@233
|
359 src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginBufferingAdapter.h
|
cannam@233
|
360 src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@233
|
361 src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/Plugin.h
|
cannam@233
|
362 src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/hostguard.h
|
cannam@233
|
363 src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/Plugin.h
|
cannam@233
|
364 src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/PluginBase.h
|
cannam@233
|
365 src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/plugguard.h
|
cannam@233
|
366 src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/RealTime.h
|
cannam@233
|
367 src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginChannelAdapter.h
|
cannam@233
|
368 src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@233
|
369 src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/Plugin.h
|
cannam@233
|
370 src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/hostguard.h
|
cannam@233
|
371 src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/Plugin.h
|
cannam@233
|
372 src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/PluginBase.h
|
cannam@233
|
373 src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/plugguard.h
|
cannam@233
|
374 src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/RealTime.h
|
cannam@233
|
375 src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginInputDomainAdapter.h
|
cannam@233
|
376 src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@233
|
377 src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/Plugin.h
|
cannam@233
|
378 src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/hostguard.h
|
cannam@233
|
379 src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/Plugin.h
|
cannam@233
|
380 src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/PluginBase.h
|
cannam@233
|
381 src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/plugguard.h
|
cannam@233
|
382 src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/RealTime.h
|
cannam@233
|
383 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginHostAdapter.h
|
cannam@233
|
384 src/vamp-hostsdk/PluginLoader.o: vamp/vamp.h vamp-sdk/Plugin.h
|
cannam@233
|
385 src/vamp-hostsdk/PluginLoader.o: vamp-sdk/PluginBase.h
|
cannam@233
|
386 src/vamp-hostsdk/PluginLoader.o: vamp-sdk/plugguard.h
|
cannam@233
|
387 src/vamp-hostsdk/PluginLoader.o: vamp-sdk/RealTime.h
|
cannam@233
|
388 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginLoader.h
|
cannam@233
|
389 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@233
|
390 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/Plugin.h
|
cannam@233
|
391 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/hostguard.h
|
cannam@233
|
392 src/vamp-hostsdk/PluginLoader.o: vamp-sdk/Plugin.h
|
cannam@233
|
393 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginInputDomainAdapter.h
|
cannam@233
|
394 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginChannelAdapter.h
|
cannam@233
|
395 src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginBufferingAdapter.h
|
cannam@233
|
396 src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginSummarisingAdapter.h
|
cannam@233
|
397 src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@233
|
398 src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/Plugin.h
|
cannam@233
|
399 src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/hostguard.h
|
cannam@233
|
400 src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/Plugin.h
|
cannam@233
|
401 src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/PluginBase.h
|
cannam@233
|
402 src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/plugguard.h
|
cannam@233
|
403 src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/RealTime.h
|
cannam@233
|
404 src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/PluginWrapper.h
|
cannam@233
|
405 src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/Plugin.h
|
cannam@233
|
406 src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/hostguard.h
|
cannam@233
|
407 src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/Plugin.h
|
cannam@233
|
408 src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/PluginBase.h
|
cannam@233
|
409 src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/plugguard.h
|
cannam@233
|
410 src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/RealTime.h
|