This repository was archived by the owner on May 14, 2026. It is now read-only.
forked from sonic-net/sonic-swss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
81 lines (71 loc) · 3.55 KB
/
Copy pathMakefile.am
File metadata and controls
81 lines (71 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
FLEX_CTR_DIR = $(top_srcdir)/orchagent/flex_counter
DEBUG_CTR_DIR = $(top_srcdir)/orchagent/debug_counter
INCLUDES = -I $(FLEX_CTR_DIR) -I $(DEBUG_CTR_DIR) -I $(top_srcdir)/lib -I$(top_srcdir)/orchagent
CFLAGS_SAI = -I /usr/include/sai
TESTS = tests
noinst_PROGRAMS = tests
LDADD_SAI = -lsaimeta -lsaimetadata -lsaivs -lsairedis
if DEBUG
DBGFLAGS = -ggdb -DDEBUG
else
DBGFLAGS = -g -DNDEBUG
endif
CFLAGS_GTEST =
LDADD_GTEST = -L/usr/src/gtest
tests_SOURCES = aclorch_ut.cpp \
portsorch_ut.cpp \
fdborch/flush_syncd_notif_ut.cpp \
saispy_ut.cpp \
consumer_ut.cpp \
ut_saihelper.cpp \
mock_orchagent_main.cpp \
mock_dbconnector.cpp \
mock_consumerstatetable.cpp \
mock_table.cpp \
mock_hiredis.cpp \
mock_redisreply.cpp \
bulker_ut.cpp \
mock_sai_switch.cpp \
orchdaemon_ut.cpp \
$(top_srcdir)/lib/gearboxutils.cpp \
$(top_srcdir)/orchagent/orchdaemon.cpp \
$(top_srcdir)/orchagent/orch.cpp \
$(top_srcdir)/orchagent/notifications.cpp \
$(top_srcdir)/orchagent/routeorch.cpp \
$(top_srcdir)/orchagent/fgnhgorch.cpp \
$(top_srcdir)/orchagent/neighorch.cpp \
$(top_srcdir)/orchagent/intfsorch.cpp \
$(top_srcdir)/orchagent/portsorch.cpp \
$(top_srcdir)/orchagent/copporch.cpp \
$(top_srcdir)/orchagent/tunneldecaporch.cpp \
$(top_srcdir)/orchagent/qosorch.cpp \
$(top_srcdir)/orchagent/bufferorch.cpp \
$(top_srcdir)/orchagent/mirrororch.cpp \
$(top_srcdir)/orchagent/fdborch.cpp \
$(top_srcdir)/orchagent/aclorch.cpp \
$(top_srcdir)/orchagent/saihelper.cpp \
$(top_srcdir)/orchagent/switchorch.cpp \
$(top_srcdir)/orchagent/pfcwdorch.cpp \
$(top_srcdir)/orchagent/pfcactionhandler.cpp \
$(top_srcdir)/orchagent/policerorch.cpp \
$(top_srcdir)/orchagent/crmorch.cpp \
$(top_srcdir)/orchagent/request_parser.cpp \
$(top_srcdir)/orchagent/vrforch.cpp \
$(top_srcdir)/orchagent/countercheckorch.cpp \
$(top_srcdir)/orchagent/vxlanorch.cpp \
$(top_srcdir)/orchagent/vnetorch.cpp \
$(top_srcdir)/orchagent/dtelorch.cpp \
$(top_srcdir)/orchagent/flexcounterorch.cpp \
$(top_srcdir)/orchagent/watermarkorch.cpp \
$(top_srcdir)/orchagent/chassisorch.cpp \
$(top_srcdir)/orchagent/sfloworch.cpp \
$(top_srcdir)/orchagent/debugcounterorch.cpp \
$(top_srcdir)/orchagent/natorch.cpp \
$(top_srcdir)/orchagent/muxorch.cpp \
$(top_srcdir)/orchagent/bfdorch.cpp
tests_SOURCES += $(FLEX_CTR_DIR)/flex_counter_manager.cpp $(FLEX_CTR_DIR)/flex_counter_stat_manager.cpp
tests_SOURCES += $(DEBUG_CTR_DIR)/debug_counter.cpp $(DEBUG_CTR_DIR)/drop_counter.cpp
tests_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_GTEST) $(CFLAGS_SAI)
tests_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_GTEST) $(CFLAGS_SAI) -I$(top_srcdir)/orchagent
tests_LDADD = $(LDADD_GTEST) $(LDADD_SAI) -lnl-genl-3 -lhiredis -lhiredis -lpthread \
-lswsscommon -lswsscommon -lgtest -lgtest_main -lzmq -lnl-3 -lnl-route-3 -lgmock -lgmock_main