From d65280a9a8e6c894c29dd17e328b99e2aaaf8c51 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 9 May 2024 07:22:08 +0200 Subject: [PATCH] build: throw in a few more `XREF_SETUP` This really should be all of them. Signed-off-by: David Lamparter --- grpc/frrgrpc_pb.c | 9 +++++++++ grpc/subdir.am | 4 ++++ mlag/mlag_pb.c | 9 +++++++++ mlag/subdir.am | 1 + 4 files changed, 23 insertions(+) create mode 100644 grpc/frrgrpc_pb.c create mode 100644 mlag/mlag_pb.c diff --git a/grpc/frrgrpc_pb.c b/grpc/frrgrpc_pb.c new file mode 100644 index 000000000000..938d777534e3 --- /dev/null +++ b/grpc/frrgrpc_pb.c @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: ISC +/* + * libfrrgrpc_pb library stub source + */ + +#include "config.h" +#include "xref.h" + +XREF_SETUP(); diff --git a/grpc/subdir.am b/grpc/subdir.am index 06b37f91d611..a464edc9303b 100644 --- a/grpc/subdir.am +++ b/grpc/subdir.am @@ -10,6 +10,10 @@ nodist_grpc_libfrrgrpc_pb_la_SOURCES = \ grpc/frr-northbound.pb.cc \ grpc/frr-northbound.grpc.pb.cc \ # end + +grpc_libfrrgrpc_pb_la_SOURCES = \ + grpc/frrgrpc_pb.c \ + # end endif CLEANFILES += \ diff --git a/mlag/mlag_pb.c b/mlag/mlag_pb.c new file mode 100644 index 000000000000..01c4f0b319ee --- /dev/null +++ b/mlag/mlag_pb.c @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: ISC +/* + * libmlag_pb library stub + */ + +#include "config.h" +#include "xref.h" + +XREF_SETUP(); diff --git a/mlag/subdir.am b/mlag/subdir.am index 376eea8bc9b5..aa30d33431e6 100644 --- a/mlag/subdir.am +++ b/mlag/subdir.am @@ -5,6 +5,7 @@ endif mlag_libmlag_pb_la_LDFLAGS = $(LIB_LDFLAGS) -version-info 0:0:0 mlag_libmlag_pb_la_CPPFLAGS = $(AM_CPPFLAGS) $(PROTOBUF_C_CFLAGS) mlag_libmlag_pb_la_SOURCES = \ + mlag/mlag_pb.c \ # end nodist_mlag_libmlag_pb_la_SOURCES = \