diff Makefile @ 232:09b7eab40dbf

Begin on stub-generator for Piper Vamp wrappers
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 13 Jun 2017 08:44:07 +0100
parents a29ce4af17bc
children 9ec8a707408e
line wrap: on
line diff
--- a/Makefile	Tue Jun 13 08:43:10 2017 +0100
+++ b/Makefile	Tue Jun 13 08:44:07 2017 +0100
@@ -15,7 +15,7 @@
 TEST_SRCS 	:= test/main.cpp test/vamp-client/tst_PluginStub.cpp
 TEST_OBJS	:= $(TEST_SRCS:.cpp=.o)
 
-all:	bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite
+all:	bin bin/piper-convert bin/piper-vamp-simple-server bin/piper-vamp-stub-generator bin/test-suite
 
 bin:
 	mkdir bin
@@ -26,6 +26,9 @@
 bin/piper-vamp-simple-server: vamp-server/simple-server.o $(COMMON_OBJS)
 	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
 
+bin/piper-vamp-stub-generator: vamp-stubber/stubber.o $(COMMON_OBJS)
+	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
+
 bin/test-suite: $(TEST_OBJS)
 	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
 	bin/test-suite
@@ -97,7 +100,24 @@
 vamp-server/simple-server.o: vamp-support/AssignedPluginHandleMapper.h
 vamp-server/simple-server.o: vamp-support/DefaultPluginOutputIdMapper.h
 vamp-server/simple-server.o: vamp-support/LoaderRequests.h
-vamp-server/simple-server.o: vamp-support/RdfTypes.h vamp-support/RdfTypes.h
+vamp-server/simple-server.o: vamp-support/RdfTypes.h
+vamp-stubber/stubber.o: vamp-json/VampJson.h
+vamp-stubber/stubber.o: vamp-support/StaticOutputDescriptor.h
+vamp-stubber/stubber.o: vamp-support/PluginStaticData.h
+vamp-stubber/stubber.o: vamp-support/StaticOutputDescriptor.h
+vamp-stubber/stubber.o: vamp-support/PluginConfiguration.h
+vamp-stubber/stubber.o: vamp-support/RequestResponse.h
+vamp-stubber/stubber.o: vamp-support/PluginStaticData.h
+vamp-stubber/stubber.o: vamp-support/PluginConfiguration.h
+vamp-stubber/stubber.o: vamp-support/PluginHandleMapper.h
+vamp-stubber/stubber.o: vamp-support/PluginOutputIdMapper.h
+vamp-stubber/stubber.o: vamp-support/PluginOutputIdMapper.h
+vamp-stubber/stubber.o: vamp-support/RequestResponseType.h
+vamp-stubber/stubber.o: vamp-support/RequestOrResponse.h
+vamp-stubber/stubber.o: vamp-support/RequestResponseType.h
+vamp-stubber/stubber.o: vamp-support/RequestResponse.h
+vamp-stubber/stubber.o: vamp-support/LoaderRequests.h vamp-support/RdfTypes.h
+vamp-stubber/stubber.o: vamp-support/RdfTypes.h
 ext/json11/json11.o: ext/json11/json11.hpp
 ext/json11/test.o: ext/json11/json11.hpp
 test/vamp-client/tst_PluginStub.o: vamp-client/Loader.h