comparison Makefile.linux @ 71:40a01bb24209 vampyhost

Pull apart some type conversion classes for possible use in VamPy Host
author Chris Cannam
date Thu, 20 Nov 2014 13:02:50 +0000
parents f5b8646494d2
children ffaa1fb3d7de
comparison
equal deleted inserted replaced
70:6c755f3e1173 71:40a01bb24209
5 -I/usr/lib/python2.7/dist-packages/numpy/core/include 5 -I/usr/lib/python2.7/dist-packages/numpy/core/include
6 6
7 LDFLAGS := -shared -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpython2.7 -lpthread -Wl,--version-script=vamp-plugin.map 7 LDFLAGS := -shared -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpython2.7 -lpthread -Wl,--version-script=vamp-plugin.map
8 8
9 default: vampy.so 9 default: vampy.so
10 all: vampy.so vampymod.so
11 10
12 PyExtensionModule.a: PyExtensionModule.o PyRealTime.o PyFeature.o PyParameterDescriptor.o PyOutputDescriptor.o PyFeatureSet.o 11 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
13 ar cr $@ $^
14
15 # The standard python extension is .so (even on the Mac)
16 vampymod.so: PyExtensionModule.o PyRealTime.o PyFeature.o PyParameterDescriptor.o PyOutputDescriptor.o PyFeatureSet.o
17 g++ $^ -o $@ $(LDFLAGS)
18
19 vampy.so: PyPlugin.o PyPlugScanner.o vampy-main.o Mutex.o PyTypeInterface.o PyExtensionModule.a PyExtensionManager.o
20 g++ $^ -o $@ $(LDFLAGS) 12 g++ $^ -o $@ $(LDFLAGS)
21 13
22 # Install plugin 14 # Install plugin
23 # 15 #
24 INSTALL_DIR :=$(DESTDIR)/usr/local/lib/vamp 16 INSTALL_DIR :=$(DESTDIR)/usr/local/lib/vamp
31 rm -f $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) 23 rm -f $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT)
32 cp $(PLUGIN_NAME)$(PLUGIN_EXT) $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) 24 cp $(PLUGIN_NAME)$(PLUGIN_EXT) $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT)
33 25
34 installplug : install 26 installplug : install
35 cleanplug : clean 27 cleanplug : clean
28 depend:
29 makedepend -Y -fMakefile.linux *.cpp *.h
36 30
37 clean: 31 clean:
38 rm -f *.o 32 rm -f *.o
39 rm -f *.a 33 rm -f *.a
40 rm -f *$(PLUGIN_EXT) 34 rm -f *$(PLUGIN_EXT)
41 35
36 # DO NOT DELETE
37
38 Mutex.o: Mutex.h
39 PyExtensionManager.o: PyExtensionModule.h PyRealTime.h PyFeature.h
40 PyExtensionManager.o: PyFeatureSet.h PyParameterDescriptor.h
41 PyExtensionManager.o: PyOutputDescriptor.h PyExtensionManager.h Debug.h
42 PyExtensionModule.o: PyExtensionModule.h PyRealTime.h PyFeature.h
43 PyExtensionModule.o: PyFeatureSet.h PyParameterDescriptor.h
44 PyExtensionModule.o: PyOutputDescriptor.h Debug.h
45 PyFeature.o: PyExtensionModule.h PyRealTime.h PyFeature.h PyFeatureSet.h
46 PyFeature.o: PyParameterDescriptor.h PyOutputDescriptor.h
47 PyFeatureSet.o: PyFeatureSet.h
48 PyOutputDescriptor.o: PyOutputDescriptor.h PyTypeInterface.h
49 PyOutputDescriptor.o: PyExtensionModule.h PyRealTime.h PyFeature.h
50 PyOutputDescriptor.o: PyFeatureSet.h PyParameterDescriptor.h
51 PyParameterDescriptor.o: PyParameterDescriptor.h PyTypeInterface.h
52 PyParameterDescriptor.o: PyExtensionModule.h PyRealTime.h PyFeature.h
53 PyParameterDescriptor.o: PyFeatureSet.h PyOutputDescriptor.h
54 PyPlugin.o: PyPlugin.h PyExtensionModule.h PyRealTime.h PyFeature.h
55 PyPlugin.o: PyFeatureSet.h PyParameterDescriptor.h PyOutputDescriptor.h
56 PyPlugin.o: PyTypeInterface.h Mutex.h Debug.h
57 PyPlugScanner.o: PyPlugScanner.h
58 PyRealTime.o: PyRealTime.h
59 PyTypeConversions.o: PyTypeConversions.h PyRealTime.h PyExtensionModule.h
60 PyTypeConversions.o: PyFeature.h PyFeatureSet.h PyParameterDescriptor.h
61 PyTypeConversions.o: PyOutputDescriptor.h
62 PyTypeInterface.o: PyTypeInterface.h PyExtensionModule.h PyRealTime.h
63 PyTypeInterface.o: PyFeature.h PyFeatureSet.h PyParameterDescriptor.h
64 PyTypeInterface.o: PyOutputDescriptor.h
65 vampy-main.o: PyPlugScanner.h PyPlugin.h PyExtensionModule.h PyRealTime.h
66 vampy-main.o: PyFeature.h PyFeatureSet.h PyParameterDescriptor.h
67 vampy-main.o: PyOutputDescriptor.h PyTypeInterface.h Mutex.h
68 vampy-main.o: PyExtensionManager.h Debug.h
69 PyExtensionModule.o: PyRealTime.h PyFeature.h PyFeatureSet.h
70 PyExtensionModule.o: PyParameterDescriptor.h PyOutputDescriptor.h
71 PyPlugin.o: PyExtensionModule.h PyRealTime.h PyFeature.h PyFeatureSet.h
72 PyPlugin.o: PyParameterDescriptor.h PyOutputDescriptor.h PyTypeInterface.h
73 PyPlugin.o: Mutex.h
74 PyTypeInterface.o: PyExtensionModule.h PyRealTime.h PyFeature.h
75 PyTypeInterface.o: PyFeatureSet.h PyParameterDescriptor.h
76 PyTypeInterface.o: PyOutputDescriptor.h