]> 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 d0f32d6a14137c65985b9fe242bdfea07d278dba..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,13 +32,16 @@ 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_PROTOBUF
+if HAVE_PROTOBUF3
 zebra_zebra_LDADD += mlag/libmlag_pb.la $(PROTOBUF_C_LIBS)
 endif
 zebra_zebra_SOURCES = \
@@ -69,7 +72,7 @@ zebra_zebra_SOURCES = \
        zebra/rule_netlink.c \
        zebra/rule_socket.c \
        zebra/zebra_mlag.c \
-       zebra/zebra_mlag_private.c \
+       zebra/zebra_mlag_vty.c \
        zebra/zebra_l2.c \
        zebra/zebra_memory.c \
        zebra/zebra_dplane.c \
@@ -103,8 +106,8 @@ zebra_zebra_SOURCES = \
 zebra/debug_clippy.c: $(CLIPPY_DEPS)
 zebra/debug.$(OBJEXT): zebra/debug_clippy.c
 
-zebra/zebra_mlag_clippy.c: $(CLIPPY_DEPS)
-zebra/zebra_mlag.$(OBJEXT): zebra/zebra_mlag_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)
@@ -134,7 +137,7 @@ noinst_HEADERS += \
        zebra/rtadv.h \
        zebra/rule_netlink.h \
        zebra/zebra_mlag.h \
-       zebra/zebra_mlag_private.h \
+       zebra/zebra_mlag_vty.h \
        zebra/zebra_fpm_private.h \
        zebra/zebra_l2.h \
        zebra/zebra_dplane.h \
@@ -185,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