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