blob: 49983bcb9a9f3c1762a6caec7a0040e126ac1028 [file] [log] [blame]
Jayanth Othayoth0aa0d112018-09-03 03:47:27 -05001AM_DEFAULT_SOURCE_EXT = .cpp
2
3# Build these headers, don't install them
4noinst_HEADERS = \
Jayanth Othayothcfbc8dc2018-09-03 07:22:27 -05005 certs_manager.hpp \
Marri Devender Rao6ceec402019-02-01 03:15:19 -06006 argument.hpp \
Marri Devender Raof4d63482019-05-02 06:35:34 -05007 certificate.hpp \
Marri Devender Raoffad1ef2019-06-03 04:54:12 -05008 csr.hpp \
9 watch.hpp
Jayanth Othayoth0aa0d112018-09-03 03:47:27 -050010
Patrick Venture278a6a62019-03-28 12:57:35 -070011bin_PROGRAMS = \
Jayanth Othayoth0aa0d112018-09-03 03:47:27 -050012 phosphor-certificate-manager
13
14phosphor_certificate_manager_SOURCES = \
15 mainapp.cpp \
Jayanth Othayothcfbc8dc2018-09-03 07:22:27 -050016 certs_manager.cpp \
Marri Devender Rao6ceec402019-02-01 03:15:19 -060017 argument.cpp \
Marri Devender Raof4d63482019-05-02 06:35:34 -050018 certificate.cpp \
Marri Devender Raoffad1ef2019-06-03 04:54:12 -050019 csr.cpp \
20 watch.cpp
Jayanth Othayothcfbc8dc2018-09-03 07:22:27 -050021
22phosphor_certificate_manager_LDFLAGS = \
23 $(SDBUSPLUS_LIBS) \
Marri Devender Raof4682712019-03-19 05:00:28 -050024 $(SDEVENTPLUS_LIBS) \
Jayanth Othayothcfbc8dc2018-09-03 07:22:27 -050025 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Patrick Venture3dd74012018-12-03 07:46:55 -080026 $(PHOSPHOR_LOGGING_LIBS) \
Patrick Venture8d100c12018-12-03 08:36:00 -080027 $(OPENSSL_LIBS) \
28 -lstdc++fs
Jayanth Othayothcfbc8dc2018-09-03 07:22:27 -050029
30phosphor_certificate_manager_CXXFLAGS = \
31 $(SYSTEMD_CFLAGS) \
Marri Devender Raof4682712019-03-19 05:00:28 -050032 $(SDEVENTPLUS_LIBS) \
Patrick Venture3dd74012018-12-03 07:46:55 -080033 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
34 $(PHOSPHOR_LOGGING_CFLAGS)
Marri Devender Rao947258d2018-09-25 10:52:24 -050035
36SUBDIRS = . test