blob: 4e99de1f9adba23b550496e6722e2dcedce8b48f [file] [log] [blame]
Marri Devender Rao947258d2018-09-25 10:52:24 -05001AM_CPPFLAGS = \
Patrick Ventured51f1032018-12-03 08:48:17 -08002 -I$(top_srcdir)
Marri Devender Rao947258d2018-09-25 10:52:24 -05003
4AM_CFLAGS = \
Marri Devender Rao947258d2018-09-25 10:52:24 -05005 $(SDBUSPLUS_CFLAGS) \
Patrick Venture3dd74012018-12-03 07:46:55 -08006 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
7 $(PHOSPHOR_LOGGING_CFLAGS)
Marri Devender Rao947258d2018-09-25 10:52:24 -05008
Patrick Ventured51f1032018-12-03 08:48:17 -08009AM_CXXFLAGS =
Marri Devender Rao947258d2018-09-25 10:52:24 -050010
11AM_LDFLAGS = \
12 -lstdc++fs \
13 $(SDBUSPLUS_LIBS) \
14 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Patrick Venture3dd74012018-12-03 07:46:55 -080015 $(PHOSPHOR_LOGGING_LIBS) \
Patrick Venture8d100c12018-12-03 08:36:00 -080016 $(OPENSSL_LIBS) \
Patrick Ventured51f1032018-12-03 08:48:17 -080017 $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main
18 $(OESDK_TESTCASE_FLAGS)
Marri Devender Rao947258d2018-09-25 10:52:24 -050019
20check_PROGRAMS =
21
22# Run all 'check' test programs
23TESTS = $(check_PROGRAMS)
24
25# Build/add certs_manager_test to test suite
26check_PROGRAMS += certs_manager_test
Jayanth Othayothdd74bd22018-09-28 06:13:35 -050027certs_manager_test_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_CPPFLAGS)
Marri Devender Rao947258d2018-09-25 10:52:24 -050028certs_manager_test_LDFLAGS = $(AM_LDFLAGS) $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS)
29certs_manager_test_SOURCES = certs_manager_test.cpp
30certs_manager_test_LDADD = $(top_builddir)/certs_manager.o