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) \ |
Marri Devender Rao | f468271 | 2019-03-19 05:00:28 -0500 | [diff] [blame] | 6 | $(SDEVENTPLUS_CFLAGS) \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 7 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 8 | $(PHOSPHOR_LOGGING_CFLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 9 | |
Patrick Venture | d51f103 | 2018-12-03 08:48:17 -0800 | [diff] [blame] | 10 | AM_CXXFLAGS = |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 11 | |
| 12 | AM_LDFLAGS = \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 13 | -lstdc++fs \ |
| 14 | $(SDBUSPLUS_LIBS) \ |
Marri Devender Rao | f468271 | 2019-03-19 05:00:28 -0500 | [diff] [blame] | 15 | $(SDEVENTPLUS_LIBS) \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 16 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 17 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 18 | $(OPENSSL_LIBS) \ |
Marri Devender Rao | 6ceec40 | 2019-02-01 03:15:19 -0600 | [diff] [blame] | 19 | $(GTEST_LIBS) -lgmock_main $(GMOCK_LIBS) \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 20 | $(OESDK_TESTCASE_FLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 21 | |
| 22 | check_PROGRAMS = |
| 23 | |
| 24 | # Run all 'check' test programs |
| 25 | TESTS = $(check_PROGRAMS) |
| 26 | |
| 27 | # Build/add certs_manager_test to test suite |
| 28 | check_PROGRAMS += certs_manager_test |
Jayanth Othayoth | dd74bd2 | 2018-09-28 06:13:35 -0500 | [diff] [blame] | 29 | certs_manager_test_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_CPPFLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 30 | certs_manager_test_LDFLAGS = $(AM_LDFLAGS) $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) |
| 31 | certs_manager_test_SOURCES = certs_manager_test.cpp |
| 32 | certs_manager_test_LDADD = $(top_builddir)/certs_manager.o |
Marri Devender Rao | 6ceec40 | 2019-02-01 03:15:19 -0600 | [diff] [blame] | 33 | certs_manager_test_LDADD += $(top_builddir)/certificate.o |
Marri Devender Rao | f468271 | 2019-03-19 05:00:28 -0500 | [diff] [blame] | 34 | certs_manager_test_LDADD += $(top_builddir)/csr.o |