summaryrefslogtreecommitdiffstats
path: root/zebra/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-12-04 04:18:12 +0100
committerDavid Lamparter <equinox@diac24.net>2019-12-11 11:40:47 +0100
commitd621815a0e1d8649234222ea60c968dd0d4e0308 (patch)
tree94320640f682ae6f643e22df790a442c145cc85a /zebra/subdir.am
parentMerge pull request #5511 from Jafaral/ipmroute (diff)
downloadfrr-d621815a0e1d8649234222ea60c968dd0d4e0308.tar.xz
frr-d621815a0e1d8649234222ea60c968dd0d4e0308.zip
zebra: create zebra_cumulus_mlag module
This is pretty much just to get rid of the HAVE_CUMULUS. The hook/module API is as "wtf" as it was before... Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'zebra/subdir.am')
-rw-r--r--zebra/subdir.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/zebra/subdir.am b/zebra/subdir.am
index d0f32d6a1..e3ca01ff7 100644
--- a/zebra/subdir.am
+++ b/zebra/subdir.am
@@ -32,6 +32,9 @@ endif
if FPM
module_LTLIBRARIES += zebra/zebra_fpm.la
endif
+if LINUX
+module_LTLIBRARIES += zebra/zebra_cumulus_mlag.la
+endif
man8 += $(MANBUILD)/zebra.8
## endif ZEBRA
@@ -69,7 +72,6 @@ zebra_zebra_SOURCES = \
zebra/rule_netlink.c \
zebra/rule_socket.c \
zebra/zebra_mlag.c \
- zebra/zebra_mlag_private.c \
zebra/zebra_l2.c \
zebra/zebra_memory.c \
zebra/zebra_dplane.c \
@@ -134,7 +136,6 @@ noinst_HEADERS += \
zebra/rtadv.h \
zebra/rule_netlink.h \
zebra/zebra_mlag.h \
- zebra/zebra_mlag_private.h \
zebra/zebra_fpm_private.h \
zebra/zebra_l2.h \
zebra/zebra_dplane.h \
@@ -185,3 +186,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