Mercurial > hg > vamp-plugin-sdk
comparison Makefile @ 250:a8c8fe602eec
* Rename template generator to vamp-rdf-template-generator
* Add install target for binaries and plugins
author | cannam |
---|---|
date | Wed, 12 Nov 2008 09:10:32 +0000 |
parents | 70e6826adc64 |
children |
comparison
equal
deleted
inserted
replaced
249:2fa6932ab195 | 250:a8c8fe602eec |
---|---|
70 INSTALL_PREFIX := /usr/local | 70 INSTALL_PREFIX := /usr/local |
71 INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp | 71 INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp |
72 INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk | 72 INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk |
73 INSTALL_HOSTSDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-hostsdk | 73 INSTALL_HOSTSDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-hostsdk |
74 INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib | 74 INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib |
75 INSTALL_PLUGINS := $(INSTALL_PREFIX)/lib/vamp | |
76 INSTALL_BINARIES := $(INSTALL_PREFIX)/bin | |
75 | 77 |
76 INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.0.0 | 78 INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.0.0 |
77 INSTALL_SDK_LINK_ABI := libvamp-sdk.so.2 | 79 INSTALL_SDK_LINK_ABI := libvamp-sdk.so.2 |
78 INSTALL_SDK_LINK_DEV := libvamp-sdk.so | 80 INSTALL_SDK_LINK_DEV := libvamp-sdk.so |
79 INSTALL_SDK_STATIC := libvamp-sdk.a | 81 INSTALL_SDK_STATIC := libvamp-sdk.a |
184 $(EXAMPLEDIR)/plugins.o | 186 $(EXAMPLEDIR)/plugins.o |
185 | 187 |
186 PLUGIN_TARGET = \ | 188 PLUGIN_TARGET = \ |
187 $(EXAMPLEDIR)/vamp-example-plugins$(PLUGIN_EXT) | 189 $(EXAMPLEDIR)/vamp-example-plugins$(PLUGIN_EXT) |
188 | 190 |
191 PLUGIN_CAT = \ | |
192 $(EXAMPLEDIR)/vamp-example-plugins.cat | |
193 | |
189 HOST_HEADERS = \ | 194 HOST_HEADERS = \ |
190 $(HOSTDIR)/system.h | 195 $(HOSTDIR)/system.h |
191 | 196 |
192 HOST_OBJECTS = \ | 197 HOST_OBJECTS = \ |
193 $(HOSTDIR)/vamp-simple-host.o | 198 $(HOSTDIR)/vamp-simple-host.o |
194 | 199 |
195 HOST_TARGET = \ | 200 HOST_TARGET = \ |
196 $(HOSTDIR)/vamp-simple-host | 201 $(HOSTDIR)/vamp-simple-host |
197 | 202 |
198 RDFGEN_OBJECTS = \ | 203 RDFGEN_OBJECTS = \ |
199 $(RDFGENDIR)/template-generator.o | 204 $(RDFGENDIR)/vamp-rdf-template-generator.o |
200 | 205 |
201 RDFGEN_TARGET = \ | 206 RDFGEN_TARGET = \ |
202 $(RDFGENDIR)/template-generator | 207 $(RDFGENDIR)/vamp-rdf-template-generator |
203 | 208 |
204 sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC) | 209 sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC) |
205 | 210 |
206 sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) | 211 sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) |
207 $(RANLIB) $(SDK_STATIC) | 212 $(RANLIB) $(SDK_STATIC) |
243 rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS) $(RDFGEN_OBJECTS) | 248 rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS) $(RDFGEN_OBJECTS) |
244 | 249 |
245 distclean: clean | 250 distclean: clean |
246 rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) *~ */*~ | 251 rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) *~ */*~ |
247 | 252 |
248 install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) | 253 install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) |
249 mkdir -p $(DESTDIR)$(INSTALL_API_HEADERS) | 254 mkdir -p $(DESTDIR)$(INSTALL_API_HEADERS) |
250 mkdir -p $(DESTDIR)$(INSTALL_SDK_HEADERS) | 255 mkdir -p $(DESTDIR)$(INSTALL_SDK_HEADERS) |
251 mkdir -p $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) | 256 mkdir -p $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) |
252 mkdir -p $(DESTDIR)$(INSTALL_SDK_LIBS) | 257 mkdir -p $(DESTDIR)$(INSTALL_SDK_LIBS) |
253 mkdir -p $(DESTDIR)$(INSTALL_PKGCONFIG) | 258 mkdir -p $(DESTDIR)$(INSTALL_PKGCONFIG) |
259 mkdir -p $(DESTDIR)$(INSTALL_BINARIES) | |
260 mkdir -p $(DESTDIR)$(INSTALL_PLUGINS) | |
261 cp $(HOST_TARGET) $(DESTDIR)$(INSTALL_BINARIES) | |
262 cp $(RDFGEN_TARGET) $(DESTDIR)$(INSTALL_BINARIES) | |
263 cp $(PLUGIN_TARGET) $(DESTDIR)$(INSTALL_PLUGINS) | |
264 cp $(PLUGIN_CAT) $(DESTDIR)$(INSTALL_PLUGINS) | |
254 cp $(API_HEADERS) $(DESTDIR)$(INSTALL_API_HEADERS) | 265 cp $(API_HEADERS) $(DESTDIR)$(INSTALL_API_HEADERS) |
255 cp $(SDK_HEADERS) $(DESTDIR)$(INSTALL_SDK_HEADERS) | 266 cp $(SDK_HEADERS) $(DESTDIR)$(INSTALL_SDK_HEADERS) |
256 cp $(HOSTSDK_HEADERS) $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) | 267 cp $(HOSTSDK_HEADERS) $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) |
257 cp $(SDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) | 268 cp $(SDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) |
258 cp $(HOSTSDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) | 269 cp $(HOSTSDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) |
321 host/vamp-simple-host.o: ./vamp-hostsdk/PluginInputDomainAdapter.h | 332 host/vamp-simple-host.o: ./vamp-hostsdk/PluginInputDomainAdapter.h |
322 host/vamp-simple-host.o: ./vamp-hostsdk/PluginWrapper.h | 333 host/vamp-simple-host.o: ./vamp-hostsdk/PluginWrapper.h |
323 host/vamp-simple-host.o: ./vamp-hostsdk/Plugin.h ./vamp-hostsdk/hostguard.h | 334 host/vamp-simple-host.o: ./vamp-hostsdk/Plugin.h ./vamp-hostsdk/hostguard.h |
324 host/vamp-simple-host.o: vamp-sdk/Plugin.h | 335 host/vamp-simple-host.o: vamp-sdk/Plugin.h |
325 host/vamp-simple-host.o: ./vamp-hostsdk/PluginLoader.h host/system.h | 336 host/vamp-simple-host.o: ./vamp-hostsdk/PluginLoader.h host/system.h |
326 rdf/generator/template-generator.o: ./vamp-hostsdk/PluginHostAdapter.h | 337 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginHostAdapter.h |
327 rdf/generator/template-generator.o: vamp/vamp.h vamp-sdk/Plugin.h | 338 rdf/generator/vamp-rdf-template-generator.o: vamp/vamp.h vamp-sdk/Plugin.h |
328 rdf/generator/template-generator.o: vamp-sdk/PluginBase.h | 339 rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/PluginBase.h |
329 rdf/generator/template-generator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h | 340 rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h |
330 rdf/generator/template-generator.o: ./vamp-hostsdk/PluginChannelAdapter.h | 341 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginChannelAdapter.h |
331 rdf/generator/template-generator.o: ./vamp-hostsdk/PluginWrapper.h | 342 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginWrapper.h |
332 rdf/generator/template-generator.o: ./vamp-hostsdk/Plugin.h | 343 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/Plugin.h |
333 rdf/generator/template-generator.o: ./vamp-hostsdk/hostguard.h | 344 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/hostguard.h |
334 rdf/generator/template-generator.o: vamp-sdk/Plugin.h | 345 rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/Plugin.h |
335 rdf/generator/template-generator.o: ./vamp-hostsdk/PluginInputDomainAdapter.h | 346 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginInputDomainAdapter.h |
336 rdf/generator/template-generator.o: ./vamp-hostsdk/PluginLoader.h | 347 rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginLoader.h |
337 src/vamp-hostsdk/PluginHostAdapter.o: ./vamp-hostsdk/PluginHostAdapter.h | 348 src/vamp-hostsdk/PluginHostAdapter.o: ./vamp-hostsdk/PluginHostAdapter.h |
338 src/vamp-hostsdk/PluginHostAdapter.o: vamp/vamp.h vamp-sdk/Plugin.h | 349 src/vamp-hostsdk/PluginHostAdapter.o: vamp/vamp.h vamp-sdk/Plugin.h |
339 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/PluginBase.h | 350 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/PluginBase.h |
340 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/plugguard.h | 351 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/plugguard.h |
341 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/RealTime.h | 352 src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/RealTime.h |