cannam@0
|
1
|
Chris@48
|
2 ARCHFLAGS ?=
|
Chris@48
|
3
|
Chris@57
|
4 LDFLAGS += $(ARCHFLAGS) -ldl -pthread
|
Chris@69
|
5 CXXFLAGS += $(ARCHFLAGS) -std=c++98 -g -Wall -Wextra -Ivamp-plugin-sdk -pthread
|
cannam@0
|
6
|
Chris@51
|
7 # We include the Vamp Host SDK sources in the build here, so that we
|
Chris@51
|
8 # can build the entire thing with debug symbols even though the SDK
|
Chris@51
|
9 # would not normally have them
|
cannam@0
|
10
|
Chris@51
|
11 VAMP_SRCDIR := vamp-plugin-sdk/src/vamp-hostsdk
|
Chris@51
|
12
|
Chris@51
|
13 VAMP_OBJECTS := \
|
Chris@51
|
14 $(VAMP_SRCDIR)/PluginHostAdapter.o \
|
Chris@51
|
15 $(VAMP_SRCDIR)/RealTime.o \
|
Chris@51
|
16 $(VAMP_SRCDIR)/PluginBufferingAdapter.o \
|
Chris@51
|
17 $(VAMP_SRCDIR)/PluginChannelAdapter.o \
|
Chris@51
|
18 $(VAMP_SRCDIR)/PluginInputDomainAdapter.o \
|
Chris@51
|
19 $(VAMP_SRCDIR)/PluginLoader.o \
|
Chris@51
|
20 $(VAMP_SRCDIR)/PluginSummarisingAdapter.o \
|
Chris@51
|
21 $(VAMP_SRCDIR)/PluginWrapper.o \
|
Chris@55
|
22 $(VAMP_SRCDIR)/Files.o \
|
Chris@51
|
23 $(VAMP_SRCDIR)/acsymbols.o
|
Chris@51
|
24
|
Chris@51
|
25 OBJECTS := \
|
Chris@51
|
26 $(VAMP_OBJECTS) \
|
Chris@51
|
27 vamp-plugin-tester.o \
|
Chris@51
|
28 Tester.o \
|
Chris@51
|
29 Test.o \
|
Chris@51
|
30 TestStaticData.o \
|
Chris@51
|
31 TestInputExtremes.o \
|
Chris@51
|
32 TestMultipleRuns.o \
|
Chris@51
|
33 TestOutputs.o \
|
Chris@51
|
34 TestDefaults.o \
|
Chris@51
|
35 TestInitialise.o
|
Chris@51
|
36
|
Chris@70
|
37 vamp-plugin-tester: vamp-plugin-sdk/README $(OBJECTS) $(VAMP_OBJECTS)
|
cannam@22
|
38 $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
cannam@0
|
39
|
Chris@70
|
40 vamp-plugin-sdk/README:
|
Chris@76
|
41 ./repoint install
|
Chris@70
|
42
|
cannam@0
|
43 clean:
|
Chris@51
|
44 rm -f $(OBJECTS) $(VAMP_OBJECTS)
|
cannam@0
|
45
|
cannam@0
|
46 distclean: clean
|
cannam@0
|
47 rm -f *~ vamp-plugin-tester
|
cannam@0
|
48
|
cannam@0
|
49 depend:
|
Chris@51
|
50 makedepend -Y *.cpp *.h $(VAMP_SRCDIR)/*.cpp
|
cannam@0
|
51
|
cannam@0
|
52 # DO NOT DELETE
|
cannam@0
|
53
|
cannam@0
|
54 Test.o: Test.h
|
cannam@10
|
55 TestDefaults.o: TestDefaults.h Test.h Tester.h
|
Chris@51
|
56 Tester.o: Tester.h Test.h
|
cannam@14
|
57 TestInitialise.o: TestInitialise.h Test.h Tester.h
|
cannam@3
|
58 TestInputExtremes.o: TestInputExtremes.h Test.h Tester.h
|
cannam@3
|
59 TestMultipleRuns.o: TestMultipleRuns.h Test.h Tester.h
|
cannam@3
|
60 TestOutputs.o: TestOutputs.h Test.h Tester.h
|
cannam@0
|
61 TestStaticData.o: TestStaticData.h Test.h Tester.h
|
cannam@0
|
62 vamp-plugin-tester.o: Tester.h Test.h
|
cannam@10
|
63 TestDefaults.o: Test.h Tester.h
|
Chris@51
|
64 Tester.o: Test.h
|
cannam@10
|
65 TestInitialise.o: Test.h Tester.h
|
cannam@3
|
66 TestInputExtremes.o: Test.h Tester.h
|
cannam@3
|
67 TestMultipleRuns.o: Test.h Tester.h
|
cannam@3
|
68 TestOutputs.o: Test.h Tester.h
|
cannam@0
|
69 TestStaticData.o: Test.h Tester.h
|
Chris@51
|
70 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-plugin-sdk/src/vamp-hostsdk/Window.h
|
Chris@51
|
71 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.o: vamp-plugin-sdk/src/vamp-sdk/FFTimpl.cpp
|
Chris@51
|
72 vamp-plugin-sdk/src/vamp-hostsdk/RealTime.o: vamp-plugin-sdk/src/vamp-sdk/RealTime.cpp
|