fazekasgy@37: Chris@69: CXXFLAGS := -DHAVE_NUMPY \ Chris@69: -O2 -Wall -Werror -fno-strict-aliasing -fPIC \ Chris@69: -I/usr/include/python2.7 \ Chris@69: -I/usr/lib/python2.7/dist-packages/numpy/core/include Chris@69: Chris@72: LDFLAGS := -shared -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -Wl,-z,defs -lpython2.7 -lpthread -Wl,--version-script=vamp-plugin.map -ldl fazekasgy@37: fazekasgy@37: default: vampy.so fazekasgy@37: Chris@71: vampy.so: PyRealTime.o PyFeature.o PyFeatureSet.o PyParameterDescriptor.o PyOutputDescriptor.o PyTypeConversions.o PyExtensionModule.o PyPlugin.o PyPlugScanner.o Mutex.o PyExtensionManager.o PyTypeInterface.o vampy-main.o fazekasgy@37: g++ $^ -o $@ $(LDFLAGS) fazekasgy@37: fazekasgy@37: # Install plugin fazekasgy@37: # cannam@43: INSTALL_DIR :=$(DESTDIR)/usr/local/lib/vamp gyorgyf@62: PYEXAMPLE_DIR :='Example VamPy Plugins' fazekasgy@37: PLUGIN_NAME :=vampy cannam@43: PLUGIN_EXT :=.so fazekasgy@37: fazekasgy@37: install: fazekasgy@37: mkdir -p $(INSTALL_DIR) fazekasgy@37: rm -f $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) fazekasgy@37: cp $(PLUGIN_NAME)$(PLUGIN_EXT) $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) fazekasgy@37: fazekasgy@37: installplug : install fazekasgy@37: cleanplug : clean Chris@71: depend: Chris@71: makedepend -Y -fMakefile.linux *.cpp *.h fazekasgy@37: fazekasgy@37: clean: cannam@49: rm -f *.o cannam@49: rm -f *.a cannam@49: rm -f *$(PLUGIN_EXT) fazekasgy@37: Chris@71: # DO NOT DELETE Chris@71: Chris@71: Mutex.o: Mutex.h Chris@71: PyExtensionManager.o: PyExtensionModule.h PyRealTime.h PyFeature.h Chris@71: PyExtensionManager.o: PyFeatureSet.h PyParameterDescriptor.h Chris@71: PyExtensionManager.o: PyOutputDescriptor.h PyExtensionManager.h Debug.h Chris@71: PyExtensionModule.o: PyExtensionModule.h PyRealTime.h PyFeature.h Chris@71: PyExtensionModule.o: PyFeatureSet.h PyParameterDescriptor.h Chris@71: PyExtensionModule.o: PyOutputDescriptor.h Debug.h Chris@71: PyFeature.o: PyExtensionModule.h PyRealTime.h PyFeature.h PyFeatureSet.h Chris@71: PyFeature.o: PyParameterDescriptor.h PyOutputDescriptor.h Chris@71: PyFeatureSet.o: PyFeatureSet.h Chris@71: PyOutputDescriptor.o: PyOutputDescriptor.h PyTypeInterface.h Chris@71: PyOutputDescriptor.o: PyExtensionModule.h PyRealTime.h PyFeature.h Chris@71: PyOutputDescriptor.o: PyFeatureSet.h PyParameterDescriptor.h Chris@71: PyParameterDescriptor.o: PyParameterDescriptor.h PyTypeInterface.h Chris@71: PyParameterDescriptor.o: PyExtensionModule.h PyRealTime.h PyFeature.h Chris@71: PyParameterDescriptor.o: PyFeatureSet.h PyOutputDescriptor.h Chris@71: PyPlugin.o: PyPlugin.h PyExtensionModule.h PyRealTime.h PyFeature.h Chris@71: PyPlugin.o: PyFeatureSet.h PyParameterDescriptor.h PyOutputDescriptor.h Chris@71: PyPlugin.o: PyTypeInterface.h Mutex.h Debug.h Chris@71: PyPlugScanner.o: PyPlugScanner.h Chris@71: PyRealTime.o: PyRealTime.h Chris@71: PyTypeConversions.o: PyTypeConversions.h PyRealTime.h PyExtensionModule.h Chris@71: PyTypeConversions.o: PyFeature.h PyFeatureSet.h PyParameterDescriptor.h Chris@71: PyTypeConversions.o: PyOutputDescriptor.h Chris@71: PyTypeInterface.o: PyTypeInterface.h PyExtensionModule.h PyRealTime.h Chris@71: PyTypeInterface.o: PyFeature.h PyFeatureSet.h PyParameterDescriptor.h Chris@71: PyTypeInterface.o: PyOutputDescriptor.h Chris@71: vampy-main.o: PyPlugScanner.h PyPlugin.h PyExtensionModule.h PyRealTime.h Chris@71: vampy-main.o: PyFeature.h PyFeatureSet.h PyParameterDescriptor.h Chris@71: vampy-main.o: PyOutputDescriptor.h PyTypeInterface.h Mutex.h Chris@71: vampy-main.o: PyExtensionManager.h Debug.h Chris@71: PyExtensionModule.o: PyRealTime.h PyFeature.h PyFeatureSet.h Chris@71: PyExtensionModule.o: PyParameterDescriptor.h PyOutputDescriptor.h Chris@71: PyPlugin.o: PyExtensionModule.h PyRealTime.h PyFeature.h PyFeatureSet.h Chris@71: PyPlugin.o: PyParameterDescriptor.h PyOutputDescriptor.h PyTypeInterface.h Chris@71: PyPlugin.o: Mutex.h Chris@71: PyTypeInterface.o: PyExtensionModule.h PyRealTime.h PyFeature.h Chris@71: PyTypeInterface.o: PyFeatureSet.h PyParameterDescriptor.h Chris@71: PyTypeInterface.o: PyOutputDescriptor.h