diff --git a/mclagsyncd/Makefile.am b/mclagsyncd/Makefile.am index 3867ab23b9..c30b62c906 100644 --- a/mclagsyncd/Makefile.am +++ b/mclagsyncd/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/orchagent +INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/orchagent -I $(top_srcdir)/orchagent/flex_counter CFLAGS_SAI = -I /usr/include/sai @@ -10,8 +10,8 @@ else DBGFLAGS = -g endif -mclagsyncd_SOURCES = mclagsyncd.cpp mclaglink.cpp +mclagsyncd_SOURCES = mclagsyncd.cpp mclaglink.cpp $(top_srcdir)/orchagent/orch.cpp $(top_srcdir)/orchagent/request_parser.cpp mclagsyncd_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_SAI) -mclagsyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) +mclagsyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_SAI) mclagsyncd_LDADD = -lnl-3 -lnl-route-3 -lswsscommon