Implementation of certificate install interface

- Copy the certificate and private Key file to the service
  specific path based on a configuration file.

- Reload the listed service for which the certificate is
  updated.

Change-Id: Iae7d340a0a2381502aef33762eb79b57ddeda07d
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 824d780..a597c38 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,7 @@
 
 # Build these headers, don't install them
 noinst_HEADERS = \
+	certs_manager.hpp \
 	argument.hpp
 
 sbin_PROGRAMS = \
@@ -9,4 +10,14 @@
 
 phosphor_certificate_manager_SOURCES = \
 	mainapp.cpp \
+	certs_manager.cpp \
 	argument.cpp
+
+phosphor_certificate_manager_LDFLAGS = \
+	$(SDBUSPLUS_LIBS) \
+	$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
+	-lstdc++fs
+
+phosphor_certificate_manager_CXXFLAGS = \
+	$(SYSTEMD_CFLAGS) \
+	$(PHOSPHOR_DBUS_INTERFACES_CFLAGS)