From 9b8f605bbb6fd3a08f12272f794c00d343d8fad3 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Mon, 27 Mar 2023 16:44:27 -0400 Subject: [PATCH] build: clean up mgmtd lib protobuf make syntax Fix the makefile rules for the new mgmtd lib module that's generated from a protobuf spec file. Signed-off-by: Mark Stapp --- Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index e70e65d333..f56e1b8e0b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -165,14 +165,11 @@ am__v_PROTOC_C_ = $(am__v_PROTOC_C_$(AM_DEFAULT_VERBOSITY)) am__v_PROTOC_C_0 = @echo " PROTOC_C" $@; am__v_PROTOC_C_1 = -.proto.pb-c.c: +%.pb-c.c %.pb-c.h : %.proto $(AM_V_PROTOC_C)$(PROTOC_C) -I$(top_srcdir) --c_out=$(top_builddir) $^ $(AM_V_GEN)$(SED) -i -e '1i\ #include "config.h"' $@ -.pb-c.c.pb-c.h: - @echo " GEN " $@ - include doc/subdir.am include doc/user/subdir.am include doc/manpages/subdir.am