Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 2 | -I$(top_srcdir) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 3 | |
| 4 | AM_CFLAGS = \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 5 | $(SDBUSPLUS_CFLAGS) \ |
| 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 = \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 12 | -lstdc++fs \ |
| 13 | $(SDBUSPLUS_LIBS) \ |
| 14 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 15 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 16 | $(OPENSSL_LIBS) \ |
| 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 |