Skip to content

Commit

Permalink
Adding vrrpsyncd module
Browse files Browse the repository at this point in the history
  • Loading branch information
vvbrcm committed Oct 2, 2024
1 parent 3c230d2 commit 011b837
Show file tree
Hide file tree
Showing 6 changed files with 857 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if GCOV_ENABLED
SUBDIRS = gcovpreload fpmsyncd neighsyncd portsyncd mclagsyncd natsyncd fdbsyncd orchagent swssconfig cfgmgr tests gearsyncd
SUBDIRS = gcovpreload fpmsyncd neighsyncd portsyncd mclagsyncd natsyncd fdbsyncd orchagent swssconfig cfgmgr tests gearsyncd vrrpsyncd
else
SUBDIRS = fpmsyncd neighsyncd portsyncd mclagsyncd natsyncd fdbsyncd orchagent swssconfig cfgmgr tests gearsyncd
SUBDIRS = fpmsyncd neighsyncd portsyncd mclagsyncd natsyncd fdbsyncd orchagent swssconfig cfgmgr tests gearsyncd vrrpsyncd
endif


Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ AC_CONFIG_FILES([
orchagent/Makefile
fpmsyncd/Makefile
neighsyncd/Makefile
vrrpsyncd/Makefile
gearsyncd/Makefile
fdbsyncd/Makefile
natsyncd/Makefile
Expand Down
15 changes: 15 additions & 0 deletions vrrpsyncd/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/warmrestart

bin_PROGRAMS = vrrpsyncd

if DEBUG
DBGFLAGS = -ggdb -DDEBUG
else
DBGFLAGS = -ggdb -DDEBUG
endif

vrrpsyncd_SOURCES = vrrpsyncd.cpp vrrpsync.cpp $(top_srcdir)/warmrestart/warmRestartAssist.cpp

vrrpsyncd_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(SONIC_COMMON_CFLAGS)
vrrpsyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(SONIC_COMMON_CFLAGS)
vrrpsyncd_LDADD = -lnl-3 -lnl-route-3 -lswsscommon $(SONIC_COMMON_LDFLAGS)
Loading

0 comments on commit 011b837

Please sign in to comment.