Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
Lakshminarayana R. Kammath | 480f30d | 2020-05-21 10:02:28 -0500 | [diff] [blame^] | 2 | -I$(top_srcdir) \ |
| 3 | $(CODE_COVERAGE_CPPFLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 4 | |
| 5 | AM_CFLAGS = \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 6 | $(SDBUSPLUS_CFLAGS) \ |
Marri Devender Rao | f468271 | 2019-03-19 05:00:28 -0500 | [diff] [blame] | 7 | $(SDEVENTPLUS_CFLAGS) \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 8 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
Lakshminarayana R. Kammath | 480f30d | 2020-05-21 10:02:28 -0500 | [diff] [blame^] | 9 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 10 | $(CODE_COVERAGE_CPPFLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 11 | |
Lakshminarayana R. Kammath | 480f30d | 2020-05-21 10:02:28 -0500 | [diff] [blame^] | 12 | AM_CXXFLAGS = \ |
| 13 | $(CODE_COVERAGE_CXXFLAGS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 14 | |
| 15 | AM_LDFLAGS = \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 16 | -lstdc++fs \ |
| 17 | $(SDBUSPLUS_LIBS) \ |
Marri Devender Rao | f468271 | 2019-03-19 05:00:28 -0500 | [diff] [blame] | 18 | $(SDEVENTPLUS_LIBS) \ |
Patrick Venture | ca4f788 | 2018-12-03 09:05:32 -0800 | [diff] [blame] | 19 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 20 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 21 | $(OPENSSL_LIBS) \ |
Marri Devender Rao | 6ceec40 | 2019-02-01 03:15:19 -0600 | [diff] [blame] | 22 | $(GTEST_LIBS) -lgmock_main $(GMOCK_LIBS) \ |
Lakshminarayana R. Kammath | 480f30d | 2020-05-21 10:02:28 -0500 | [diff] [blame^] | 23 | $(OESDK_TESTCASE_FLAGS) \ |
| 24 | $(CODE_COVERAGE_LIBS) |
Marri Devender Rao | 947258d | 2018-09-25 10:52:24 -0500 | [diff] [blame] | 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 |
Marri Devender Rao | 6ceec40 | 2019-02-01 03:15:19 -0600 | [diff] [blame] | 37 | certs_manager_test_LDADD += $(top_builddir)/certificate.o |
Marri Devender Rao | f468271 | 2019-03-19 05:00:28 -0500 | [diff] [blame] | 38 | certs_manager_test_LDADD += $(top_builddir)/csr.o |
Marri Devender Rao | ffad1ef | 2019-06-03 04:54:12 -0500 | [diff] [blame] | 39 | certs_manager_test_LDADD += $(top_builddir)/watch.o |
Lakshminarayana R. Kammath | 480f30d | 2020-05-21 10:02:28 -0500 | [diff] [blame^] | 40 | certs_manager_test_LDADD += $(CODE_COVERAGE_LIBS) |