diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-25 18:54:16 -0200 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-04-26 18:15:32 -0300 | 
| commit | ec2ac5f28a83c39b2df02279482494129ddaea28 (patch) | |
| tree | a3a52ab9d5e4d47c810b275b54c61dbdb7ece835 /grpc/subdir.am | |
| parent | 83981138fe8c1e0a40b8dede74eca65449dda5de (diff) | |
lib: add new gRPC-based northbound plugin
This is an experimental plugin for now. Full documentation will
come later.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'grpc/subdir.am')
| -rw-r--r-- | grpc/subdir.am | 30 | 
1 files changed, 30 insertions, 0 deletions
diff --git a/grpc/subdir.am b/grpc/subdir.am new file mode 100644 index 0000000000..3fb163fccf --- /dev/null +++ b/grpc/subdir.am @@ -0,0 +1,30 @@ +if GRPC +lib_LTLIBRARIES += grpc/libfrrgrpc_pb.la +endif + +grpc_libfrrgrpc_pb_la_LDFLAGS = -version-info 0:0:0 +grpc_libfrrgrpc_pb_la_CPPFLAGS = $(AM_CPPFLAGS) $(GRPC_CXXFLAGS) + +nodist_grpc_libfrrgrpc_pb_la_SOURCES = \ +	grpc/frr-northbound.pb.cc \ +	grpc/frr-northbound.grpc.pb.cc \ +	# end + +CLEANFILES += \ +	grpc/frr-northbound.pb.cc \ +	grpc/frr-northbound.pb.h \ +	grpc/frr-northbound.grpc.pb.cc \ +	grpc/frr-northbound.grpc.pb.h \ +	# end + +EXTRA_DIST += grpc/frr-northbound.proto + +AM_V_PROTOC = $(am__v_PROTOC_$(V)) +am__v_PROTOC_ = $(am__v_PROTOC_$(AM_DEFAULT_VERBOSITY)) +am__v_PROTOC_0 = @echo "  PROTOC" $@; +am__v_PROTOC_1 = + +.proto.pb.cc: +	$(AM_V_PROTOC)$(PROTOC) -I$(top_srcdir) --cpp_out=$(top_srcdir) $(top_srcdir)/$^ +.proto.grpc.pb.cc: +	$(AM_V_PROTOC)$(PROTOC) -I$(top_srcdir) --grpc_out=$(top_srcdir) --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` $(top_srcdir)/$^  | 
