diff options
author | Quentin Young <qlyoung@users.noreply.github.com> | 2019-05-07 22:53:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 22:53:17 +0200 |
commit | 6915af74fd47378c422b24dc87579103a90ede86 (patch) | |
tree | 4235c445ab0a720d8c7d84fbe7f3adc0d98c7e00 /lib/subdir.am | |
parent | Merge pull request #4215 from Orange-OpenSource/TE (diff) | |
parent | lib: add new gRPC-based northbound plugin (diff) | |
download | frr-6915af74fd47378c422b24dc87579103a90ede86.tar.xz frr-6915af74fd47378c422b24dc87579103a90ede86.zip |
Merge pull request #4082 from opensourcerouting/grpc-nb-plugin
gRPC northbound plugin
Diffstat (limited to 'lib/subdir.am')
-rw-r--r-- | lib/subdir.am | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/subdir.am b/lib/subdir.am index 7027f3f0d..0b7af18fc 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -310,6 +310,18 @@ lib_sysrepo_la_LIBADD = lib/libfrr.la $(SYSREPO_LIBS) lib_sysrepo_la_SOURCES = lib/northbound_sysrepo.c # +# gRPC northbound plugin +# +if GRPC +module_LTLIBRARIES += lib/grpc.la +endif + +lib_grpc_la_CXXFLAGS = $(WERROR) $(GRPC_CFLAGS) +lib_grpc_la_LDFLAGS = -avoid-version -module -shared -export-dynamic +lib_grpc_la_LIBADD = lib/libfrr.la grpc/libfrrgrpc_pb.la $(GRPC_LIBS) +lib_grpc_la_SOURCES = lib/northbound_grpc.cpp + +# # CLI utilities # noinst_PROGRAMS += \ @@ -353,7 +365,7 @@ am__v_CLIPPY_1 = CLIPPY_DEPS = $(HOSTTOOLS)lib/clippy $(top_srcdir)/python/clidef.py -SUFFIXES = _clippy.c .proto .pb-c.c .pb-c.h .pb.h +SUFFIXES = _clippy.c .proto .pb-c.c .pb-c.h .pb.h .pb.cc .grpc.pb.cc .c_clippy.c: @{ test -x $(top_builddir)/$(HOSTTOOLS)lib/clippy || \ $(MAKE) -C $(top_builddir)/$(HOSTTOOLS) lib/clippy; } |