blob: 32fe3ec640ec255dd36952a0c87159e180620325 [file] [log] [blame]
William A. Kennington IIIc65d74e2018-06-19 18:32:09 -07001ACLOCAL_AMFLAGS = -Im4
2
Brad Bishop14275cf2016-11-10 16:24:48 -05003if WANT_LIBSDBUSPLUS
4
Patrick Williams5e0b6812016-11-04 16:45:33 -05005nobase_include_HEADERS = \
6 mapbox/recursive_wrapper.hpp \
7 mapbox/variant.hpp \
James Feist284a0f92018-04-05 15:28:16 -07008 sdbusplus/asio/connection.hpp \
James Feistfce038a2018-04-13 15:43:13 -07009 sdbusplus/asio/object_server.hpp \
James Feist284a0f92018-04-05 15:28:16 -070010 sdbusplus/asio/detail/async_send_handler.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050011 sdbusplus/bus.hpp \
Christian Andersenc69def62016-12-20 13:51:52 +010012 sdbusplus/bus/match.hpp \
Patrick Venturedba73d72018-04-12 14:14:42 -070013 sdbusplus/sdbus.hpp \
14 sdbusplus/test/sdbus_mock.hpp \
Patrick Williamsf4a6f412016-11-11 13:47:29 -060015 sdbusplus/exception.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050016 sdbusplus/message.hpp \
17 sdbusplus/message/append.hpp \
Patrick Williams9db28642017-01-06 15:55:05 -060018 sdbusplus/message/native_types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050019 sdbusplus/message/read.hpp \
Brad Bishopcd977612016-11-09 21:23:45 -050020 sdbusplus/message/types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050021 sdbusplus/server.hpp \
Christian Andersen3f565962016-11-18 16:35:20 +010022 sdbusplus/server/bindings.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050023 sdbusplus/server/interface.hpp \
24 sdbusplus/server/manager.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050025 sdbusplus/server/object.hpp \
26 sdbusplus/slot.hpp \
Ed Tanous28dc36d2018-02-21 12:22:54 -080027 sdbusplus/utility/container_traits.hpp \
James Feist284a0f92018-04-05 15:28:16 -070028 sdbusplus/utility/read_into_tuple.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050029 sdbusplus/utility/tuple_to_array.hpp \
30 sdbusplus/utility/type_traits.hpp \
31 sdbusplus/vtable.hpp
Patrick Williams83a9d0b2016-11-04 17:06:13 -050032
Patrick Williams93b0e702017-04-18 11:19:45 -050033LIBSDBUSPLUS_FILES = \
Patrick Venturedba73d72018-04-12 14:14:42 -070034 sdbusplus/exception.cpp \
35 sdbusplus/sdbus.cpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060036
37if WANT_TRANSACTION
William A. Kennington III27d18d72018-01-24 16:02:23 -080038nobase_include_HEADERS += \
39 sdbusplus/server/transaction.hpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060040LIBSDBUPLUS_FILES_TRANSACTION = \
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060041 sdbusplus/server/transaction.cpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060042endif
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060043
44libsdbusplusdir = ${libdir}
45libsdbusplus_LTLIBRARIES = libsdbusplus.la
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060046libsdbusplus_la_SOURCES = \
47 $(LIBSDBUSPLUS_FILES) \
48 $(LIBSDBUPLUS_FILES_TRANSACTION)
William A. Kennington III592128c2018-06-19 18:34:17 -070049libsdbusplus_la_LIBADD = $(SYSTEMD_LIBS) $(CODE_COVERAGE_LIBS)
Patrick Williams43b283a2017-05-01 14:15:54 -050050libsdbusplus_la_LDFLAGS = -version-info 1:0:0 -shared
William A. Kennington III592128c2018-06-19 18:34:17 -070051libsdbusplus_la_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS)
52libsdbusplus_la_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) $(SYSTEMD_CFLAGS)
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060053
Adriana Kobylaka1fb5e62017-01-30 11:41:19 -060054pkgconfiglibdir = ${libdir}/pkgconfig
55pkgconfiglib_DATA = sdbusplus.pc
56
Patrick Williams4edb7852017-07-03 11:50:11 -050057SUBDIRS = . tools example test
Patrick Williamsa41b3892017-07-18 22:20:19 -050058else
59SUBDIRS = . tools
60endif # WANT_LIBSDBUSPLUS