comparison Makefile @ 247:8a031eb9a25f

Merge branch 'output-type-uri'
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 15 Jun 2017 09:52:01 +0100
parents b32c68f08ec0
children 9142c859e636
comparison
equal deleted inserted replaced
219:db929669e7d3 247:8a031eb9a25f
1 1
2 VAMPSDK_DIR := ../vamp-plugin-sdk 2 VAMPSDK_DIR := ../vamp-plugin-sdk
3 PIPER_DIR := ../piper 3 PIPER_DIR := ../piper
4 4
5 INCFLAGS := -Iext -I$(VAMPSDK_DIR) -I. -I/usr/local/include 5 INCFLAGS := -Iext -Iext/sord -Iext/serd -I$(VAMPSDK_DIR) -I. -I/usr/local/include
6 CXXFLAGS := -Wall -Wextra -Werror -g3 -std=c++11 $(INCFLAGS)
7 6
8 #LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj 7 OPTFLAGS := -O3
9 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -lcapnp -lkj 8
9 CFLAGS := -Wall $(OPTFLAGS) $(INCFLAGS)
10 CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS)
11
12 LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj
10 13
11 LDFLAGS += -ldl 14 LDFLAGS += -ldl
12 15
13 COMMON_OBJS := ext/json11/json11.o vamp-capnp/piper.capnp.o 16 COMMON_OBJS := ext/json11/json11.o ext/sord/sord-single.o vamp-capnp/piper.capnp.o
14 17
15 TEST_SRCS := test/main.cpp test/vamp-client/tst_PluginStub.cpp 18 TEST_SRCS := test/main.cpp test/vamp-client/tst_PluginStub.cpp
16 TEST_OBJS := $(TEST_SRCS:.cpp=.o) 19 TEST_OBJS := $(TEST_SRCS:.cpp=.o)
17 20
18 all: bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite 21 all: bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite
31 bin/test-suite 34 bin/test-suite
32 35
33 vamp-capnp/piper.capnp.o: vamp-capnp/piper.capnp.c++ 36 vamp-capnp/piper.capnp.o: vamp-capnp/piper.capnp.c++
34 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ 37 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
35 38
36 vamp-capnp/piper.capnp.h: vamp-capnp/piper.capnp.c++ 39 vamp-capnp/piper.capnp.c++: vamp-capnp/piper.capnp.h
37 40
38 vamp-capnp/piper.capnp.c++: $(PIPER_DIR)/capnp/piper.capnp 41 vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp
39 capnpc --src-prefix=$(PIPER_DIR)/capnp -oc++:vamp-capnp $< 42 capnpc --src-prefix=$(PIPER_DIR)/capnp -oc++:vamp-capnp $<
40 43
41 test: all 44 test: all
42 bin/test-suite -s -d yes 45 bin/test-suite -s -d yes
43 vamp-server/test.sh 46 vamp-server/test.sh
55 %: %.o 58 %: %.o
56 59
57 # DO NOT DELETE 60 # DO NOT DELETE
58 61
59 vamp-capnp/piper-capnp.o: vamp-capnp/piper.capnp.c++ vamp-capnp/piper.capnp.h 62 vamp-capnp/piper-capnp.o: vamp-capnp/piper.capnp.c++ vamp-capnp/piper.capnp.h
60 vamp-server/convert.o: vamp-json/VampJson.h vamp-support/PluginStaticData.h 63 vamp-server/convert.o: vamp-json/VampJson.h
64 vamp-server/convert.o: vamp-support/StaticOutputDescriptor.h
65 vamp-server/convert.o: vamp-support/PluginStaticData.h
66 vamp-server/convert.o: vamp-support/StaticOutputDescriptor.h
61 vamp-server/convert.o: vamp-support/PluginConfiguration.h 67 vamp-server/convert.o: vamp-support/PluginConfiguration.h
62 vamp-server/convert.o: vamp-support/RequestResponse.h 68 vamp-server/convert.o: vamp-support/RequestResponse.h
63 vamp-server/convert.o: vamp-support/PluginStaticData.h 69 vamp-server/convert.o: vamp-support/PluginStaticData.h
64 vamp-server/convert.o: vamp-support/PluginConfiguration.h 70 vamp-server/convert.o: vamp-support/PluginConfiguration.h
65 vamp-server/convert.o: vamp-support/PluginHandleMapper.h 71 vamp-server/convert.o: vamp-support/PluginHandleMapper.h
72 vamp-server/convert.o: vamp-support/RequestResponse.h 78 vamp-server/convert.o: vamp-support/RequestResponse.h
73 vamp-server/convert.o: vamp-support/PreservingPluginHandleMapper.h 79 vamp-server/convert.o: vamp-support/PreservingPluginHandleMapper.h
74 vamp-server/convert.o: vamp-support/PluginHandleMapper.h 80 vamp-server/convert.o: vamp-support/PluginHandleMapper.h
75 vamp-server/convert.o: vamp-support/PreservingPluginOutputIdMapper.h 81 vamp-server/convert.o: vamp-support/PreservingPluginOutputIdMapper.h
76 vamp-server/simple-server.o: vamp-json/VampJson.h 82 vamp-server/simple-server.o: vamp-json/VampJson.h
83 vamp-server/simple-server.o: vamp-support/StaticOutputDescriptor.h
77 vamp-server/simple-server.o: vamp-support/PluginStaticData.h 84 vamp-server/simple-server.o: vamp-support/PluginStaticData.h
85 vamp-server/simple-server.o: vamp-support/StaticOutputDescriptor.h
78 vamp-server/simple-server.o: vamp-support/PluginConfiguration.h 86 vamp-server/simple-server.o: vamp-support/PluginConfiguration.h
79 vamp-server/simple-server.o: vamp-support/RequestResponse.h 87 vamp-server/simple-server.o: vamp-support/RequestResponse.h
80 vamp-server/simple-server.o: vamp-support/PluginStaticData.h 88 vamp-server/simple-server.o: vamp-support/PluginStaticData.h
81 vamp-server/simple-server.o: vamp-support/PluginConfiguration.h 89 vamp-server/simple-server.o: vamp-support/PluginConfiguration.h
82 vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h 90 vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h
90 vamp-server/simple-server.o: vamp-support/CountingPluginHandleMapper.h 98 vamp-server/simple-server.o: vamp-support/CountingPluginHandleMapper.h
91 vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h 99 vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h
92 vamp-server/simple-server.o: vamp-support/AssignedPluginHandleMapper.h 100 vamp-server/simple-server.o: vamp-support/AssignedPluginHandleMapper.h
93 vamp-server/simple-server.o: vamp-support/DefaultPluginOutputIdMapper.h 101 vamp-server/simple-server.o: vamp-support/DefaultPluginOutputIdMapper.h
94 vamp-server/simple-server.o: vamp-support/LoaderRequests.h 102 vamp-server/simple-server.o: vamp-support/LoaderRequests.h
103 vamp-server/simple-server.o: vamp-support/StaticOutputRdf.h
95 ext/json11/json11.o: ext/json11/json11.hpp 104 ext/json11/json11.o: ext/json11/json11.hpp
96 ext/json11/test.o: ext/json11/json11.hpp 105 ext/json11/test.o: ext/json11/json11.hpp
97 test/vamp-client/tst_PluginStub.o: vamp-client/Loader.h 106 test/vamp-client/tst_PluginStub.o: vamp-client/Loader.h
98 test/vamp-client/tst_PluginStub.o: vamp-support/RequestResponse.h 107 test/vamp-client/tst_PluginStub.o: vamp-support/RequestResponse.h
99 test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h 108 test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h
100 test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h 109 test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h
101 test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h 110 test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h
102 test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h 111 test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h
103 test/vamp-client/tst_PluginStub.o: vamp-client/PiperVampPlugin.h 112 test/vamp-client/tst_PluginStub.o: vamp-client/PiperVampPlugin.h
104 test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h 113 test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h
114 test/vamp-client/tst_PluginStub.o: vamp-support/StaticOutputDescriptor.h
105 test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h 115 test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h
106 vamp-client/qt/test.o: vamp-client/qt/ProcessQtTransport.h 116 vamp-client/qt/test.o: vamp-client/qt/ProcessQtTransport.h
107 vamp-client/qt/test.o: vamp-client/SynchronousTransport.h 117 vamp-client/qt/test.o: vamp-client/SynchronousTransport.h
108 vamp-client/qt/test.o: vamp-client/Exceptions.h 118 vamp-client/qt/test.o: vamp-client/Exceptions.h
109 vamp-client/qt/test.o: vamp-client/qt/PiperAutoPlugin.h 119 vamp-client/qt/test.o: vamp-client/qt/PiperAutoPlugin.h
112 vamp-client/qt/test.o: vamp-support/PluginStaticData.h 122 vamp-client/qt/test.o: vamp-support/PluginStaticData.h
113 vamp-client/qt/test.o: vamp-support/PluginConfiguration.h 123 vamp-client/qt/test.o: vamp-support/PluginConfiguration.h
114 vamp-client/qt/test.o: vamp-client/PluginClient.h 124 vamp-client/qt/test.o: vamp-client/PluginClient.h
115 vamp-client/qt/test.o: vamp-client/PiperVampPlugin.h 125 vamp-client/qt/test.o: vamp-client/PiperVampPlugin.h
116 vamp-client/qt/test.o: vamp-support/PluginStaticData.h 126 vamp-client/qt/test.o: vamp-support/PluginStaticData.h
127 vamp-client/qt/test.o: vamp-support/StaticOutputDescriptor.h
117 vamp-client/qt/test.o: vamp-support/PluginConfiguration.h 128 vamp-client/qt/test.o: vamp-support/PluginConfiguration.h
118 vamp-client/qt/test.o: vamp-client/SynchronousTransport.h 129 vamp-client/qt/test.o: vamp-client/SynchronousTransport.h
119 vamp-client/qt/test.o: vamp-support/AssignedPluginHandleMapper.h 130 vamp-client/qt/test.o: vamp-support/AssignedPluginHandleMapper.h
120 vamp-client/qt/test.o: vamp-support/PluginHandleMapper.h 131 vamp-client/qt/test.o: vamp-support/PluginHandleMapper.h
121 vamp-client/qt/test.o: vamp-support/PluginOutputIdMapper.h 132 vamp-client/qt/test.o: vamp-support/PluginOutputIdMapper.h