# HG changeset patch # User cannam # Date 1253613776 0 # Node ID 2e16d99867bd4645700fcccc0766ca555df20cfa # Parent c97e70ed5abc0496d32e3ac7aedf39ac4395cd13 * Tidying, build, versions, docs updates for release diff -r c97e70ed5abc -r 2e16d99867bd INSTALL --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/INSTALL Tue Sep 22 10:02:56 2009 +0000 @@ -0,0 +1,14 @@ + +Compiling and Installing the SDK and Examples +============================================= + + * Windows with Visual C++: Please read build/README.msvc + + * Mac OS/X: Please read build/README.osx + + * Solaris: Please read build/README.osol + + * Linux: Please read build/README.linux + +See the README file in this directory for more information about this SDK. + diff -r c97e70ed5abc -r 2e16d99867bd Makefile.in --- a/Makefile.in Mon Sep 21 09:33:05 2009 +0000 +++ b/Makefile.in Tue Sep 22 10:02:56 2009 +0000 @@ -47,7 +47,7 @@ # Libraries required for the plugins. # -PLUGIN_LIBS = $(SRCDIR)/libvamp-sdk.a +PLUGIN_LIBS = ./libvamp-sdk.a # File extension for a dynamically loadable object # @@ -57,11 +57,11 @@ # Libraries required for the host. # -HOST_LIBS = $(SRCDIR)/libvamp-hostsdk.a @SNDFILE_LIBS@ @LIBS@ +HOST_LIBS = ./libvamp-hostsdk.a @SNDFILE_LIBS@ @LIBS@ # Libraries required for the RDF template generator. # -RDFGEN_LIBS = $(SRCDIR)/libvamp-hostsdk.a @LIBS@ +RDFGEN_LIBS = ./libvamp-hostsdk.a @LIBS@ # Locations for "make install". This will need quite a bit of # editing for non-Linux platforms. Of course you don't necessarily @@ -75,13 +75,13 @@ INSTALL_PLUGINS := $(INSTALL_PREFIX)/lib/vamp INSTALL_BINARIES := $(INSTALL_PREFIX)/bin -INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.0.0 +INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.1.0 INSTALL_SDK_LINK_ABI := libvamp-sdk.so.2 INSTALL_SDK_LINK_DEV := libvamp-sdk.so INSTALL_SDK_STATIC := libvamp-sdk.a INSTALL_SDK_LA := libvamp-sdk.la -INSTALL_HOSTSDK_LIBNAME := libvamp-hostsdk.so.3.0.0 +INSTALL_HOSTSDK_LIBNAME := libvamp-hostsdk.so.3.1.0 INSTALL_HOSTSDK_LINK_ABI := libvamp-hostsdk.so.3 INSTALL_HOSTSDK_LINK_DEV := libvamp-hostsdk.so INSTALL_HOSTSDK_STATIC := libvamp-hostsdk.a @@ -151,16 +151,16 @@ $(HOSTSDKSRCDIR)/PluginWrapper.o SDK_STATIC = \ - $(SRCDIR)/libvamp-sdk.a + ./libvamp-sdk.a HOSTSDK_STATIC = \ - $(SRCDIR)/libvamp-hostsdk.a + ./libvamp-hostsdk.a SDK_DYNAMIC = \ - $(SRCDIR)/libvamp-sdk$(PLUGIN_EXT) + ./libvamp-sdk$(PLUGIN_EXT) HOSTSDK_DYNAMIC = \ - $(SRCDIR)/libvamp-hostsdk$(PLUGIN_EXT) + ./libvamp-hostsdk$(PLUGIN_EXT) SDK_LA = \ $(LADIR)/libvamp-sdk.la diff -r c97e70ed5abc -r 2e16d99867bd Makefile.osx --- a/Makefile.osx Mon Sep 21 09:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,346 +0,0 @@ - -# Makefile for the Vamp plugin SDK. This builds the SDK objects, -# libraries, example plugins, and the test host. Please adjust to -# suit your operating system requirements. -# -# This version of the Makefile is approximately correct for OS/X. -# Note that it has no "install" target; the following are the -# library and related files that may be of interest resulting from -# the build: -# -# src/libvamp-sdk.dylib [SDK dynamic library for plugins] -# src/libvamp-hostsdk.dylib [SDK dynamic library for hosts] -# -# src/libvamp-sdk.a [SDK static library for plugins] -# src/libvamp-hostsdk.a [SDK static library for hosts] -# -# examples/vamp-example-plugins.cat [copy this to your Vamp plugin dir] -# examples/vamp-example-plugins.dylib [copy this to your Vamp plugin dir] -# -# host/vamp-simple-host [requires libsndfile to build] -# -# rdf/generator/vamp-rdf-template-generator - -# Makefile for the Vamp plugin SDK. This builds the SDK objects, -# libraries, example plugins, and the test host. Please adjust to -# suit your operating system requirements. - -APIDIR = vamp - -SDKDIR = vamp-sdk -HOSTSDKDIR = vamp-hostsdk - -SRCDIR = src -SDKSRCDIR = src/vamp-sdk -HOSTSDKSRCDIR = src/vamp-hostsdk - -EXAMPLEDIR = examples -HOSTDIR = host -PCDIR = pkgconfig -LADIR = build -RDFGENDIR = rdf/generator - -### -### Start of user-serviceable parts -### - -# Default build target (or use "make " to select one). -# Targets are: -# all -- build everything -# sdk -- build all the Vamp SDK libraries for plugins and hosts -# sdkstatic -- build only the static versions of the SDK libraries -# plugins -- build the example plugins (and the SDK if required) -# host -- build the simple Vamp plugin host (and the SDK if required) -# rdfgen -- build the RDF template generator (and the SDK if required) -# test -- build the host and example plugins, and run a quick test -# clean -- remove binary targets -# distclean -- remove all targets -# -default: all - -# Compile flags -# -CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fPIC - -# ar, ranlib -# -AR := ar -RANLIB := ranlib - -# Libraries required for the plugins. -# -PLUGIN_LIBS = $(SRCDIR)/libvamp-sdk.a - -# File extension for a dynamically loadable object -# -PLUGIN_EXT = .dylib - -# Libraries required for the host. -# -HOST_LIBS = $(SRCDIR)/libvamp-hostsdk.a -lsndfile -ldl - -# Libraries required for the RDF template generator. -# -RDFGEN_LIBS = $(SRCDIR)/libvamp-hostsdk.a -ldl - -# Flags required to tell the compiler to create a dynamically loadable object -# -DYNAMIC_LDFLAGS = -dynamiclib -PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name vamp-example-plugins.dylib -SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name libvamp-sdk.dylib -HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name libvamp-hostsdk.dylib - -# Additional flags for making a plugin. This tells the linker to make -# all symbols in the library hidden except for the public entry point. -# It's not essential, but makes a tidier library. -PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name vamp-example-plugins.dylib -exported_symbols_list build/vamp-plugin.list - - -### End of user-serviceable parts - - -API_HEADERS = \ - $(APIDIR)/vamp.h - -SDK_HEADERS = \ - $(SDKDIR)/Plugin.h \ - $(SDKDIR)/PluginAdapter.h \ - $(SDKDIR)/PluginBase.h \ - $(SDKDIR)/RealTime.h \ - $(SDKDIR)/plugguard.h \ - $(SDKDIR)/vamp-sdk.h - -HOSTSDK_HEADERS = \ - $(HOSTSDKDIR)/Plugin.h \ - $(HOSTSDKDIR)/PluginBase.h \ - $(HOSTSDKDIR)/PluginHostAdapter.h \ - $(HOSTSDKDIR)/RealTime.h \ - $(HOSTSDKDIR)/PluginBufferingAdapter.h \ - $(HOSTSDKDIR)/PluginChannelAdapter.h \ - $(HOSTSDKDIR)/PluginInputDomainAdapter.h \ - $(HOSTSDKDIR)/PluginLoader.h \ - $(HOSTSDKDIR)/PluginSummarisingAdapter.h \ - $(HOSTSDKDIR)/PluginWrapper.h \ - $(HOSTSDKDIR)/hostguard.h \ - $(HOSTSDKDIR)/vamp-hostsdk.h - -SDK_OBJECTS = \ - $(SDKSRCDIR)/PluginAdapter.o \ - $(SDKSRCDIR)/RealTime.o - -HOSTSDK_OBJECTS = \ - $(HOSTSDKSRCDIR)/PluginHostAdapter.o \ - $(HOSTSDKSRCDIR)/RealTime.o \ - $(HOSTSDKSRCDIR)/PluginBufferingAdapter.o \ - $(HOSTSDKSRCDIR)/PluginChannelAdapter.o \ - $(HOSTSDKSRCDIR)/PluginInputDomainAdapter.o \ - $(HOSTSDKSRCDIR)/PluginLoader.o \ - $(HOSTSDKSRCDIR)/PluginSummarisingAdapter.o \ - $(HOSTSDKSRCDIR)/PluginWrapper.o - -SDK_STATIC = \ - $(SRCDIR)/libvamp-sdk.a - -HOSTSDK_STATIC = \ - $(SRCDIR)/libvamp-hostsdk.a - -SDK_DYNAMIC = \ - $(SRCDIR)/libvamp-sdk$(PLUGIN_EXT) - -HOSTSDK_DYNAMIC = \ - $(SRCDIR)/libvamp-hostsdk$(PLUGIN_EXT) - -SDK_LA = \ - $(LADIR)/libvamp-sdk.la - -HOSTSDK_LA = \ - $(LADIR)/libvamp-hostsdk.la - -PLUGIN_HEADERS = \ - $(EXAMPLEDIR)/SpectralCentroid.h \ - $(EXAMPLEDIR)/PowerSpectrum.h \ - $(EXAMPLEDIR)/PercussionOnsetDetector.h \ - $(EXAMPLEDIR)/FixedTempoEstimator.h \ - $(EXAMPLEDIR)/AmplitudeFollower.h \ - $(EXAMPLEDIR)/ZeroCrossing.h - -PLUGIN_OBJECTS = \ - $(EXAMPLEDIR)/SpectralCentroid.o \ - $(EXAMPLEDIR)/PowerSpectrum.o \ - $(EXAMPLEDIR)/PercussionOnsetDetector.o \ - $(EXAMPLEDIR)/FixedTempoEstimator.o \ - $(EXAMPLEDIR)/AmplitudeFollower.o \ - $(EXAMPLEDIR)/ZeroCrossing.o \ - $(EXAMPLEDIR)/plugins.o - -PLUGIN_TARGET = \ - $(EXAMPLEDIR)/vamp-example-plugins$(PLUGIN_EXT) - -HOST_HEADERS = \ - $(HOSTDIR)/system.h - -HOST_OBJECTS = \ - $(HOSTDIR)/vamp-simple-host.o - -HOST_TARGET = \ - $(HOSTDIR)/vamp-simple-host - -RDFGEN_OBJECTS = \ - $(RDFGENDIR)/vamp-rdf-template-generator.o - -RDFGEN_TARGET = \ - $(RDFGENDIR)/vamp-rdf-template-generator - -sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC) - -sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) - $(RANLIB) $(SDK_STATIC) - $(RANLIB) $(HOSTSDK_STATIC) - -plugins: $(PLUGIN_TARGET) - -host: $(HOST_TARGET) - -rdfgen: $(RDFGEN_TARGET) - -all: sdk plugins host rdfgen test - -$(SDK_STATIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) - $(AR) r $@ $(SDK_OBJECTS) - -$(HOSTSDK_STATIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) - $(AR) r $@ $(HOSTSDK_OBJECTS) - -$(SDK_DYNAMIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) - $(CXX) $(LDFLAGS) $(SDK_DYNAMIC_LDFLAGS) -o $@ $(SDK_OBJECTS) - -$(HOSTSDK_DYNAMIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) - $(CXX) $(LDFLAGS) $(HOSTSDK_DYNAMIC_LDFLAGS) -o $@ $(HOSTSDK_OBJECTS) - -$(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(SDK_STATIC) $(PLUGIN_HEADERS) - $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $(PLUGIN_OBJECTS) $(PLUGIN_LIBS) - -$(HOST_TARGET): $(HOST_OBJECTS) $(HOSTSDK_STATIC) $(HOST_HEADERS) - $(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $(HOST_OBJECTS) $(HOST_LIBS) - -$(RDFGEN_TARGET): $(RDFGEN_OBJECTS) $(HOSTSDK_STATIC) - $(CXX) $(LDFLAGS) $(RDFGEN_LDFLAGS) -o $@ $(RDFGEN_OBJECTS) $(RDFGEN_LIBS) - -test: plugins host - VAMP_PATH=$(EXAMPLEDIR) $(HOST_TARGET) -l - -clean: - rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS) $(RDFGEN_OBJECTS) - -distclean: clean - rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) *~ */*~ - -# DO NOT DELETE - -examples/AmplitudeFollower.o: examples/AmplitudeFollower.h vamp-sdk/Plugin.h -examples/AmplitudeFollower.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/AmplitudeFollower.o: vamp-sdk/RealTime.h -examples/FixedTempoEstimator.o: examples/FixedTempoEstimator.h -examples/FixedTempoEstimator.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -examples/FixedTempoEstimator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -examples/PercussionOnsetDetector.o: examples/PercussionOnsetDetector.h -examples/PercussionOnsetDetector.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -examples/PercussionOnsetDetector.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -examples/SpectralCentroid.o: examples/SpectralCentroid.h vamp-sdk/Plugin.h -examples/SpectralCentroid.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/SpectralCentroid.o: vamp-sdk/RealTime.h -examples/PowerSpectrum.o: examples/PowerSpectrum.h vamp-sdk/Plugin.h -examples/PowerSpectrum.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/PowerSpectrum.o: vamp-sdk/RealTime.h -examples/ZeroCrossing.o: examples/ZeroCrossing.h vamp-sdk/Plugin.h -examples/ZeroCrossing.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/ZeroCrossing.o: vamp-sdk/RealTime.h -examples/plugins.o: vamp/vamp.h vamp-sdk/PluginAdapter.h vamp-sdk/Plugin.h -examples/plugins.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/plugins.o: vamp-sdk/RealTime.h examples/ZeroCrossing.h -examples/plugins.o: vamp-sdk/Plugin.h examples/SpectralCentroid.h -examples/plugins.o: examples/PercussionOnsetDetector.h examples/PowerSpectrum.h -examples/plugins.o: examples/FixedTempoEstimator.h -examples/plugins.o: examples/AmplitudeFollower.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginHostAdapter.h vamp/vamp.h -host/vamp-simple-host.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -host/vamp-simple-host.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginWrapper.h -host/vamp-simple-host.o: ./vamp-hostsdk/Plugin.h ./vamp-hostsdk/hostguard.h -host/vamp-simple-host.o: vamp-sdk/Plugin.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginLoader.h host/system.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginHostAdapter.h -rdf/generator/vamp-rdf-template-generator.o: vamp/vamp.h vamp-sdk/Plugin.h -rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/PluginBase.h -rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginChannelAdapter.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginWrapper.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/Plugin.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/hostguard.h -rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/Plugin.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginLoader.h -src/vamp-hostsdk/PluginHostAdapter.o: ./vamp-hostsdk/PluginHostAdapter.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp/vamp.h vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/RealTime.o: src/vamp-sdk/RealTime.cpp ./vamp-sdk/RealTime.h -src/vamp-hostsdk/RealTime.o: vamp-sdk/plugguard.h -src/vamp-sdk/PluginAdapter.o: vamp-sdk/PluginAdapter.h vamp/vamp.h -src/vamp-sdk/PluginAdapter.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -src/vamp-sdk/PluginAdapter.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -src/vamp-sdk/RealTime.o: ./vamp-sdk/RealTime.h vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginBufferingAdapter.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginChannelAdapter.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginHostAdapter.h -src/vamp-hostsdk/PluginLoader.o: vamp/vamp.h vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginLoader.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginChannelAdapter.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginBufferingAdapter.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginSummarisingAdapter.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/RealTime.h diff -r c97e70ed5abc -r 2e16d99867bd Makefile.suncxx --- a/Makefile.suncxx Mon Sep 21 09:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,412 +0,0 @@ - -# Makefile for the Vamp plugin SDK. This builds the SDK objects, -# libraries, example plugins, and the test host. Please adjust to -# suit your operating system requirements. - -APIDIR = vamp - -SDKDIR = vamp-sdk -HOSTSDKDIR = vamp-hostsdk - -SRCDIR = src -SDKSRCDIR = src/vamp-sdk -HOSTSDKSRCDIR = src/vamp-hostsdk - -EXAMPLEDIR = examples -HOSTDIR = host -PCDIR = pkgconfig -LADIR = build -RDFGENDIR = rdf/generator - -### -### Start of user-serviceable parts -### - -# Default build target (or use "make " to select one). -# Targets are: -# all -- build everything -# sdk -- build all the Vamp SDK libraries for plugins and hosts -# sdkstatic -- build only the static versions of the SDK libraries -# plugins -- build the example plugins (and the SDK if required) -# host -- build the simple Vamp plugin host (and the SDK if required) -# rdfgen -- build the RDF template generator (and the SDK if required) -# test -- build the host and example plugins, and run a quick test -# clean -- remove binary targets -# distclean -- remove all targets -# -default: sdk plugins host rdfgen test - -# Compile flags -# -CXX := CC -CXXFLAGS := -I. -KPIC - -# ar, ranlib -# -AR := ar -RANLIB := ranlib - -# Libraries required for the plugins. -# -PLUGIN_LIBS = $(SRCDIR)/libvamp-sdk.a - -# File extension for a dynamically loadable object -# -PLUGIN_EXT = .so -#PLUGIN_EXT = .dll -#PLUGIN_EXT = .dylib - -# Libraries required for the host. -# -HOST_LIBS = $(SRCDIR)/libvamp-hostsdk.a -lsndfile - -# Libraries required for the RDF template generator. -# -RDFGEN_LIBS = $(SRCDIR)/libvamp-hostsdk.a - -# Locations for "make install". This will need quite a bit of -# editing for non-Linux platforms. Of course you don't necessarily -# have to use "make install". -# -INSTALL_PREFIX := /usr/local -INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp -INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk -INSTALL_HOSTSDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-hostsdk -INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib -INSTALL_PLUGINS := $(INSTALL_PREFIX)/lib/vamp -INSTALL_BINARIES := $(INSTALL_PREFIX)/bin - -INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.0.0 -INSTALL_SDK_LINK_ABI := libvamp-sdk.so.2 -INSTALL_SDK_LINK_DEV := libvamp-sdk.so -INSTALL_SDK_STATIC := libvamp-sdk.a -INSTALL_SDK_LA := libvamp-sdk.la - -INSTALL_HOSTSDK_LIBNAME := libvamp-hostsdk.so.3.0.0 -INSTALL_HOSTSDK_LINK_ABI := libvamp-hostsdk.so.3 -INSTALL_HOSTSDK_LINK_DEV := libvamp-hostsdk.so -INSTALL_HOSTSDK_STATIC := libvamp-hostsdk.a -INSTALL_HOSTSDK_LA := libvamp-hostsdk.la - -INSTALL_PKGCONFIG := $(INSTALL_PREFIX)/lib/pkgconfig - -# Flags required to tell the compiler to create a dynamically loadable object -# -DYNAMIC_LDFLAGS = -G -shared -Wl,-Bsymbolic -lCstd -lm -SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LINK_ABI) -HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI) - -# Additional flags for making a plugin. This version script tells the -# GNU linker to make all symbols in the library hidden except for the -# public entry point. It's not essential, but makes a tidier library. -PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map - - -## For OS/X with g++: -#DYNAMIC_LDFLAGS = -dynamiclib -#PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -#SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -#HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) - - -### End of user-serviceable parts - - -API_HEADERS = \ - $(APIDIR)/vamp.h - -SDK_HEADERS = \ - $(SDKDIR)/Plugin.h \ - $(SDKDIR)/PluginAdapter.h \ - $(SDKDIR)/PluginBase.h \ - $(SDKDIR)/RealTime.h \ - $(SDKDIR)/plugguard.h \ - $(SDKDIR)/vamp-sdk.h - -HOSTSDK_HEADERS = \ - $(HOSTSDKDIR)/Plugin.h \ - $(HOSTSDKDIR)/PluginBase.h \ - $(HOSTSDKDIR)/PluginHostAdapter.h \ - $(HOSTSDKDIR)/RealTime.h \ - $(HOSTSDKDIR)/PluginBufferingAdapter.h \ - $(HOSTSDKDIR)/PluginChannelAdapter.h \ - $(HOSTSDKDIR)/PluginInputDomainAdapter.h \ - $(HOSTSDKDIR)/PluginLoader.h \ - $(HOSTSDKDIR)/PluginSummarisingAdapter.h \ - $(HOSTSDKDIR)/PluginWrapper.h \ - $(HOSTSDKDIR)/hostguard.h \ - $(HOSTSDKDIR)/vamp-hostsdk.h - -SDK_OBJECTS = \ - $(SDKSRCDIR)/PluginAdapter.o \ - $(SDKSRCDIR)/RealTime.o - -HOSTSDK_OBJECTS = \ - $(HOSTSDKSRCDIR)/PluginHostAdapter.o \ - $(HOSTSDKSRCDIR)/RealTime.o \ - $(HOSTSDKSRCDIR)/PluginBufferingAdapter.o \ - $(HOSTSDKSRCDIR)/PluginChannelAdapter.o \ - $(HOSTSDKSRCDIR)/PluginInputDomainAdapter.o \ - $(HOSTSDKSRCDIR)/PluginLoader.o \ - $(HOSTSDKSRCDIR)/PluginSummarisingAdapter.o \ - $(HOSTSDKSRCDIR)/PluginWrapper.o - -SDK_STATIC = \ - $(SRCDIR)/libvamp-sdk.a - -HOSTSDK_STATIC = \ - $(SRCDIR)/libvamp-hostsdk.a - -SDK_DYNAMIC = \ - $(SRCDIR)/libvamp-sdk$(PLUGIN_EXT) - -HOSTSDK_DYNAMIC = \ - $(SRCDIR)/libvamp-hostsdk$(PLUGIN_EXT) - -SDK_LA = \ - $(LADIR)/libvamp-sdk.la - -HOSTSDK_LA = \ - $(LADIR)/libvamp-hostsdk.la - -PLUGIN_HEADERS = \ - $(EXAMPLEDIR)/SpectralCentroid.h \ - $(EXAMPLEDIR)/PowerSpectrum.h \ - $(EXAMPLEDIR)/PercussionOnsetDetector.h \ - $(EXAMPLEDIR)/FixedTempoEstimator.h \ - $(EXAMPLEDIR)/AmplitudeFollower.h \ - $(EXAMPLEDIR)/ZeroCrossing.h - -PLUGIN_OBJECTS = \ - $(EXAMPLEDIR)/SpectralCentroid.o \ - $(EXAMPLEDIR)/PowerSpectrum.o \ - $(EXAMPLEDIR)/PercussionOnsetDetector.o \ - $(EXAMPLEDIR)/FixedTempoEstimator.o \ - $(EXAMPLEDIR)/AmplitudeFollower.o \ - $(EXAMPLEDIR)/ZeroCrossing.o \ - $(EXAMPLEDIR)/plugins.o - -PLUGIN_TARGET = \ - $(EXAMPLEDIR)/vamp-example-plugins$(PLUGIN_EXT) - -PLUGIN_CAT = \ - $(EXAMPLEDIR)/vamp-example-plugins.cat - -HOST_HEADERS = \ - $(HOSTDIR)/system.h - -HOST_OBJECTS = \ - $(HOSTDIR)/vamp-simple-host.o - -HOST_TARGET = \ - $(HOSTDIR)/vamp-simple-host - -RDFGEN_OBJECTS = \ - $(RDFGENDIR)/vamp-rdf-template-generator.o - -RDFGEN_TARGET = \ - $(RDFGENDIR)/vamp-rdf-template-generator - -sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC) - -sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) - $(RANLIB) $(SDK_STATIC) - $(RANLIB) $(HOSTSDK_STATIC) - -plugins: $(PLUGIN_TARGET) - -host: $(HOST_TARGET) - -rdfgen: $(RDFGEN_TARGET) - -all: sdk plugins host rdfgen test - -$(SDK_STATIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) - $(AR) r $@ $(SDK_OBJECTS) - -$(HOSTSDK_STATIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) - $(AR) r $@ $(HOSTSDK_OBJECTS) - -$(SDK_DYNAMIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) - $(CXX) $(LDFLAGS) $(SDK_DYNAMIC_LDFLAGS) -o $@ $(SDK_OBJECTS) - -$(HOSTSDK_DYNAMIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) - $(CXX) $(LDFLAGS) $(HOSTSDK_DYNAMIC_LDFLAGS) -o $@ $(HOSTSDK_OBJECTS) - -$(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(SDK_STATIC) $(PLUGIN_HEADERS) - $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $(PLUGIN_OBJECTS) $(PLUGIN_LIBS) - -$(HOST_TARGET): $(HOST_OBJECTS) $(HOSTSDK_STATIC) $(HOST_HEADERS) - $(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $(HOST_OBJECTS) $(HOST_LIBS) - -$(RDFGEN_TARGET): $(RDFGEN_OBJECTS) $(HOSTSDK_STATIC) - $(CXX) $(LDFLAGS) $(RDFGEN_LDFLAGS) -o $@ $(RDFGEN_OBJECTS) $(RDFGEN_LIBS) - -test: plugins host - VAMP_PATH=$(EXAMPLEDIR) $(HOST_TARGET) -l - -clean: - rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS) $(RDFGEN_OBJECTS) - -distclean: clean - rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) *~ */*~ - rm -f config.log config.status Makefile - -install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) - mkdir -p $(DESTDIR)$(INSTALL_API_HEADERS) - mkdir -p $(DESTDIR)$(INSTALL_SDK_HEADERS) - mkdir -p $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) - mkdir -p $(DESTDIR)$(INSTALL_SDK_LIBS) - mkdir -p $(DESTDIR)$(INSTALL_PKGCONFIG) - mkdir -p $(DESTDIR)$(INSTALL_BINARIES) - mkdir -p $(DESTDIR)$(INSTALL_PLUGINS) - cp $(HOST_TARGET) $(DESTDIR)$(INSTALL_BINARIES) - cp $(RDFGEN_TARGET) $(DESTDIR)$(INSTALL_BINARIES) - cp $(PLUGIN_TARGET) $(DESTDIR)$(INSTALL_PLUGINS) - cp $(PLUGIN_CAT) $(DESTDIR)$(INSTALL_PLUGINS) - cp $(API_HEADERS) $(DESTDIR)$(INSTALL_API_HEADERS) - cp $(SDK_HEADERS) $(DESTDIR)$(INSTALL_SDK_HEADERS) - cp $(HOSTSDK_HEADERS) $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) - cp $(SDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) - cp $(HOSTSDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) - cp $(SDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LIBNAME) - cp $(HOSTSDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LIBNAME) - rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) - ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) - rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) - ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) - rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) - ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) - rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) - ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) - sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp.pc.in \ - > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp.pc - sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-sdk.pc.in \ - > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-sdk.pc - sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-hostsdk.pc.in \ - > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-hostsdk.pc - sed -e "s,%LIBNAME%,$(INSTALL_SDK_LIBNAME),g" \ - -e "s,%LINK_ABI%,$(INSTALL_SDK_LINK_ABI),g" \ - -e "s,%LINK_DEV%,$(INSTALL_SDK_LINK_DEV),g" \ - -e "s,%STATIC%,$(INSTALL_SDK_STATIC),g" \ - -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \ - > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA) - sed -e "s,%LIBNAME%,$(INSTALL_HOSTSDK_LIBNAME),g" \ - -e "s,%LINK_ABI%,$(INSTALL_HOSTSDK_LINK_ABI),g" \ - -e "s,%LINK_DEV%,$(INSTALL_HOSTSDK_LINK_DEV),g" \ - -e "s,%STATIC%,$(INSTALL_HOSTSDK_STATIC),g" \ - -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(HOSTSDK_LA).in \ - > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA) - -depend: - makedepend -Y. */*.cpp */*/*.cpp */*/*/*.cpp - -# DO NOT DELETE - -examples/AmplitudeFollower.o: examples/AmplitudeFollower.h vamp-sdk/Plugin.h -examples/AmplitudeFollower.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/AmplitudeFollower.o: vamp-sdk/RealTime.h -examples/FixedTempoEstimator.o: examples/FixedTempoEstimator.h -examples/FixedTempoEstimator.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -examples/FixedTempoEstimator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -examples/PercussionOnsetDetector.o: examples/PercussionOnsetDetector.h -examples/PercussionOnsetDetector.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -examples/PercussionOnsetDetector.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -examples/SpectralCentroid.o: examples/SpectralCentroid.h vamp-sdk/Plugin.h -examples/SpectralCentroid.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/SpectralCentroid.o: vamp-sdk/RealTime.h -examples/PowerSpectrum.o: examples/PowerSpectrum.h vamp-sdk/Plugin.h -examples/PowerSpectrum.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/PowerSpectrum.o: vamp-sdk/RealTime.h -examples/ZeroCrossing.o: examples/ZeroCrossing.h vamp-sdk/Plugin.h -examples/ZeroCrossing.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/ZeroCrossing.o: vamp-sdk/RealTime.h -examples/plugins.o: vamp/vamp.h vamp-sdk/PluginAdapter.h vamp-sdk/Plugin.h -examples/plugins.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h -examples/plugins.o: vamp-sdk/RealTime.h examples/ZeroCrossing.h -examples/plugins.o: vamp-sdk/Plugin.h examples/SpectralCentroid.h -examples/plugins.o: examples/PercussionOnsetDetector.h examples/PowerSpectrum.h -examples/plugins.o: examples/FixedTempoEstimator.h -examples/plugins.o: examples/AmplitudeFollower.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginHostAdapter.h vamp/vamp.h -host/vamp-simple-host.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -host/vamp-simple-host.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginWrapper.h -host/vamp-simple-host.o: ./vamp-hostsdk/Plugin.h ./vamp-hostsdk/hostguard.h -host/vamp-simple-host.o: vamp-sdk/Plugin.h -host/vamp-simple-host.o: ./vamp-hostsdk/PluginLoader.h host/system.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginHostAdapter.h -rdf/generator/vamp-rdf-template-generator.o: vamp/vamp.h vamp-sdk/Plugin.h -rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/PluginBase.h -rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginChannelAdapter.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginWrapper.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/Plugin.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/hostguard.h -rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/Plugin.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginLoader.h -src/vamp-hostsdk/PluginHostAdapter.o: ./vamp-hostsdk/PluginHostAdapter.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp/vamp.h vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/RealTime.o: src/vamp-sdk/RealTime.cpp ./vamp-sdk/RealTime.h -src/vamp-hostsdk/RealTime.o: vamp-sdk/plugguard.h -src/vamp-sdk/PluginAdapter.o: vamp-sdk/PluginAdapter.h vamp/vamp.h -src/vamp-sdk/PluginAdapter.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h -src/vamp-sdk/PluginAdapter.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h -src/vamp-sdk/RealTime.o: ./vamp-sdk/RealTime.h vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginBufferingAdapter.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginChannelAdapter.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginHostAdapter.h -src/vamp-hostsdk/PluginLoader.o: vamp/vamp.h vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginLoader.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginLoader.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginInputDomainAdapter.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginChannelAdapter.h -src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginBufferingAdapter.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginSummarisingAdapter.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/RealTime.h -src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/PluginWrapper.h -src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/Plugin.h -src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/hostguard.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/Plugin.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/PluginBase.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/plugguard.h -src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/RealTime.h diff -r c97e70ed5abc -r 2e16d99867bd build/Makefile.osol --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/Makefile.osol Tue Sep 22 10:02:56 2009 +0000 @@ -0,0 +1,403 @@ + +# Makefile for the Vamp plugin SDK. This builds the SDK objects, +# libraries, example plugins, and the test host. Please adjust to +# suit your operating system requirements. + +APIDIR = vamp + +SDKDIR = vamp-sdk +HOSTSDKDIR = vamp-hostsdk + +SRCDIR = src +SDKSRCDIR = src/vamp-sdk +HOSTSDKSRCDIR = src/vamp-hostsdk + +EXAMPLEDIR = examples +HOSTDIR = host +PCDIR = pkgconfig +LADIR = build +RDFGENDIR = rdf/generator + +### +### Start of user-serviceable parts +### + +# Default build target (or use "make " to select one). +# Targets are: +# all -- build everything +# sdk -- build all the Vamp SDK libraries for plugins and hosts +# sdkstatic -- build only the static versions of the SDK libraries +# plugins -- build the example plugins (and the SDK if required) +# host -- build the simple Vamp plugin host (and the SDK if required) +# rdfgen -- build the RDF template generator (and the SDK if required) +# test -- build the host and example plugins, and run a quick test +# clean -- remove binary targets +# distclean -- remove all targets +# +default: sdk plugins host rdfgen test + +# Compile flags +# +CXX := CC +CXXFLAGS := -I. -KPIC + +# ar, ranlib +# +AR := ar +RANLIB := ranlib + +# Libraries required for the plugins. +# +PLUGIN_LIBS = ./libvamp-sdk.a + +# File extension for a dynamically loadable object +# +PLUGIN_EXT = .so + +# Libraries required for the host. +# +HOST_LIBS = ./libvamp-hostsdk.a -lsndfile + +# Libraries required for the RDF template generator. +# +RDFGEN_LIBS = ./libvamp-hostsdk.a + +# Locations for "make install". This will need quite a bit of +# editing for non-Linux platforms. Of course you don't necessarily +# have to use "make install". +# +INSTALL_PREFIX := /usr/local +INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp +INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk +INSTALL_HOSTSDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-hostsdk +INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib +INSTALL_PLUGINS := $(INSTALL_PREFIX)/lib/vamp +INSTALL_BINARIES := $(INSTALL_PREFIX)/bin + +INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.1.0 +INSTALL_SDK_LINK_ABI := libvamp-sdk.so.2 +INSTALL_SDK_LINK_DEV := libvamp-sdk.so +INSTALL_SDK_STATIC := libvamp-sdk.a +INSTALL_SDK_LA := libvamp-sdk.la + +INSTALL_HOSTSDK_LIBNAME := libvamp-hostsdk.so.3.1.0 +INSTALL_HOSTSDK_LINK_ABI := libvamp-hostsdk.so.3 +INSTALL_HOSTSDK_LINK_DEV := libvamp-hostsdk.so +INSTALL_HOSTSDK_STATIC := libvamp-hostsdk.a +INSTALL_HOSTSDK_LA := libvamp-hostsdk.la + +INSTALL_PKGCONFIG := $(INSTALL_PREFIX)/lib/pkgconfig + +# Flags required to tell the compiler to create a dynamically loadable object +# +DYNAMIC_LDFLAGS = -G -lCstd -lCrun -lm +SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -h$(INSTALL_SDK_LINK_ABI) +HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -h$(INSTALL_HOSTSDK_LINK_ABI) + +# Additional flags for making a plugin. This version script tells the +# GNU linker to make all symbols in the library hidden except for the +# public entry point. It's not essential, but makes a tidier library. +PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Qoption ld -Mbuild/vamp-plugin.map + + +### End of user-serviceable parts + + +API_HEADERS = \ + $(APIDIR)/vamp.h + +SDK_HEADERS = \ + $(SDKDIR)/Plugin.h \ + $(SDKDIR)/PluginAdapter.h \ + $(SDKDIR)/PluginBase.h \ + $(SDKDIR)/RealTime.h \ + $(SDKDIR)/plugguard.h \ + $(SDKDIR)/vamp-sdk.h + +HOSTSDK_HEADERS = \ + $(HOSTSDKDIR)/Plugin.h \ + $(HOSTSDKDIR)/PluginBase.h \ + $(HOSTSDKDIR)/PluginHostAdapter.h \ + $(HOSTSDKDIR)/RealTime.h \ + $(HOSTSDKDIR)/PluginBufferingAdapter.h \ + $(HOSTSDKDIR)/PluginChannelAdapter.h \ + $(HOSTSDKDIR)/PluginInputDomainAdapter.h \ + $(HOSTSDKDIR)/PluginLoader.h \ + $(HOSTSDKDIR)/PluginSummarisingAdapter.h \ + $(HOSTSDKDIR)/PluginWrapper.h \ + $(HOSTSDKDIR)/hostguard.h \ + $(HOSTSDKDIR)/vamp-hostsdk.h + +SDK_OBJECTS = \ + $(SDKSRCDIR)/PluginAdapter.o \ + $(SDKSRCDIR)/RealTime.o + +HOSTSDK_OBJECTS = \ + $(HOSTSDKSRCDIR)/PluginHostAdapter.o \ + $(HOSTSDKSRCDIR)/RealTime.o \ + $(HOSTSDKSRCDIR)/PluginBufferingAdapter.o \ + $(HOSTSDKSRCDIR)/PluginChannelAdapter.o \ + $(HOSTSDKSRCDIR)/PluginInputDomainAdapter.o \ + $(HOSTSDKSRCDIR)/PluginLoader.o \ + $(HOSTSDKSRCDIR)/PluginSummarisingAdapter.o \ + $(HOSTSDKSRCDIR)/PluginWrapper.o + +SDK_STATIC = \ + ./libvamp-sdk.a + +HOSTSDK_STATIC = \ + ./libvamp-hostsdk.a + +SDK_DYNAMIC = \ + ./libvamp-sdk$(PLUGIN_EXT) + +HOSTSDK_DYNAMIC = \ + ./libvamp-hostsdk$(PLUGIN_EXT) + +SDK_LA = \ + $(LADIR)/libvamp-sdk.la + +HOSTSDK_LA = \ + $(LADIR)/libvamp-hostsdk.la + +PLUGIN_HEADERS = \ + $(EXAMPLEDIR)/SpectralCentroid.h \ + $(EXAMPLEDIR)/PowerSpectrum.h \ + $(EXAMPLEDIR)/PercussionOnsetDetector.h \ + $(EXAMPLEDIR)/FixedTempoEstimator.h \ + $(EXAMPLEDIR)/AmplitudeFollower.h \ + $(EXAMPLEDIR)/ZeroCrossing.h + +PLUGIN_OBJECTS = \ + $(EXAMPLEDIR)/SpectralCentroid.o \ + $(EXAMPLEDIR)/PowerSpectrum.o \ + $(EXAMPLEDIR)/PercussionOnsetDetector.o \ + $(EXAMPLEDIR)/FixedTempoEstimator.o \ + $(EXAMPLEDIR)/AmplitudeFollower.o \ + $(EXAMPLEDIR)/ZeroCrossing.o \ + $(EXAMPLEDIR)/plugins.o + +PLUGIN_TARGET = \ + $(EXAMPLEDIR)/vamp-example-plugins$(PLUGIN_EXT) + +PLUGIN_CAT = \ + $(EXAMPLEDIR)/vamp-example-plugins.cat + +HOST_HEADERS = \ + $(HOSTDIR)/system.h + +HOST_OBJECTS = \ + $(HOSTDIR)/vamp-simple-host.o + +HOST_TARGET = \ + $(HOSTDIR)/vamp-simple-host + +RDFGEN_OBJECTS = \ + $(RDFGENDIR)/vamp-rdf-template-generator.o + +RDFGEN_TARGET = \ + $(RDFGENDIR)/vamp-rdf-template-generator + +sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC) + +sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) + $(RANLIB) $(SDK_STATIC) + $(RANLIB) $(HOSTSDK_STATIC) + +plugins: $(PLUGIN_TARGET) + +host: $(HOST_TARGET) + +rdfgen: $(RDFGEN_TARGET) + +all: sdk plugins host rdfgen test + +$(SDK_STATIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) + $(AR) r $@ $(SDK_OBJECTS) + +$(HOSTSDK_STATIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) + $(AR) r $@ $(HOSTSDK_OBJECTS) + +$(SDK_DYNAMIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) + $(CXX) $(LDFLAGS) $(SDK_DYNAMIC_LDFLAGS) -o $@ $(SDK_OBJECTS) + +$(HOSTSDK_DYNAMIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) + $(CXX) $(LDFLAGS) $(HOSTSDK_DYNAMIC_LDFLAGS) -o $@ $(HOSTSDK_OBJECTS) + +$(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(SDK_STATIC) $(PLUGIN_HEADERS) + $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $(PLUGIN_OBJECTS) $(PLUGIN_LIBS) + +$(HOST_TARGET): $(HOST_OBJECTS) $(HOSTSDK_STATIC) $(HOST_HEADERS) + $(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $(HOST_OBJECTS) $(HOST_LIBS) + +$(RDFGEN_TARGET): $(RDFGEN_OBJECTS) $(HOSTSDK_STATIC) + $(CXX) $(LDFLAGS) $(RDFGEN_LDFLAGS) -o $@ $(RDFGEN_OBJECTS) $(RDFGEN_LIBS) + +test: plugins host + VAMP_PATH=$(EXAMPLEDIR) $(HOST_TARGET) -l + +clean: + rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS) $(RDFGEN_OBJECTS) + +distclean: clean + rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) *~ */*~ + rm -f config.log config.status Makefile + +install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) + mkdir -p $(DESTDIR)$(INSTALL_API_HEADERS) + mkdir -p $(DESTDIR)$(INSTALL_SDK_HEADERS) + mkdir -p $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) + mkdir -p $(DESTDIR)$(INSTALL_SDK_LIBS) + mkdir -p $(DESTDIR)$(INSTALL_PKGCONFIG) + mkdir -p $(DESTDIR)$(INSTALL_BINARIES) + mkdir -p $(DESTDIR)$(INSTALL_PLUGINS) + cp $(HOST_TARGET) $(DESTDIR)$(INSTALL_BINARIES) + cp $(RDFGEN_TARGET) $(DESTDIR)$(INSTALL_BINARIES) + cp $(PLUGIN_TARGET) $(DESTDIR)$(INSTALL_PLUGINS) + cp $(PLUGIN_CAT) $(DESTDIR)$(INSTALL_PLUGINS) + cp $(API_HEADERS) $(DESTDIR)$(INSTALL_API_HEADERS) + cp $(SDK_HEADERS) $(DESTDIR)$(INSTALL_SDK_HEADERS) + cp $(HOSTSDK_HEADERS) $(DESTDIR)$(INSTALL_HOSTSDK_HEADERS) + cp $(SDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) + cp $(HOSTSDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) + cp $(SDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LIBNAME) + cp $(HOSTSDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LIBNAME) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) + ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) + ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) + ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) + ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) + sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp.pc.in \ + > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp.pc + sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-sdk.pc.in \ + > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-sdk.pc + sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-hostsdk.pc.in \ + > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-hostsdk.pc + sed -e "s,%LIBNAME%,$(INSTALL_SDK_LIBNAME),g" \ + -e "s,%LINK_ABI%,$(INSTALL_SDK_LINK_ABI),g" \ + -e "s,%LINK_DEV%,$(INSTALL_SDK_LINK_DEV),g" \ + -e "s,%STATIC%,$(INSTALL_SDK_STATIC),g" \ + -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \ + > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA) + sed -e "s,%LIBNAME%,$(INSTALL_HOSTSDK_LIBNAME),g" \ + -e "s,%LINK_ABI%,$(INSTALL_HOSTSDK_LINK_ABI),g" \ + -e "s,%LINK_DEV%,$(INSTALL_HOSTSDK_LINK_DEV),g" \ + -e "s,%STATIC%,$(INSTALL_HOSTSDK_STATIC),g" \ + -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(HOSTSDK_LA).in \ + > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA) + +depend: + makedepend -Y. */*.cpp */*/*.cpp */*/*/*.cpp + +# DO NOT DELETE + +examples/AmplitudeFollower.o: examples/AmplitudeFollower.h vamp-sdk/Plugin.h +examples/AmplitudeFollower.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/AmplitudeFollower.o: vamp-sdk/RealTime.h +examples/FixedTempoEstimator.o: examples/FixedTempoEstimator.h +examples/FixedTempoEstimator.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +examples/FixedTempoEstimator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +examples/PercussionOnsetDetector.o: examples/PercussionOnsetDetector.h +examples/PercussionOnsetDetector.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +examples/PercussionOnsetDetector.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +examples/SpectralCentroid.o: examples/SpectralCentroid.h vamp-sdk/Plugin.h +examples/SpectralCentroid.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/SpectralCentroid.o: vamp-sdk/RealTime.h +examples/PowerSpectrum.o: examples/PowerSpectrum.h vamp-sdk/Plugin.h +examples/PowerSpectrum.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/PowerSpectrum.o: vamp-sdk/RealTime.h +examples/ZeroCrossing.o: examples/ZeroCrossing.h vamp-sdk/Plugin.h +examples/ZeroCrossing.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/ZeroCrossing.o: vamp-sdk/RealTime.h +examples/plugins.o: vamp/vamp.h vamp-sdk/PluginAdapter.h vamp-sdk/Plugin.h +examples/plugins.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/plugins.o: vamp-sdk/RealTime.h examples/ZeroCrossing.h +examples/plugins.o: vamp-sdk/Plugin.h examples/SpectralCentroid.h +examples/plugins.o: examples/PercussionOnsetDetector.h examples/PowerSpectrum.h +examples/plugins.o: examples/FixedTempoEstimator.h +examples/plugins.o: examples/AmplitudeFollower.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginHostAdapter.h vamp/vamp.h +host/vamp-simple-host.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +host/vamp-simple-host.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginWrapper.h +host/vamp-simple-host.o: ./vamp-hostsdk/Plugin.h ./vamp-hostsdk/hostguard.h +host/vamp-simple-host.o: vamp-sdk/Plugin.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginLoader.h host/system.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginHostAdapter.h +rdf/generator/vamp-rdf-template-generator.o: vamp/vamp.h vamp-sdk/Plugin.h +rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/PluginBase.h +rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginChannelAdapter.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginWrapper.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/Plugin.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/hostguard.h +rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/Plugin.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginLoader.h +src/vamp-hostsdk/PluginHostAdapter.o: ./vamp-hostsdk/PluginHostAdapter.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp/vamp.h vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/RealTime.o: src/vamp-sdk/RealTime.cpp ./vamp-sdk/RealTime.h +src/vamp-hostsdk/RealTime.o: vamp-sdk/plugguard.h +src/vamp-sdk/PluginAdapter.o: vamp-sdk/PluginAdapter.h vamp/vamp.h +src/vamp-sdk/PluginAdapter.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +src/vamp-sdk/PluginAdapter.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +src/vamp-sdk/RealTime.o: ./vamp-sdk/RealTime.h vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginBufferingAdapter.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginChannelAdapter.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginHostAdapter.h +src/vamp-hostsdk/PluginLoader.o: vamp/vamp.h vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginLoader.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginChannelAdapter.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginBufferingAdapter.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginSummarisingAdapter.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/RealTime.h diff -r c97e70ed5abc -r 2e16d99867bd build/Makefile.osx --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/Makefile.osx Tue Sep 22 10:02:56 2009 +0000 @@ -0,0 +1,346 @@ + +# Makefile for the Vamp plugin SDK. This builds the SDK objects, +# libraries, example plugins, and the test host. Please adjust to +# suit your operating system requirements. +# +# This version of the Makefile is approximately correct for OS/X. +# Note that it has no "install" target; the following are the +# library and related files that may be of interest resulting from +# the build: +# +# src/libvamp-sdk.dylib [SDK dynamic library for plugins] +# src/libvamp-hostsdk.dylib [SDK dynamic library for hosts] +# +# src/libvamp-sdk.a [SDK static library for plugins] +# src/libvamp-hostsdk.a [SDK static library for hosts] +# +# examples/vamp-example-plugins.cat [copy this to your Vamp plugin dir] +# examples/vamp-example-plugins.dylib [copy this to your Vamp plugin dir] +# +# host/vamp-simple-host [requires libsndfile to build] +# +# rdf/generator/vamp-rdf-template-generator + +# Makefile for the Vamp plugin SDK. This builds the SDK objects, +# libraries, example plugins, and the test host. Please adjust to +# suit your operating system requirements. + +APIDIR = vamp + +SDKDIR = vamp-sdk +HOSTSDKDIR = vamp-hostsdk + +SRCDIR = src +SDKSRCDIR = src/vamp-sdk +HOSTSDKSRCDIR = src/vamp-hostsdk + +EXAMPLEDIR = examples +HOSTDIR = host +PCDIR = pkgconfig +LADIR = build +RDFGENDIR = rdf/generator + +### +### Start of user-serviceable parts +### + +# Default build target (or use "make " to select one). +# Targets are: +# all -- build everything +# sdk -- build all the Vamp SDK libraries for plugins and hosts +# sdkstatic -- build only the static versions of the SDK libraries +# plugins -- build the example plugins (and the SDK if required) +# host -- build the simple Vamp plugin host (and the SDK if required) +# rdfgen -- build the RDF template generator (and the SDK if required) +# test -- build the host and example plugins, and run a quick test +# clean -- remove binary targets +# distclean -- remove all targets +# +default: all + +# Compile flags +# +CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fPIC + +# ar, ranlib +# +AR := ar +RANLIB := ranlib + +# Libraries required for the plugins. +# +PLUGIN_LIBS = ./libvamp-sdk.a + +# File extension for a dynamically loadable object +# +PLUGIN_EXT = .dylib + +# Libraries required for the host. +# +HOST_LIBS = ./libvamp-hostsdk.a -lsndfile -ldl + +# Libraries required for the RDF template generator. +# +RDFGEN_LIBS = ./libvamp-hostsdk.a -ldl + +# Flags required to tell the compiler to create a dynamically loadable object +# +DYNAMIC_LDFLAGS = -dynamiclib +PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name vamp-example-plugins.dylib +SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name libvamp-sdk.dylib +HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name libvamp-hostsdk.dylib + +# Additional flags for making a plugin. This tells the linker to make +# all symbols in the library hidden except for the public entry point. +# It's not essential, but makes a tidier library. +PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -install_name vamp-example-plugins.dylib -exported_symbols_list build/vamp-plugin.list + + +### End of user-serviceable parts + + +API_HEADERS = \ + $(APIDIR)/vamp.h + +SDK_HEADERS = \ + $(SDKDIR)/Plugin.h \ + $(SDKDIR)/PluginAdapter.h \ + $(SDKDIR)/PluginBase.h \ + $(SDKDIR)/RealTime.h \ + $(SDKDIR)/plugguard.h \ + $(SDKDIR)/vamp-sdk.h + +HOSTSDK_HEADERS = \ + $(HOSTSDKDIR)/Plugin.h \ + $(HOSTSDKDIR)/PluginBase.h \ + $(HOSTSDKDIR)/PluginHostAdapter.h \ + $(HOSTSDKDIR)/RealTime.h \ + $(HOSTSDKDIR)/PluginBufferingAdapter.h \ + $(HOSTSDKDIR)/PluginChannelAdapter.h \ + $(HOSTSDKDIR)/PluginInputDomainAdapter.h \ + $(HOSTSDKDIR)/PluginLoader.h \ + $(HOSTSDKDIR)/PluginSummarisingAdapter.h \ + $(HOSTSDKDIR)/PluginWrapper.h \ + $(HOSTSDKDIR)/hostguard.h \ + $(HOSTSDKDIR)/vamp-hostsdk.h + +SDK_OBJECTS = \ + $(SDKSRCDIR)/PluginAdapter.o \ + $(SDKSRCDIR)/RealTime.o + +HOSTSDK_OBJECTS = \ + $(HOSTSDKSRCDIR)/PluginHostAdapter.o \ + $(HOSTSDKSRCDIR)/RealTime.o \ + $(HOSTSDKSRCDIR)/PluginBufferingAdapter.o \ + $(HOSTSDKSRCDIR)/PluginChannelAdapter.o \ + $(HOSTSDKSRCDIR)/PluginInputDomainAdapter.o \ + $(HOSTSDKSRCDIR)/PluginLoader.o \ + $(HOSTSDKSRCDIR)/PluginSummarisingAdapter.o \ + $(HOSTSDKSRCDIR)/PluginWrapper.o + +SDK_STATIC = \ + ./libvamp-sdk.a + +HOSTSDK_STATIC = \ + ./libvamp-hostsdk.a + +SDK_DYNAMIC = \ + ./libvamp-sdk$(PLUGIN_EXT) + +HOSTSDK_DYNAMIC = \ + ./libvamp-hostsdk$(PLUGIN_EXT) + +SDK_LA = \ + $(LADIR)/libvamp-sdk.la + +HOSTSDK_LA = \ + $(LADIR)/libvamp-hostsdk.la + +PLUGIN_HEADERS = \ + $(EXAMPLEDIR)/SpectralCentroid.h \ + $(EXAMPLEDIR)/PowerSpectrum.h \ + $(EXAMPLEDIR)/PercussionOnsetDetector.h \ + $(EXAMPLEDIR)/FixedTempoEstimator.h \ + $(EXAMPLEDIR)/AmplitudeFollower.h \ + $(EXAMPLEDIR)/ZeroCrossing.h + +PLUGIN_OBJECTS = \ + $(EXAMPLEDIR)/SpectralCentroid.o \ + $(EXAMPLEDIR)/PowerSpectrum.o \ + $(EXAMPLEDIR)/PercussionOnsetDetector.o \ + $(EXAMPLEDIR)/FixedTempoEstimator.o \ + $(EXAMPLEDIR)/AmplitudeFollower.o \ + $(EXAMPLEDIR)/ZeroCrossing.o \ + $(EXAMPLEDIR)/plugins.o + +PLUGIN_TARGET = \ + $(EXAMPLEDIR)/vamp-example-plugins$(PLUGIN_EXT) + +HOST_HEADERS = \ + $(HOSTDIR)/system.h + +HOST_OBJECTS = \ + $(HOSTDIR)/vamp-simple-host.o + +HOST_TARGET = \ + $(HOSTDIR)/vamp-simple-host + +RDFGEN_OBJECTS = \ + $(RDFGENDIR)/vamp-rdf-template-generator.o + +RDFGEN_TARGET = \ + $(RDFGENDIR)/vamp-rdf-template-generator + +sdk: sdkstatic $(SDK_DYNAMIC) $(HOSTSDK_DYNAMIC) + +sdkstatic: $(SDK_STATIC) $(HOSTSDK_STATIC) + $(RANLIB) $(SDK_STATIC) + $(RANLIB) $(HOSTSDK_STATIC) + +plugins: $(PLUGIN_TARGET) + +host: $(HOST_TARGET) + +rdfgen: $(RDFGEN_TARGET) + +all: sdk plugins host rdfgen test + +$(SDK_STATIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) + $(AR) r $@ $(SDK_OBJECTS) + +$(HOSTSDK_STATIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) + $(AR) r $@ $(HOSTSDK_OBJECTS) + +$(SDK_DYNAMIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS) + $(CXX) $(LDFLAGS) $(SDK_DYNAMIC_LDFLAGS) -o $@ $(SDK_OBJECTS) + +$(HOSTSDK_DYNAMIC): $(HOSTSDK_OBJECTS) $(API_HEADERS) $(HOSTSDK_HEADERS) + $(CXX) $(LDFLAGS) $(HOSTSDK_DYNAMIC_LDFLAGS) -o $@ $(HOSTSDK_OBJECTS) + +$(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(SDK_STATIC) $(PLUGIN_HEADERS) + $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $(PLUGIN_OBJECTS) $(PLUGIN_LIBS) + +$(HOST_TARGET): $(HOST_OBJECTS) $(HOSTSDK_STATIC) $(HOST_HEADERS) + $(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $(HOST_OBJECTS) $(HOST_LIBS) + +$(RDFGEN_TARGET): $(RDFGEN_OBJECTS) $(HOSTSDK_STATIC) + $(CXX) $(LDFLAGS) $(RDFGEN_LDFLAGS) -o $@ $(RDFGEN_OBJECTS) $(RDFGEN_LIBS) + +test: plugins host + VAMP_PATH=$(EXAMPLEDIR) $(HOST_TARGET) -l + +clean: + rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS) $(RDFGEN_OBJECTS) + +distclean: clean + rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) $(RDFGEN_TARGET) *~ */*~ + +# DO NOT DELETE + +examples/AmplitudeFollower.o: examples/AmplitudeFollower.h vamp-sdk/Plugin.h +examples/AmplitudeFollower.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/AmplitudeFollower.o: vamp-sdk/RealTime.h +examples/FixedTempoEstimator.o: examples/FixedTempoEstimator.h +examples/FixedTempoEstimator.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +examples/FixedTempoEstimator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +examples/PercussionOnsetDetector.o: examples/PercussionOnsetDetector.h +examples/PercussionOnsetDetector.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +examples/PercussionOnsetDetector.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +examples/SpectralCentroid.o: examples/SpectralCentroid.h vamp-sdk/Plugin.h +examples/SpectralCentroid.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/SpectralCentroid.o: vamp-sdk/RealTime.h +examples/PowerSpectrum.o: examples/PowerSpectrum.h vamp-sdk/Plugin.h +examples/PowerSpectrum.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/PowerSpectrum.o: vamp-sdk/RealTime.h +examples/ZeroCrossing.o: examples/ZeroCrossing.h vamp-sdk/Plugin.h +examples/ZeroCrossing.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/ZeroCrossing.o: vamp-sdk/RealTime.h +examples/plugins.o: vamp/vamp.h vamp-sdk/PluginAdapter.h vamp-sdk/Plugin.h +examples/plugins.o: vamp-sdk/PluginBase.h vamp-sdk/plugguard.h +examples/plugins.o: vamp-sdk/RealTime.h examples/ZeroCrossing.h +examples/plugins.o: vamp-sdk/Plugin.h examples/SpectralCentroid.h +examples/plugins.o: examples/PercussionOnsetDetector.h examples/PowerSpectrum.h +examples/plugins.o: examples/FixedTempoEstimator.h +examples/plugins.o: examples/AmplitudeFollower.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginHostAdapter.h vamp/vamp.h +host/vamp-simple-host.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +host/vamp-simple-host.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginWrapper.h +host/vamp-simple-host.o: ./vamp-hostsdk/Plugin.h ./vamp-hostsdk/hostguard.h +host/vamp-simple-host.o: vamp-sdk/Plugin.h +host/vamp-simple-host.o: ./vamp-hostsdk/PluginLoader.h host/system.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginHostAdapter.h +rdf/generator/vamp-rdf-template-generator.o: vamp/vamp.h vamp-sdk/Plugin.h +rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/PluginBase.h +rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginChannelAdapter.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginWrapper.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/Plugin.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/hostguard.h +rdf/generator/vamp-rdf-template-generator.o: vamp-sdk/Plugin.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +rdf/generator/vamp-rdf-template-generator.o: ./vamp-hostsdk/PluginLoader.h +src/vamp-hostsdk/PluginHostAdapter.o: ./vamp-hostsdk/PluginHostAdapter.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp/vamp.h vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginHostAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/RealTime.o: src/vamp-sdk/RealTime.cpp ./vamp-sdk/RealTime.h +src/vamp-hostsdk/RealTime.o: vamp-sdk/plugguard.h +src/vamp-sdk/PluginAdapter.o: vamp-sdk/PluginAdapter.h vamp/vamp.h +src/vamp-sdk/PluginAdapter.o: vamp-sdk/Plugin.h vamp-sdk/PluginBase.h +src/vamp-sdk/PluginAdapter.o: vamp-sdk/plugguard.h vamp-sdk/RealTime.h +src/vamp-sdk/RealTime.o: ./vamp-sdk/RealTime.h vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginBufferingAdapter.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginBufferingAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginBufferingAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginChannelAdapter.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginChannelAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginChannelAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginHostAdapter.h +src/vamp-hostsdk/PluginLoader.o: vamp/vamp.h vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginLoader.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginLoader.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginInputDomainAdapter.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginChannelAdapter.h +src/vamp-hostsdk/PluginLoader.o: ./vamp-hostsdk/PluginBufferingAdapter.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginSummarisingAdapter.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginSummarisingAdapter.o: vamp-sdk/RealTime.h +src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/PluginWrapper.h +src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/Plugin.h +src/vamp-hostsdk/PluginWrapper.o: ./vamp-hostsdk/hostguard.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/Plugin.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/PluginBase.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/plugguard.h +src/vamp-hostsdk/PluginWrapper.o: vamp-sdk/RealTime.h diff -r c97e70ed5abc -r 2e16d99867bd build/README.linux --- a/build/README.linux Mon Sep 21 09:33:05 2009 +0000 +++ b/build/README.linux Tue Sep 22 10:02:56 2009 +0000 @@ -62,3 +62,13 @@ but this one is simple and has the advantage of requiring no changes to the code. + +Test Your Plugins +----------------- + +The Vamp Plugin Tester is a vital utility which you can use to test +your plugins for common problems. It can help you if you're having +problems getting your plugin to work at all, and you're strongly +advised to use it before you release anything. Download it from the +Vamp plugins site now! + diff -r c97e70ed5abc -r 2e16d99867bd build/README.msvc --- a/build/README.msvc Mon Sep 21 09:33:05 2009 +0000 +++ b/build/README.msvc Tue Sep 22 10:02:56 2009 +0000 @@ -78,3 +78,13 @@ Refer to README.linux for build instructions using the GNU toolchain. + +Test Your Plugins +----------------- + +The Vamp Plugin Tester is a vital utility which you can use to test +your plugins for common problems. It can help you if you're having +problems getting your plugin to work at all, and you're strongly +advised to use it before you release anything. Download it from the +Vamp plugins site now! + diff -r c97e70ed5abc -r 2e16d99867bd build/README.osol --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/README.osol Tue Sep 22 10:02:56 2009 +0000 @@ -0,0 +1,84 @@ + +The Vamp Plugin SDK -- Platform Notes for OpenSolaris with SunStudio Compilers +============================================================================== + +Building at the command line +---------------------------- + +To build the SDK, example plugins, and command-line host using the +SunStudio C++ compiler (CC) with the Cstd standard library: + + $ make -f build/Makefile.osol + +You must have libsndfile (http://www.mega-nerd.com/libsndfile/) +installed in order to build the command-line host successfully. To +build only the SDK and examples: + + $ make -f build/Makefile.osol sdk examples + +See the comments at the top of Makefile.osol for more information about +the libraries and other targets that are built in this way. + +To install the libraries: + + $ make -f build/Makefile.osol install + +with the appropriate privileges (via pfexec or sudo). + + +Installing the Example Plugins +------------------------------ + +To install the example plugins so you can load them in Vamp hosts, +copy the files + + examples/vamp-example-plugins.so +and + examples/vamp-example-plugins.cat + +to + /usr/local/lib/vamp/ +or + $HOME/vamp/ + + +Plugin Linkage +-------------- + +Vamp plugins are distributed as dynamic libraries (.so files). A +properly packaged Vamp plugin library should export exactly one public +symbol, namely the Vamp API entry point vampGetPluginDescriptor. + +The default for the Sun linker is to export all of the symbols in the +library. This will work (the host will be able to load the plugin), +but it unnecessarily pollutes the host's symbol namespace, it may +cause symbol collisions in some esoteric circumstances, and it +increases the amount of time the plugin takes to load. + +To improve this behaviour, you can instruct the linker to export only +the one required symbol using a linker script. To do this, place the +text + +{ + global: vampGetPluginDescriptor; + local: *; +}; + +into a text file, and then use the -M mapfile option to the +linker to tell it to refer to this file. All other symbols will then +be properly hidden. + +The Makefile included in this SDK uses this method to manage symbol +visibility for the included example plugins, using the file +build/vamp-plugin.map. + + +Test Your Plugins +----------------- + +The Vamp Plugin Tester is a vital utility which you can use to test +your plugins for common problems. It can help you if you're having +problems getting your plugin to work at all, and you're strongly +advised to use it before you release anything. Download it from the +Vamp plugins site now! + diff -r c97e70ed5abc -r 2e16d99867bd build/README.osx --- a/build/README.osx Mon Sep 21 09:33:05 2009 +0000 +++ b/build/README.osx Tue Sep 22 10:02:56 2009 +0000 @@ -7,13 +7,13 @@ To build the SDK, example plugins, and command-line host: - $ make -f Makefile.osx + $ make -f build/Makefile.osx You must have libsndfile (http://www.mega-nerd.com/libsndfile/) installed in order to build the command-line host successfully. To build only the SDK and examples: - $ make -f Makefile.osx sdk examples + $ make -f build/Makefile.osx sdk examples See the comments at the top of Makefile.osx for more information about the libraries and other targets that are built in this way. @@ -68,3 +68,13 @@ but this one is simple and has the advantage of requiring no changes to the code. + +Test Your Plugins +----------------- + +The Vamp Plugin Tester is a vital utility which you can use to test +your plugins for common problems. It can help you if you're having +problems getting your plugin to work at all, and you're strongly +advised to use it before you release anything. Download it from the +Vamp plugins site now! + diff -r c97e70ed5abc -r 2e16d99867bd vamp-hostsdk/PluginSummarisingAdapter.h --- a/vamp-hostsdk/PluginSummarisingAdapter.h Mon Sep 21 09:33:05 2009 +0000 +++ b/vamp-hostsdk/PluginSummarisingAdapter.h Tue Sep 22 10:02:56 2009 +0000 @@ -156,7 +156,7 @@ */ enum AveragingMethod { SampleAverage = 0, - ContinuousTimeAverage = 1, + ContinuousTimeAverage = 1 }; /**