summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2023-03-27 16:44:27 -0400
committerMark Stapp <mjs@labn.net>2023-03-27 16:44:27 -0400
commit9b8f605bbb6fd3a08f12272f794c00d343d8fad3 (patch)
tree81868b764468241ee574b3e51733c5bee2d222dc /Makefile.am
parentc4e3d5569f56faf615a6177aadc6e614dd88684c (diff)
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 <mjs@labn.net>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 1 insertions, 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