]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/subdir.am
Merge pull request #5706 from mjstapp/fix_nh_debug_show
[mirror_frr.git] / zebra / subdir.am
index daa7946bc0923697783ef687c9d893aaa4d19080..77ed5a6caa6f7a56c72a923dcaa829469ef1849b 100644 (file)
@@ -10,7 +10,7 @@ vtysh_scan += \
        $(top_srcdir)/zebra/interface.c \
        $(top_srcdir)/zebra/router-id.c \
        $(top_srcdir)/zebra/rtadv.c \
-       $(top_srcdir)/zebra/zebra_mlag.c \
+       $(top_srcdir)/zebra/zebra_mlag_vty.c \
        $(top_srcdir)/zebra/zebra_mpls_vty.c \
        $(top_srcdir)/zebra/zebra_ptm.c \
        $(top_srcdir)/zebra/zebra_pw.c \
@@ -32,12 +32,18 @@ endif
 if FPM
 module_LTLIBRARIES += zebra/zebra_fpm.la
 endif
+if LINUX
+module_LTLIBRARIES += zebra/zebra_cumulus_mlag.la
+endif
 
-man8 += $(MANBUILD)/zebra.8
+man8 += $(MANBUILD)/frr-zebra.8
 ## endif ZEBRA
 endif
 
 zebra_zebra_LDADD = lib/libfrr.la $(LIBCAP)
+if HAVE_PROTOBUF3
+zebra_zebra_LDADD += mlag/libmlag_pb.la $(PROTOBUF_C_LIBS)
+endif
 zebra_zebra_SOURCES = \
        zebra/connected.c \
        zebra/debug.c \
@@ -66,6 +72,7 @@ zebra_zebra_SOURCES = \
        zebra/rule_netlink.c \
        zebra/rule_socket.c \
        zebra/zebra_mlag.c \
+       zebra/zebra_mlag_vty.c \
        zebra/zebra_l2.c \
        zebra/zebra_memory.c \
        zebra/zebra_dplane.c \
@@ -75,6 +82,7 @@ zebra_zebra_SOURCES = \
        zebra/zebra_mpls_null.c \
        zebra/zebra_mpls_vty.c \
        zebra/zebra_mroute.c \
+       zebra/zebra_nhg.c \
        zebra/zebra_ns.c \
        zebra/zebra_pbr.c \
        zebra/zebra_ptm.c \
@@ -95,8 +103,11 @@ zebra_zebra_SOURCES = \
        zebra/zebra_errors.c \
        # end
 
-zebra/zebra_mlag_clippy.c: $(CLIPPY_DEPS)
-zebra/zebra_mlag.$(OBJEXT): zebra/zebra_mlag_clippy.c
+zebra/debug_clippy.c: $(CLIPPY_DEPS)
+zebra/debug.$(OBJEXT): zebra/debug_clippy.c
+
+zebra/zebra_mlag_vty_clippy.c: $(CLIPPY_DEPS)
+zebra/zebra_mlag_vty.$(OBJEXT): zebra/zebra_mlag_vty_clippy.c
 
 zebra/zebra_vty_clippy.c: $(CLIPPY_DEPS)
 zebra/interface_clippy.c: $(CLIPPY_DEPS)
@@ -126,12 +137,15 @@ noinst_HEADERS += \
        zebra/rtadv.h \
        zebra/rule_netlink.h \
        zebra/zebra_mlag.h \
+       zebra/zebra_mlag_vty.h \
        zebra/zebra_fpm_private.h \
        zebra/zebra_l2.h \
        zebra/zebra_dplane.h \
        zebra/zebra_memory.h \
        zebra/zebra_mpls.h \
        zebra/zebra_mroute.h \
+       zebra/zebra_nhg.h \
+       zebra/zebra_nhg_private.h \
        zebra/zebra_ns.h \
        zebra/zebra_pbr.h \
        zebra/zebra_ptm.h \
@@ -174,3 +188,6 @@ if DEV_BUILD
 zebra_zebra_fpm_la_SOURCES += zebra/zebra_fpm_dt.c
 endif
 endif
+
+zebra_zebra_cumulus_mlag_la_SOURCES = zebra/zebra_mlag_private.c
+zebra_zebra_cumulus_mlag_la_LDFLAGS = -avoid-version -module -shared -export-dynamic