blob: 2e6e144e9a5840199d0af2a840806765efa63366 [file] [log] [blame]
AM_CPPFLAGS = \
-I${top_srcdir} \
-I${top_builddir} \
-Igtest \
$(GTEST_CPPFLAGS)
AM_CFLAGS = \
$(PTHREAD_CFLAGS) \
$(CODE_COVERAGE_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
AM_CXXFLAGS = \
$(PTHREAD_CXXFLAGS) \
$(CODE_COVERAGE_CXXFLAGS) \
$(SDBUSPLUS_CXXFLAGS) \
$(PHOSPHOR_LOGGING_CXXFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CXXFLAGS)
AM_LDFLAGS = \
-lgtest_main -lgtest -lstdc++fs \
$(PTHREAD_CFLAGS) \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(OESDK_TESTCASE_FLAGS) \
$(CODE_COVERAGE_LIBS)
test_notification_SOURCES = \
%reldir%/test_error_notification.cpp \
%reldir%/test_snmp_conf_manager.cpp \
%reldir%/test_snmp_util.cpp \
%reldir%/test_snmp_serialize.cpp \
%reldir%/test_snmp_client.cpp
test_notification_LDADD = $(top_builddir)/phosphor_network_snmpconf-snmp_conf_manager.o \
$(top_builddir)/phosphor_network_snmpconf-snmp_client.o \
$(top_builddir)/phosphor_network_snmpconf-snmp_serialize.o \
$(top_builddir)/phosphor_network_snmpconf-snmp_util.o
check_PROGRAMS += %reldir%/notification