Ratan Gupta | ec26fa6 | 2018-04-16 15:28:36 +0530 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
| 2 | -I${top_srcdir} \ |
| 3 | -I${top_builddir} \ |
| 4 | -Igtest \ |
Ratan Gupta | 1dc9178 | 2018-04-19 16:47:12 +0530 | [diff] [blame] | 5 | $(GTEST_CPPFLAGS) |
Ratan Gupta | ec26fa6 | 2018-04-16 15:28:36 +0530 | [diff] [blame] | 6 | |
Ratan Gupta | 1dc9178 | 2018-04-19 16:47:12 +0530 | [diff] [blame] | 7 | AM_CFLAGS = \ |
| 8 | $(PTHREAD_CFLAGS) \ |
| 9 | $(CODE_COVERAGE_CFLAGS) \ |
| 10 | $(SDBUSPLUS_CFLAGS) \ |
| 11 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 12 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
| 13 | |
| 14 | AM_CXXFLAGS = \ |
| 15 | $(PTHREAD_CXXFLAGS) \ |
| 16 | $(CODE_COVERAGE_CXXFLAGS) \ |
| 17 | $(SDBUSPLUS_CXXFLAGS) \ |
| 18 | $(PHOSPHOR_LOGGING_CXXFLAGS) \ |
| 19 | $(PHOSPHOR_DBUS_INTERFACES_CXXFLAGS) |
| 20 | |
| 21 | AM_LDFLAGS = \ |
| 22 | -lgtest_main -lgtest -lstdc++fs \ |
| 23 | $(PTHREAD_CFLAGS) \ |
| 24 | $(SDBUSPLUS_LIBS) \ |
| 25 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 26 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
Ratan Gupta | ec26fa6 | 2018-04-16 15:28:36 +0530 | [diff] [blame] | 27 | $(OESDK_TESTCASE_FLAGS) \ |
| 28 | $(CODE_COVERAGE_LIBS) |
| 29 | |
Ratan Gupta | ec26fa6 | 2018-04-16 15:28:36 +0530 | [diff] [blame] | 30 | test_notification_SOURCES = \ |
Ratan Gupta | 1dc9178 | 2018-04-19 16:47:12 +0530 | [diff] [blame] | 31 | %reldir%/test_error_notification.cpp \ |
Ratan Gupta | 213517b | 2018-04-28 13:41:09 +0530 | [diff] [blame] | 32 | %reldir%/test_snmp_conf_manager.cpp \ |
Ratan Gupta | 212f53e | 2018-04-30 17:28:05 +0530 | [diff] [blame] | 33 | %reldir%/test_snmp_util.cpp \ |
Ratan Gupta | 9d18e56 | 2018-11-16 17:19:34 +0530 | [diff] [blame] | 34 | %reldir%/test_snmp_serialize.cpp \ |
| 35 | %reldir%/test_snmp_client.cpp |
Ratan Gupta | 1dc9178 | 2018-04-19 16:47:12 +0530 | [diff] [blame] | 36 | |
| 37 | test_notification_LDADD = $(top_builddir)/phosphor_network_snmpconf-snmp_conf_manager.o \ |
| 38 | $(top_builddir)/phosphor_network_snmpconf-snmp_client.o \ |
Ratan Gupta | 212f53e | 2018-04-30 17:28:05 +0530 | [diff] [blame] | 39 | $(top_builddir)/phosphor_network_snmpconf-snmp_serialize.o \ |
Patrick Williams | 5374d6e | 2021-10-22 20:24:18 -0500 | [diff] [blame] | 40 | $(top_builddir)/phosphor_network_snmpconf-snmp_util.o |
Ratan Gupta | ec26fa6 | 2018-04-16 15:28:36 +0530 | [diff] [blame] | 41 | |
| 42 | check_PROGRAMS += %reldir%/notification |