annotate Makefile @ 218:ea8994465322

Rebuild these for capnp v0.6. But it would probably be better at this point not to commit them, as the main reason they are in the repo is because the compiler wasn't available for Visual Studio builds, and that's no longer the case.
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 09 May 2017 11:46:23 +0100
parents a69724686f0b
children db929669e7d3
rev   line source
c@75 1
c@75 2 VAMPSDK_DIR := ../vamp-plugin-sdk
c@75 3 PIPER_DIR := ../piper
c@8 4
cannam@150 5 INCFLAGS := -Iext -I$(VAMPSDK_DIR) -I. -I/usr/local/include
cannam@206 6 CXXFLAGS := -Wall -Wextra -Werror -g3 -std=c++11 $(INCFLAGS)
c@116 7
c@118 8 #LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj
c@118 9 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -lcapnp -lkj
c@116 10
c@116 11 LDFLAGS += -ldl
c@8 12
cannam@206 13 TEST_SRCS := test/main.cpp test/vamp-client/tst_PluginStub.cpp
cannam@206 14 TEST_OBJS := $(TEST_SRCS:.cpp=.o)
dev@190 15
dev@190 16 all: o bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite
c@32 17
c@75 18 bin:
c@75 19 mkdir bin
c@23 20
c@75 21 o:
c@75 22 mkdir o
c@75 23
c@75 24 bin/piper-convert: o/convert.o o/json11.o o/piper.capnp.o
c@23 25 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
c@8 26
c@125 27 bin/piper-vamp-simple-server: o/simple-server.o o/json11.o o/piper.capnp.o
c@31 28 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
cannam@206 29
cannam@206 30 bin/test-suite: $(TEST_OBJS)
cannam@206 31 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
dev@201 32 bin/test-suite
c@31 33
cannam@185 34 o/piper.capnp.o: vamp-capnp/piper.capnp.c++
c@37 35 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
c@27 36
cannam@185 37 vamp-capnp/piper.capnp.h: vamp-capnp/piper.capnp.c++
cannam@185 38
cannam@185 39 vamp-capnp/piper.capnp.c++: $(PIPER_DIR)/capnp/piper.capnp
cannam@185 40 capnpc --src-prefix=$(PIPER_DIR)/capnp -oc++:vamp-capnp $<
cannam@185 41
cannam@150 42 o/json11.o: ext/json11/json11.cpp
c@27 43 c++ $(CXXFLAGS) -c $< -o $@
c@27 44
cannam@206 45 o/convert.o: vamp-server/convert.cpp
cannam@206 46 c++ $(CXXFLAGS) -c $< -o $@
c@23 47
cannam@206 48 o/simple-server.o: vamp-server/simple-server.cpp
cannam@206 49 c++ $(CXXFLAGS) -c $< -o $@
c@31 50
c@8 51 test: all
dev@198 52 bin/test-suite -s -d yes
cannam@150 53 vamp-server/test.sh
c@8 54
c@8 55 clean:
c@118 56 rm -f */*.o
c@8 57
c@8 58 distclean: clean
dev@190 59 rm -rf bin/*
c@8 60
cannam@206 61 depend:
cannam@206 62 makedepend -Y. */*.cpp */*/*.cpp */*/*/*.cpp */*.c++
cannam@206 63
c@70 64 # cancel implicit rule which otherwise could try to link %.capnp
c@70 65 %: %.o
cannam@206 66
cannam@206 67 # DO NOT DELETE
cannam@206 68
cannam@206 69 vamp-capnp/piper-capnp.o: vamp-capnp/piper.capnp.c++ vamp-capnp/piper.capnp.h
cannam@206 70 vamp-server/convert.o: vamp-json/VampJson.h vamp-support/PluginStaticData.h
cannam@206 71 vamp-server/convert.o: vamp-support/PluginConfiguration.h
cannam@206 72 vamp-server/convert.o: vamp-support/RequestResponse.h
cannam@206 73 vamp-server/convert.o: vamp-support/PluginStaticData.h
cannam@206 74 vamp-server/convert.o: vamp-support/PluginConfiguration.h
cannam@206 75 vamp-server/convert.o: vamp-support/PluginHandleMapper.h
cannam@206 76 vamp-server/convert.o: vamp-support/PluginOutputIdMapper.h
cannam@206 77 vamp-server/convert.o: vamp-support/PluginOutputIdMapper.h
cannam@206 78 vamp-server/convert.o: vamp-support/RequestResponseType.h
cannam@206 79 vamp-server/convert.o: vamp-capnp/VampnProto.h vamp-capnp/piper.capnp.h
cannam@206 80 vamp-server/convert.o: vamp-support/RequestOrResponse.h
cannam@206 81 vamp-server/convert.o: vamp-support/RequestResponseType.h
cannam@206 82 vamp-server/convert.o: vamp-support/RequestResponse.h
cannam@206 83 vamp-server/convert.o: vamp-support/PreservingPluginHandleMapper.h
cannam@206 84 vamp-server/convert.o: vamp-support/PluginHandleMapper.h
cannam@206 85 vamp-server/convert.o: vamp-support/PreservingPluginOutputIdMapper.h
cannam@206 86 vamp-server/simple-server.o: vamp-json/VampJson.h
cannam@206 87 vamp-server/simple-server.o: vamp-support/PluginStaticData.h
cannam@206 88 vamp-server/simple-server.o: vamp-support/PluginConfiguration.h
cannam@206 89 vamp-server/simple-server.o: vamp-support/RequestResponse.h
cannam@206 90 vamp-server/simple-server.o: vamp-support/PluginStaticData.h
cannam@206 91 vamp-server/simple-server.o: vamp-support/PluginConfiguration.h
cannam@206 92 vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h
cannam@206 93 vamp-server/simple-server.o: vamp-support/PluginOutputIdMapper.h
cannam@206 94 vamp-server/simple-server.o: vamp-support/PluginOutputIdMapper.h
cannam@206 95 vamp-server/simple-server.o: vamp-support/RequestResponseType.h
cannam@206 96 vamp-server/simple-server.o: vamp-capnp/VampnProto.h vamp-capnp/piper.capnp.h
cannam@206 97 vamp-server/simple-server.o: vamp-support/RequestOrResponse.h
cannam@206 98 vamp-server/simple-server.o: vamp-support/RequestResponseType.h
cannam@206 99 vamp-server/simple-server.o: vamp-support/RequestResponse.h
cannam@206 100 vamp-server/simple-server.o: vamp-support/CountingPluginHandleMapper.h
cannam@206 101 vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h
cannam@206 102 vamp-server/simple-server.o: vamp-support/AssignedPluginHandleMapper.h
cannam@206 103 vamp-server/simple-server.o: vamp-support/DefaultPluginOutputIdMapper.h
cannam@206 104 vamp-server/simple-server.o: vamp-support/LoaderRequests.h
cannam@206 105 ext/json11/json11.o: ext/json11/json11.hpp
cannam@206 106 ext/json11/test.o: ext/json11/json11.hpp
cannam@206 107 test/vamp-client/tst_PluginStub.o: vamp-client/Loader.h
cannam@206 108 test/vamp-client/tst_PluginStub.o: vamp-support/RequestResponse.h
cannam@206 109 test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h
cannam@206 110 test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h
cannam@206 111 test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h
cannam@206 112 test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h
cannam@213 113 test/vamp-client/tst_PluginStub.o: vamp-client/PiperVampPlugin.h
cannam@206 114 test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h
cannam@206 115 test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h
cannam@206 116 vamp-client/qt/test.o: vamp-client/qt/ProcessQtTransport.h
cannam@206 117 vamp-client/qt/test.o: vamp-client/SynchronousTransport.h
cannam@213 118 vamp-client/qt/test.o: vamp-client/Exceptions.h
cannam@213 119 vamp-client/qt/test.o: vamp-client/qt/PiperAutoPlugin.h
cannam@206 120 vamp-client/qt/test.o: vamp-client/CapnpRRClient.h vamp-client/Loader.h
cannam@206 121 vamp-client/qt/test.o: vamp-support/RequestResponse.h
cannam@206 122 vamp-client/qt/test.o: vamp-support/PluginStaticData.h
cannam@206 123 vamp-client/qt/test.o: vamp-support/PluginConfiguration.h
cannam@213 124 vamp-client/qt/test.o: vamp-client/PluginClient.h
cannam@213 125 vamp-client/qt/test.o: vamp-client/PiperVampPlugin.h
cannam@206 126 vamp-client/qt/test.o: vamp-support/PluginStaticData.h
cannam@206 127 vamp-client/qt/test.o: vamp-support/PluginConfiguration.h
cannam@206 128 vamp-client/qt/test.o: vamp-client/SynchronousTransport.h
cannam@206 129 vamp-client/qt/test.o: vamp-support/AssignedPluginHandleMapper.h
cannam@206 130 vamp-client/qt/test.o: vamp-support/PluginHandleMapper.h
cannam@206 131 vamp-client/qt/test.o: vamp-support/PluginOutputIdMapper.h
cannam@206 132 vamp-client/qt/test.o: vamp-support/DefaultPluginOutputIdMapper.h
cannam@206 133 vamp-client/qt/test.o: vamp-capnp/VampnProto.h vamp-capnp/piper.capnp.h
cannam@206 134 vamp-client/qt/test.o: vamp-support/PluginHandleMapper.h
cannam@206 135 vamp-client/qt/test.o: vamp-support/PluginOutputIdMapper.h
cannam@206 136 vamp-client/qt/test.o: vamp-support/RequestResponseType.h
cannam@206 137 vamp-capnp/piper.capnp.o: vamp-capnp/piper.capnp.h