blob: 4bed320c7b7a9a5ecf0e78fe9bea7525d05d0019 [file] [log] [blame]
Brad Bishop14275cf2016-11-10 16:24:48 -05001if WANT_LIBSDBUSPLUS
2
Patrick Williams5e0b6812016-11-04 16:45:33 -05003nobase_include_HEADERS = \
4 mapbox/recursive_wrapper.hpp \
5 mapbox/variant.hpp \
6 sdbusplus/bus.hpp \
Patrick Williamsf4a6f412016-11-11 13:47:29 -06007 sdbusplus/exception.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -05008 sdbusplus/message.hpp \
9 sdbusplus/message/append.hpp \
Patrick Williams9db28642017-01-06 15:55:05 -060010 sdbusplus/message/native_types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050011 sdbusplus/message/read.hpp \
Brad Bishopcd977612016-11-09 21:23:45 -050012 sdbusplus/message/types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050013 sdbusplus/server.hpp \
Christian Andersen3f565962016-11-18 16:35:20 +010014 sdbusplus/server/bindings.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050015 sdbusplus/server/interface.hpp \
16 sdbusplus/server/manager.hpp \
17 sdbusplus/server/match.hpp \
18 sdbusplus/server/object.hpp \
Adriana Kobylak5e293ec2017-01-04 12:42:52 -060019 sdbusplus/server/transaction.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050020 sdbusplus/slot.hpp \
21 sdbusplus/utility/tuple_to_array.hpp \
22 sdbusplus/utility/type_traits.hpp \
23 sdbusplus/vtable.hpp
Patrick Williams83a9d0b2016-11-04 17:06:13 -050024
Patrick Williams93b0e702017-04-18 11:19:45 -050025LIBSDBUSPLUS_FILES = \
26 sdbusplus/exception.cpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060027
28if WANT_TRANSACTION
29LIBSDBUPLUS_FILES_TRANSACTION = \
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060030 sdbusplus/server/transaction.cpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060031endif
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060032
33libsdbusplusdir = ${libdir}
34libsdbusplus_LTLIBRARIES = libsdbusplus.la
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060035libsdbusplus_la_SOURCES = \
36 $(LIBSDBUSPLUS_FILES) \
37 $(LIBSDBUPLUS_FILES_TRANSACTION)
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060038libsdbusplus_la_LDFLAGS = $(SYSTEMD_LIBS) -version-info 1:0:0 -shared
39libsdbusplus_la_CXXFLAGS = $(SYSTEMD_CFLAGS)
40
Adriana Kobylaka1fb5e62017-01-30 11:41:19 -060041pkgconfiglibdir = ${libdir}/pkgconfig
42pkgconfiglib_DATA = sdbusplus.pc
43
Brad Bishop14275cf2016-11-10 16:24:48 -050044endif
Brad Bishopbba7f8c2016-11-10 09:32:58 -050045SUBDIRS = test tools