summaryrefslogtreecommitdiffstats
path: root/zebra/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-06-19 01:07:58 +0200
committerDavid Lamparter <equinox@diac24.net>2020-06-19 01:07:58 +0200
commit4b7272c7a68c93eda93bac6fccfd4e2ce37803fe (patch)
tree956c5ec367647c4263d8338fb0789155b9701aba /zebra/subdir.am
parentMerge pull request #6602 from donaldsharp/allow_installation (diff)
downloadfrr-4b7272c7a68c93eda93bac6fccfd4e2ce37803fe.tar.xz
frr-4b7272c7a68c93eda93bac6fccfd4e2ce37803fe.zip
build: fix protobuf dependencies
Need to list #include'd header files in Makefile to make sure it builds correctly. Fixes: #6576 Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/subdir.am')
-rw-r--r--zebra/subdir.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/subdir.am b/zebra/subdir.am
index d98ef5257..49e60820b 100644
--- a/zebra/subdir.am
+++ b/zebra/subdir.am
@@ -44,6 +44,7 @@ endif
zebra_zebra_LDADD = lib/libfrr.la $(LIBCAP)
if HAVE_PROTOBUF3
zebra_zebra_LDADD += mlag/libmlag_pb.la $(PROTOBUF_C_LIBS)
+zebra/zebra_mlag.$(OBJEXT): mlag/mlag.pb-c.h
endif
zebra_zebra_SOURCES = \
zebra/connected.c \
@@ -188,8 +189,10 @@ zebra_zebra_fpm_la_SOURCES += zebra/zebra_fpm_netlink.c
if HAVE_PROTOBUF
zebra_zebra_fpm_la_LIBADD += fpm/libfrrfpm_pb.la qpb/libfrr_pb.la $(PROTOBUF_C_LIBS)
zebra_zebra_fpm_la_SOURCES += zebra/zebra_fpm_protobuf.c
+zebra/zebra_fpm_protobuf.lo: fpm/fpm.pb-c.h qpb/qpb.pb-c.h
if DEV_BUILD
zebra_zebra_fpm_la_SOURCES += zebra/zebra_fpm_dt.c
+zebra/zebra_fpm_dt.lo: fpm/fpm.pb-c.h qpb/qpb.pb-c.h
endif
endif