Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
| 2 | -I$(top_srcdir) \ |
| 3 | $(PTHREAD_CPPFLAGS) \ |
| 4 | $(SDBUSPLUS_CPPFLAGS) \ |
| 5 | $(PHOSPHOR_DBUS_INTERFACES_CPPFLAGS) |
| 6 | |
| 7 | AM_CFLAGS = \ |
| 8 | $(PTHREAD_CFLAGS) \ |
| 9 | $(SDBUSPLUS_CFLAGS) \ |
Patrick Venture | 3dd7401 | 2018-12-03 07:46:55 -0800 | [diff] [blame] | 10 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 11 | $(PHOSPHOR_LOGGING_CFLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 12 | |
| 13 | AM_CXXFLAGS = \ |
| 14 | $(PTHREAD_CXXFLAGS) \ |
| 15 | $(SDBUSPLUS_CXXFLAGS) \ |
| 16 | $(PHOSPHOR_DBUS_INTERFACES_CXXFLAGS) |
| 17 | |
| 18 | AM_LDFLAGS = \ |
| 19 | -lstdc++fs \ |
| 20 | $(SDBUSPLUS_LIBS) \ |
| 21 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
Patrick Venture | 3dd7401 | 2018-12-03 07:46:55 -0800 | [diff] [blame] | 22 | $(PHOSPHOR_LOGGING_LIBS) \ |
Patrick Venture | 8d100c1 | 2018-12-03 08:36:00 -0800 | [diff] [blame] | 23 | $(OPENSSL_LIBS) \ |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 24 | -lgtest -lgtest_main -lgmock $(PTHREAD_CFLAGS) $(OESDK_TESTCASE_FLAGS) |
| 25 | |
| 26 | check_PROGRAMS = |
| 27 | |
| 28 | # Run all 'check' test programs |
| 29 | TESTS = $(check_PROGRAMS) |
| 30 | |
| 31 | # Build/add certs_manager_test to test suite |
| 32 | check_PROGRAMS += certs_manager_test |
Jayanth Othayoth | dd74bd2 | 2018-09-28 06:13:35 -0500 | [diff] [blame] | 33 | certs_manager_test_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_CPPFLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 34 | certs_manager_test_LDFLAGS = $(AM_LDFLAGS) $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) |
| 35 | certs_manager_test_SOURCES = certs_manager_test.cpp |
| 36 | certs_manager_test_LDADD = $(top_builddir)/certs_manager.o |