blob: 76920cf5bf86c0342eeeacc394c5f7b079a44f35 [file] [log] [blame]
Marri Devender Rao947258d2018-09-25 10:52:24 -05001AM_CPPFLAGS = \
Patrick Ventureca4f7882018-12-03 09:05:32 -08002 -I$(top_srcdir)
Marri Devender Rao947258d2018-09-25 10:52:24 -05003
4AM_CFLAGS = \
Patrick Ventureca4f7882018-12-03 09:05:32 -08005 $(SDBUSPLUS_CFLAGS) \
6 $(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 = \
Patrick Ventureca4f7882018-12-03 09:05:32 -080012 -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 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