ldap: Add application to configure privilege for LDAP groups

The application implements the xyz.openbmc_project.User.PrivilegeMapper
D-Bus interface to configure privilege levels for LDAP groups. The Create
method is used to create privilege mapping for the LDAP group. D-Bus
object is created for each LDAP group and implements the D-Bus interface
xyz.openbmc_project.User.PrivilegeMapperEntry.
:
Change-Id: I20935229a8a79ce1e52a857672a6a0085cb5ace4
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/phosphor-ldap-mapper/Makefile.am b/phosphor-ldap-mapper/Makefile.am
new file mode 100644
index 0000000..4aeca7b
--- /dev/null
+++ b/phosphor-ldap-mapper/Makefile.am
@@ -0,0 +1,19 @@
+sbin_PROGRAMS = phosphor-ldap-mapper
+
+noinst_HEADERS = ldap_mapper_mgr.hpp \
+                 ldap_mapper_entry.hpp
+
+phosphor_ldap_mapper_SOURCES = \
+                main.cpp \
+                ldap_mapper_mgr.cpp \
+                ldap_mapper_entry.cpp
+
+phosphor_ldap_mapper_LDFLAGS = $(SDBUSPLUS_LIBS) \
+                               $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
+                               $(PHOSPHOR_LOGGING_LIBS) \
+                               -lstdc++fs
+
+phosphor_ldap_mapper_CXXFLAGS = $(SYSTEMD_CFLAGS) \
+                                $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
+                                $(PHOSPHOR_LOGGING_CFLAGS) \
+                                -flto