Add associations::Manager class
This class will handle creating the org.openbmc.Associations
D-Bus interfaces on inventory paths if it has been told to
by a JSON configuration file.
Every time PIM creates a new inventory path, this class will
check to see if any associations need to be created.
This functionality is optional, and is off by default. To
enable it, the --enable-associations configure option needs to
be used.
This commit just introduces the class.
Change-Id: I70045b768f3db683bcfac0c7d4bc9798eb10a5c5
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index d045e64..7d0e1d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,11 @@
errors.cpp \
functor.cpp \
manager.cpp
+
+if CREATE_INV_ASSOCIATIONS
+libmanagercommon_la_SOURCES += association_manager.cpp
+endif
+
libmanagercommon_la_LIBADD = \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \