c@75: c@75: VAMPSDK_DIR := ../vamp-plugin-sdk c@75: PIPER_DIR := ../piper c@8: cannam@245: INCFLAGS := -Iext -Iext/sord -Iext/serd -I$(VAMPSDK_DIR) -I. -I/usr/local/include c@116: cannam@245: OPTFLAGS := -O3 cannam@245: cannam@249: CFLAGS := -Wall -std=c99 $(OPTFLAGS) $(INCFLAGS) cannam@245: CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS) cannam@245: cannam@250: LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj c@116: c@116: LDFLAGS += -ldl c@8: cannam@245: COMMON_OBJS := ext/json11/json11.o ext/sord/sord-single.o vamp-capnp/piper.capnp.o cannam@219: cannam@206: TEST_SRCS := test/main.cpp test/vamp-client/tst_PluginStub.cpp cannam@206: TEST_OBJS := $(TEST_SRCS:.cpp=.o) dev@190: cannam@243: all: bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite c@32: c@75: bin: c@75: mkdir bin c@23: cannam@219: bin/piper-convert: vamp-server/convert.o $(COMMON_OBJS) c@23: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@8: cannam@219: bin/piper-vamp-simple-server: vamp-server/simple-server.o $(COMMON_OBJS) c@31: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) cannam@206: cannam@206: bin/test-suite: $(TEST_OBJS) cannam@206: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) dev@201: bin/test-suite c@31: cannam@219: vamp-capnp/piper.capnp.o: vamp-capnp/piper.capnp.c++ c@37: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@27: cannam@234: vamp-capnp/piper.capnp.c++: vamp-capnp/piper.capnp.h cannam@185: cannam@234: vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp cannam@185: capnpc --src-prefix=$(PIPER_DIR)/capnp -oc++:vamp-capnp $< cannam@185: c@8: test: all dev@198: bin/test-suite -s -d yes cannam@150: vamp-server/test.sh c@8: c@8: clean: cannam@249: rm -f */*.o */*/*.o c@8: c@8: distclean: clean dev@190: rm -rf bin/* c@8: cannam@206: depend: cannam@206: makedepend -Y. */*.cpp */*/*.cpp */*/*/*.cpp */*.c++ cannam@206: c@70: # cancel implicit rule which otherwise could try to link %.capnp c@70: %: %.o cannam@206: cannam@206: # DO NOT DELETE cannam@206: cannam@206: vamp-capnp/piper-capnp.o: vamp-capnp/piper.capnp.c++ vamp-capnp/piper.capnp.h cannam@223: vamp-server/convert.o: vamp-json/VampJson.h cannam@223: vamp-server/convert.o: vamp-support/StaticOutputDescriptor.h cannam@223: vamp-server/convert.o: vamp-support/PluginStaticData.h cannam@223: vamp-server/convert.o: vamp-support/StaticOutputDescriptor.h cannam@206: vamp-server/convert.o: vamp-support/PluginConfiguration.h cannam@206: vamp-server/convert.o: vamp-support/RequestResponse.h cannam@206: vamp-server/convert.o: vamp-support/PluginStaticData.h cannam@206: vamp-server/convert.o: vamp-support/PluginConfiguration.h cannam@206: vamp-server/convert.o: vamp-support/PluginHandleMapper.h cannam@206: vamp-server/convert.o: vamp-support/PluginOutputIdMapper.h cannam@206: vamp-server/convert.o: vamp-support/PluginOutputIdMapper.h cannam@206: vamp-server/convert.o: vamp-support/RequestResponseType.h cannam@206: vamp-server/convert.o: vamp-capnp/VampnProto.h vamp-capnp/piper.capnp.h cannam@206: vamp-server/convert.o: vamp-support/RequestOrResponse.h cannam@206: vamp-server/convert.o: vamp-support/RequestResponseType.h cannam@206: vamp-server/convert.o: vamp-support/RequestResponse.h cannam@206: vamp-server/convert.o: vamp-support/PreservingPluginHandleMapper.h cannam@206: vamp-server/convert.o: vamp-support/PluginHandleMapper.h cannam@206: vamp-server/convert.o: vamp-support/PreservingPluginOutputIdMapper.h cannam@206: vamp-server/simple-server.o: vamp-json/VampJson.h cannam@223: vamp-server/simple-server.o: vamp-support/StaticOutputDescriptor.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginStaticData.h cannam@223: vamp-server/simple-server.o: vamp-support/StaticOutputDescriptor.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginConfiguration.h cannam@206: vamp-server/simple-server.o: vamp-support/RequestResponse.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginStaticData.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginConfiguration.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginOutputIdMapper.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginOutputIdMapper.h cannam@206: vamp-server/simple-server.o: vamp-support/RequestResponseType.h cannam@206: vamp-server/simple-server.o: vamp-capnp/VampnProto.h vamp-capnp/piper.capnp.h cannam@206: vamp-server/simple-server.o: vamp-support/RequestOrResponse.h cannam@206: vamp-server/simple-server.o: vamp-support/RequestResponseType.h cannam@206: vamp-server/simple-server.o: vamp-support/RequestResponse.h cannam@206: vamp-server/simple-server.o: vamp-support/CountingPluginHandleMapper.h cannam@206: vamp-server/simple-server.o: vamp-support/PluginHandleMapper.h cannam@206: vamp-server/simple-server.o: vamp-support/AssignedPluginHandleMapper.h cannam@206: vamp-server/simple-server.o: vamp-support/DefaultPluginOutputIdMapper.h cannam@206: vamp-server/simple-server.o: vamp-support/LoaderRequests.h cannam@244: vamp-server/simple-server.o: vamp-support/StaticOutputRdf.h cannam@206: ext/json11/json11.o: ext/json11/json11.hpp cannam@206: ext/json11/test.o: ext/json11/json11.hpp cannam@206: test/vamp-client/tst_PluginStub.o: vamp-client/Loader.h cannam@206: test/vamp-client/tst_PluginStub.o: vamp-support/RequestResponse.h cannam@206: test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h cannam@206: test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h cannam@206: test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h cannam@206: test/vamp-client/tst_PluginStub.o: vamp-support/PluginConfiguration.h cannam@213: test/vamp-client/tst_PluginStub.o: vamp-client/PiperVampPlugin.h cannam@206: test/vamp-client/tst_PluginStub.o: vamp-support/PluginStaticData.h cannam@223: test/vamp-client/tst_PluginStub.o: vamp-support/StaticOutputDescriptor.h cannam@206: test/vamp-client/tst_PluginStub.o: vamp-client/PluginClient.h cannam@206: vamp-client/qt/test.o: vamp-client/qt/ProcessQtTransport.h cannam@206: vamp-client/qt/test.o: vamp-client/SynchronousTransport.h cannam@213: vamp-client/qt/test.o: vamp-client/Exceptions.h cannam@213: vamp-client/qt/test.o: vamp-client/qt/PiperAutoPlugin.h cannam@206: vamp-client/qt/test.o: vamp-client/CapnpRRClient.h vamp-client/Loader.h cannam@206: vamp-client/qt/test.o: vamp-support/RequestResponse.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginStaticData.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginConfiguration.h cannam@213: vamp-client/qt/test.o: vamp-client/PluginClient.h cannam@213: vamp-client/qt/test.o: vamp-client/PiperVampPlugin.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginStaticData.h cannam@223: vamp-client/qt/test.o: vamp-support/StaticOutputDescriptor.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginConfiguration.h cannam@206: vamp-client/qt/test.o: vamp-client/SynchronousTransport.h cannam@206: vamp-client/qt/test.o: vamp-support/AssignedPluginHandleMapper.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginHandleMapper.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginOutputIdMapper.h cannam@206: vamp-client/qt/test.o: vamp-support/DefaultPluginOutputIdMapper.h cannam@206: vamp-client/qt/test.o: vamp-capnp/VampnProto.h vamp-capnp/piper.capnp.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginHandleMapper.h cannam@206: vamp-client/qt/test.o: vamp-support/PluginOutputIdMapper.h cannam@206: vamp-client/qt/test.o: vamp-support/RequestResponseType.h cannam@206: vamp-capnp/piper.capnp.o: vamp-capnp/piper.capnp.h