sync_manager: Initial commit

Create a new sync manager to handle file sync
operations, such as copying persistent files to the
alternate BMC chip for backup. Make the new sync
manager optional via a compile flag since this function
requires that the system has a second BMC chip.

Change-Id: I2fbf7903d0baaa162e0ce62e8548db2cf2782398
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 10c3bf8..b4755c5 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,6 +44,14 @@
 phosphor_image_updater_SOURCES += image_verify.cpp
 endif
 
+if WANT_SYNC
+noinst_HEADERS += sync_manager.hpp
+sbin_PROGRAMS += phosphor-sync-software-manager
+phosphor_sync_software_manager_SOURCES = sync_manager_main.cpp
+phosphor_sync_software_manager_CXXFLAGS = $(generic_cxxflags)
+phosphor_sync_software_manager_LDFLAGS = $(generic_ldflags)
+endif
+
 nodist_phosphor_image_updater_SOURCES = \
 	org/openbmc/Associations/server.cpp