William A. Kennington III | c65d74e | 2018-06-19 18:32:09 -0700 | [diff] [blame] | 1 | ACLOCAL_AMFLAGS = -Im4 |
| 2 | |
William A. Kennington III | ebdc371 | 2019-03-15 13:42:44 -0700 | [diff] [blame] | 3 | if AUTOCONF_CODE_COVERAGE_2019_01_06 |
| 4 | include $(top_srcdir)/aminclude_static.am |
| 5 | clean-local: code-coverage-clean |
| 6 | distclean-local: code-coverage-dist-clean |
| 7 | else |
| 8 | @CODE_COVERAGE_RULES@ |
| 9 | endif |
| 10 | |
Brad Bishop | 14275cf | 2016-11-10 16:24:48 -0500 | [diff] [blame] | 11 | if WANT_LIBSDBUSPLUS |
| 12 | |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 13 | nobase_include_HEADERS = \ |
James Feist | 284a0f9 | 2018-04-05 15:28:16 -0700 | [diff] [blame] | 14 | sdbusplus/asio/connection.hpp \ |
James Feist | fce038a | 2018-04-13 15:43:13 -0700 | [diff] [blame] | 15 | sdbusplus/asio/object_server.hpp \ |
James Feist | 284a0f9 | 2018-04-05 15:28:16 -0700 | [diff] [blame] | 16 | sdbusplus/asio/detail/async_send_handler.hpp \ |
Vernon Mauery | 035c73b | 2018-09-05 12:15:27 -0700 | [diff] [blame] | 17 | sdbusplus/asio/sd_event.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 18 | sdbusplus/bus.hpp \ |
Christian Andersen | c69def6 | 2016-12-20 13:51:52 +0100 | [diff] [blame] | 19 | sdbusplus/bus/match.hpp \ |
Patrick Venture | dba73d7 | 2018-04-12 14:14:42 -0700 | [diff] [blame] | 20 | sdbusplus/sdbus.hpp \ |
| 21 | sdbusplus/test/sdbus_mock.hpp \ |
Patrick Williams | f4a6f41 | 2016-11-11 13:47:29 -0600 | [diff] [blame] | 22 | sdbusplus/exception.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 23 | sdbusplus/message.hpp \ |
| 24 | sdbusplus/message/append.hpp \ |
Patrick Williams | 9db2864 | 2017-01-06 15:55:05 -0600 | [diff] [blame] | 25 | sdbusplus/message/native_types.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 26 | sdbusplus/message/read.hpp \ |
Brad Bishop | cd97761 | 2016-11-09 21:23:45 -0500 | [diff] [blame] | 27 | sdbusplus/message/types.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 28 | sdbusplus/server.hpp \ |
Christian Andersen | 3f56596 | 2016-11-18 16:35:20 +0100 | [diff] [blame] | 29 | sdbusplus/server/bindings.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 30 | sdbusplus/server/interface.hpp \ |
| 31 | sdbusplus/server/manager.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 32 | sdbusplus/server/object.hpp \ |
| 33 | sdbusplus/slot.hpp \ |
Vernon Mauery | 12a4aec | 2018-09-05 13:43:19 -0700 | [diff] [blame] | 34 | sdbusplus/timer.hpp \ |
Ed Tanous | 28dc36d | 2018-02-21 12:22:54 -0800 | [diff] [blame] | 35 | sdbusplus/utility/container_traits.hpp \ |
James Feist | 284a0f9 | 2018-04-05 15:28:16 -0700 | [diff] [blame] | 36 | sdbusplus/utility/read_into_tuple.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 37 | sdbusplus/utility/tuple_to_array.hpp \ |
| 38 | sdbusplus/utility/type_traits.hpp \ |
| 39 | sdbusplus/vtable.hpp |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 40 | |
Patrick Williams | 93b0e70 | 2017-04-18 11:19:45 -0500 | [diff] [blame] | 41 | LIBSDBUSPLUS_FILES = \ |
Patrick Venture | dba73d7 | 2018-04-12 14:14:42 -0700 | [diff] [blame] | 42 | sdbusplus/exception.cpp \ |
| 43 | sdbusplus/sdbus.cpp |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 44 | |
| 45 | if WANT_TRANSACTION |
William A. Kennington III | 27d18d7 | 2018-01-24 16:02:23 -0800 | [diff] [blame] | 46 | nobase_include_HEADERS += \ |
| 47 | sdbusplus/server/transaction.hpp |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 48 | LIBSDBUPLUS_FILES_TRANSACTION = \ |
Adriana Kobylak | 1afb4e6 | 2017-01-31 11:10:01 -0600 | [diff] [blame] | 49 | sdbusplus/server/transaction.cpp |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 50 | endif |
Adriana Kobylak | 1afb4e6 | 2017-01-31 11:10:01 -0600 | [diff] [blame] | 51 | |
| 52 | libsdbusplusdir = ${libdir} |
| 53 | libsdbusplus_LTLIBRARIES = libsdbusplus.la |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 54 | libsdbusplus_la_SOURCES = \ |
| 55 | $(LIBSDBUSPLUS_FILES) \ |
| 56 | $(LIBSDBUPLUS_FILES_TRANSACTION) |
William A. Kennington III | 592128c | 2018-06-19 18:34:17 -0700 | [diff] [blame] | 57 | libsdbusplus_la_LIBADD = $(SYSTEMD_LIBS) $(CODE_COVERAGE_LIBS) |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 58 | libsdbusplus_la_LDFLAGS = -version-info 1:0:0 -shared |
William A. Kennington III | 592128c | 2018-06-19 18:34:17 -0700 | [diff] [blame] | 59 | libsdbusplus_la_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) |
| 60 | libsdbusplus_la_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) $(SYSTEMD_CFLAGS) |
Adriana Kobylak | 1afb4e6 | 2017-01-31 11:10:01 -0600 | [diff] [blame] | 61 | |
Adriana Kobylak | a1fb5e6 | 2017-01-30 11:41:19 -0600 | [diff] [blame] | 62 | pkgconfiglibdir = ${libdir}/pkgconfig |
| 63 | pkgconfiglib_DATA = sdbusplus.pc |
| 64 | |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 65 | SUBDIRS = . tools example test |
Patrick Williams | a41b389 | 2017-07-18 22:20:19 -0500 | [diff] [blame] | 66 | else |
| 67 | SUBDIRS = . tools |
| 68 | endif # WANT_LIBSDBUSPLUS |