Store transaction id in thread local storage
Implement the transaction id variable in a .C file and
create an sdbusplus library with it.
Create interfaces to set/get the transaction id.
Change-Id: Id1df415d9cc05e4b96817c7a05c1be7052d05c65
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 377c62d..cf70efe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,5 +22,14 @@
sdbusplus/utility/type_traits.hpp \
sdbusplus/vtable.hpp
+LIBSDBUSPLUS_FILES = \
+ sdbusplus/server/transaction.cpp
+
+libsdbusplusdir = ${libdir}
+libsdbusplus_LTLIBRARIES = libsdbusplus.la
+libsdbusplus_la_SOURCES = $(LIBSDBUSPLUS_FILES)
+libsdbusplus_la_LDFLAGS = $(SYSTEMD_LIBS) -version-info 1:0:0 -shared
+libsdbusplus_la_CXXFLAGS = $(SYSTEMD_CFLAGS)
+
endif
SUBDIRS = test tools