blob: 2e6e144e9a5840199d0af2a840806765efa63366 [file] [log] [blame]
Ratan Guptaec26fa62018-04-16 15:28:36 +05301AM_CPPFLAGS = \
2 -I${top_srcdir} \
3 -I${top_builddir} \
4 -Igtest \
Ratan Gupta1dc91782018-04-19 16:47:12 +05305 $(GTEST_CPPFLAGS)
Ratan Guptaec26fa62018-04-16 15:28:36 +05306
Ratan Gupta1dc91782018-04-19 16:47:12 +05307AM_CFLAGS = \
8 $(PTHREAD_CFLAGS) \
9 $(CODE_COVERAGE_CFLAGS) \
10 $(SDBUSPLUS_CFLAGS) \
11 $(PHOSPHOR_LOGGING_CFLAGS) \
12 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
13
14AM_CXXFLAGS = \
15 $(PTHREAD_CXXFLAGS) \
16 $(CODE_COVERAGE_CXXFLAGS) \
17 $(SDBUSPLUS_CXXFLAGS) \
18 $(PHOSPHOR_LOGGING_CXXFLAGS) \
19 $(PHOSPHOR_DBUS_INTERFACES_CXXFLAGS)
20
21AM_LDFLAGS = \
22 -lgtest_main -lgtest -lstdc++fs \
23 $(PTHREAD_CFLAGS) \
24 $(SDBUSPLUS_LIBS) \
25 $(PHOSPHOR_LOGGING_LIBS) \
26 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Ratan Guptaec26fa62018-04-16 15:28:36 +053027 $(OESDK_TESTCASE_FLAGS) \
28 $(CODE_COVERAGE_LIBS)
29
Ratan Guptaec26fa62018-04-16 15:28:36 +053030test_notification_SOURCES = \
Ratan Gupta1dc91782018-04-19 16:47:12 +053031 %reldir%/test_error_notification.cpp \
Ratan Gupta213517b2018-04-28 13:41:09 +053032 %reldir%/test_snmp_conf_manager.cpp \
Ratan Gupta212f53e2018-04-30 17:28:05 +053033 %reldir%/test_snmp_util.cpp \
Ratan Gupta9d18e562018-11-16 17:19:34 +053034 %reldir%/test_snmp_serialize.cpp \
35 %reldir%/test_snmp_client.cpp
Ratan Gupta1dc91782018-04-19 16:47:12 +053036
37test_notification_LDADD = $(top_builddir)/phosphor_network_snmpconf-snmp_conf_manager.o \
38 $(top_builddir)/phosphor_network_snmpconf-snmp_client.o \
Ratan Gupta212f53e2018-04-30 17:28:05 +053039 $(top_builddir)/phosphor_network_snmpconf-snmp_serialize.o \
Patrick Williams5374d6e2021-10-22 20:24:18 -050040 $(top_builddir)/phosphor_network_snmpconf-snmp_util.o
Ratan Guptaec26fa62018-04-16 15:28:36 +053041
42check_PROGRAMS += %reldir%/notification