Skip to content

Commit

Permalink
allow clean build
Browse files Browse the repository at this point in the history
  • Loading branch information
kram committed Jan 19, 2018
1 parent d6b0ca3 commit adfdb86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions saidiscovery/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ endif
if SAIVS
SAILIB=-L$(top_srcdir)/vslib/src/.libs -lsaivs
else
if PLATFORM
ifeq ($(PLATFORM),barefoot)
SAILIB=-L/opt/bfn/install/lib -lswitchsai -lswitchapi -lbf_switchd_lib -ltofinopdfixed_thrift -ldriver -lbfutils -lbfsys -lbfutils -L/opt/bfn/install/lib/tofinopd/switch -lpd -lpdcli -lpdthrift
else
SAILIB=-lsai
endif
endif
endif

saidiscovery_SOURCES = saidiscovery.cpp

Expand Down
2 changes: 2 additions & 0 deletions saisdkdump/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ endif
if SAIVS
SAILIB=-L$(top_srcdir)/vslib/src/.libs -lsaivs
else
if PLATFORM
ifeq ($(PLATFORM),barefoot)
SAILIB=-L/opt/bfn/install/lib -lswitchsai -lswitchapi -lbf_switchd_lib -ltofinopdfixed_thrift -ldriver -lbfutils -lbfsys -lbfutils -L/opt/bfn/install/lib/tofinopd/switch -lpd -lpdcli -lpdthrift
else
SAILIB=-lsai
endif
endif
endif

saisdkdump_SOURCES = saisdkdump.cpp
saisdkdump_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON) $(SAIFLAGS)
Expand Down
2 changes: 2 additions & 0 deletions syncd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ endif
if SAIVS
SAILIB=-L$(top_srcdir)/vslib/src/.libs -lsaivs
else
if PLATFORM
ifeq ($(PLATFORM),barefoot)
SAILIB=-L/opt/bfn/install/lib -lswitchsai -lswitchapi -lbf_switchd_lib -ltofinopdfixed_thrift -ldriver -lbfutils -lbfsys -lbfutils -L/opt/bfn/install/lib/tofinopd/switch -lpd -lpdcli -lpdthrift
else
SAILIB=-lsai
endif
endif
endif

syncd_SOURCES = \
main.cpp \
Expand Down

0 comments on commit adfdb86

Please sign in to comment.