blob: 2579ada5b7d366280976dc3ae936e6137a0a876d [file] [log] [blame]
William A. Kennington IIIc65d74e2018-06-19 18:32:09 -07001ACLOCAL_AMFLAGS = -Im4
2
William A. Kennington IIIebdc3712019-03-15 13:42:44 -07003if AUTOCONF_CODE_COVERAGE_2019_01_06
4include $(top_srcdir)/aminclude_static.am
5clean-local: code-coverage-clean
6distclean-local: code-coverage-dist-clean
7else
8@CODE_COVERAGE_RULES@
9endif
10
Brad Bishop14275cf2016-11-10 16:24:48 -050011if WANT_LIBSDBUSPLUS
12
Patrick Williams5e0b6812016-11-04 16:45:33 -050013nobase_include_HEADERS = \
James Feist284a0f92018-04-05 15:28:16 -070014 sdbusplus/asio/connection.hpp \
James Feistfce038a2018-04-13 15:43:13 -070015 sdbusplus/asio/object_server.hpp \
James Feist284a0f92018-04-05 15:28:16 -070016 sdbusplus/asio/detail/async_send_handler.hpp \
Vernon Mauery035c73b2018-09-05 12:15:27 -070017 sdbusplus/asio/sd_event.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050018 sdbusplus/bus.hpp \
Christian Andersenc69def62016-12-20 13:51:52 +010019 sdbusplus/bus/match.hpp \
Patrick Venturedba73d72018-04-12 14:14:42 -070020 sdbusplus/sdbus.hpp \
21 sdbusplus/test/sdbus_mock.hpp \
Patrick Williamsf4a6f412016-11-11 13:47:29 -060022 sdbusplus/exception.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050023 sdbusplus/message.hpp \
24 sdbusplus/message/append.hpp \
Patrick Williams9db28642017-01-06 15:55:05 -060025 sdbusplus/message/native_types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050026 sdbusplus/message/read.hpp \
Brad Bishopcd977612016-11-09 21:23:45 -050027 sdbusplus/message/types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050028 sdbusplus/server.hpp \
Christian Andersen3f565962016-11-18 16:35:20 +010029 sdbusplus/server/bindings.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050030 sdbusplus/server/interface.hpp \
31 sdbusplus/server/manager.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050032 sdbusplus/server/object.hpp \
Patrick Williams68052842020-05-15 11:29:10 -050033 sdbusplus/server/transaction.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050034 sdbusplus/slot.hpp \
Vernon Mauery12a4aec2018-09-05 13:43:19 -070035 sdbusplus/timer.hpp \
Ed Tanous28dc36d2018-02-21 12:22:54 -080036 sdbusplus/utility/container_traits.hpp \
James Feist284a0f92018-04-05 15:28:16 -070037 sdbusplus/utility/read_into_tuple.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050038 sdbusplus/utility/tuple_to_array.hpp \
39 sdbusplus/utility/type_traits.hpp \
40 sdbusplus/vtable.hpp
Patrick Williams83a9d0b2016-11-04 17:06:13 -050041
Patrick Williams93b0e702017-04-18 11:19:45 -050042LIBSDBUSPLUS_FILES = \
Patrick Venturedba73d72018-04-12 14:14:42 -070043 sdbusplus/exception.cpp \
Patrick Williams68052842020-05-15 11:29:10 -050044 sdbusplus/sdbus.cpp \
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060045 sdbusplus/server/transaction.cpp
46
47libsdbusplusdir = ${libdir}
48libsdbusplus_LTLIBRARIES = libsdbusplus.la
Patrick Williams68052842020-05-15 11:29:10 -050049libsdbusplus_la_SOURCES = $(LIBSDBUSPLUS_FILES)
William A. Kennington III592128c2018-06-19 18:34:17 -070050libsdbusplus_la_LIBADD = $(SYSTEMD_LIBS) $(CODE_COVERAGE_LIBS)
Patrick Williams43b283a2017-05-01 14:15:54 -050051libsdbusplus_la_LDFLAGS = -version-info 1:0:0 -shared
William A. Kennington III592128c2018-06-19 18:34:17 -070052libsdbusplus_la_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS)
53libsdbusplus_la_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) $(SYSTEMD_CFLAGS)
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060054
Adriana Kobylaka1fb5e62017-01-30 11:41:19 -060055pkgconfiglibdir = ${libdir}/pkgconfig
56pkgconfiglib_DATA = sdbusplus.pc
57
Patrick Williams4edb7852017-07-03 11:50:11 -050058SUBDIRS = . tools example test
Patrick Williamsa41b3892017-07-18 22:20:19 -050059else
60SUBDIRS = . tools
61endif # WANT_LIBSDBUSPLUS