summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-02-01 13:34:13 -0800
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-02-12 21:19:58 +0000
commit997a7a0820e53222b068c95a9ad492c68bca99f2 (patch)
tree1d4e2e53bca8a5f020bdeb98f75f89be60f90b75
parentf7c9db0acbd2c266d5468e3705850749bfaf9d86 (diff)
downloadphosphor-host-ipmid-997a7a0820e53222b068c95a9ad492c68bca99f2.tar.gz
phosphor-host-ipmid-997a7a0820e53222b068c95a9ad492c68bca99f2.zip
Create the libchannellayer library so it can split from libuserlayer
This will hold the channel manangement interface and implementation, which can be used separately from the libuserlayer. Change-Id: I06e7310223445cbb095f1e9caebc0e391afb704d Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
-rw-r--r--Makefile.am1
-rw-r--r--user_channel/Makefile.am14
2 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ac8449e..9bf6d4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -102,6 +102,7 @@ TESTS = $(check_PROGRAMS)
libipmi20_la_LIBADD = \
libipmid/libipmid.la \
+ user_channel/libchannellayer.la \
user_channel/libuserlayer.la
libipmi20_la_LDFLAGS = \
$(SYSTEMD_LIBS) \
diff --git a/user_channel/Makefile.am b/user_channel/Makefile.am
index b9b6ad9..e57f4ad 100644
--- a/user_channel/Makefile.am
+++ b/user_channel/Makefile.am
@@ -10,7 +10,7 @@ COMMON_CXX = \
-DBOOST_SYSTEM_NO_DEPRECATED \
-DBOOST_ALL_NO_LIB
-lib_LTLIBRARIES = libuserlayer.la
+lib_LTLIBRARIES = libuserlayer.la libchannellayer.la
libuserlayer_la_SOURCES = \
user_layer.cpp \
user_mgmt.cpp \
@@ -28,3 +28,15 @@ libuserlayer_la_LDFLAGS = \
libuserlayer_la_CXXFLAGS = \
-I$(top_srcdir) \
$(COMMON_CXX)
+
+libchannellayer_la_SOURCES =
+libchannellayer_la_LDFLAGS = \
+ $(SYSTEMD_LIBS) \
+ $(libmapper_LIBS) \
+ $(PHOSPHOR_LOGGING_LIBS) \
+ $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
+ -lstdc++fs \
+ -version-info 0:0:0 -shared
+libchannellayer_la_CXXFLAGS = \
+ -I$(top_srcdir) \
+ $(COMMON_CXX)
OpenPOWER on IntegriCloud