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