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