Brad Bishop | 14275cf | 2016-11-10 16:24:48 -0500 | [diff] [blame] | 1 | if WANT_LIBSDBUSPLUS |
| 2 | |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 3 | nobase_include_HEADERS = \ |
| 4 | mapbox/recursive_wrapper.hpp \ |
| 5 | mapbox/variant.hpp \ |
| 6 | sdbusplus/bus.hpp \ |
Christian Andersen | c69def6 | 2016-12-20 13:51:52 +0100 | [diff] [blame] | 7 | sdbusplus/bus/match.hpp \ |
Patrick Williams | f4a6f41 | 2016-11-11 13:47:29 -0600 | [diff] [blame] | 8 | sdbusplus/exception.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 9 | sdbusplus/message.hpp \ |
| 10 | sdbusplus/message/append.hpp \ |
Patrick Williams | 9db2864 | 2017-01-06 15:55:05 -0600 | [diff] [blame] | 11 | sdbusplus/message/native_types.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 12 | sdbusplus/message/read.hpp \ |
Brad Bishop | cd97761 | 2016-11-09 21:23:45 -0500 | [diff] [blame] | 13 | sdbusplus/message/types.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 14 | sdbusplus/server.hpp \ |
Christian Andersen | 3f56596 | 2016-11-18 16:35:20 +0100 | [diff] [blame] | 15 | sdbusplus/server/bindings.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 16 | sdbusplus/server/interface.hpp \ |
| 17 | sdbusplus/server/manager.hpp \ |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 18 | sdbusplus/server/object.hpp \ |
| 19 | sdbusplus/slot.hpp \ |
| 20 | sdbusplus/utility/tuple_to_array.hpp \ |
| 21 | sdbusplus/utility/type_traits.hpp \ |
| 22 | sdbusplus/vtable.hpp |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 23 | |
Patrick Williams | 93b0e70 | 2017-04-18 11:19:45 -0500 | [diff] [blame] | 24 | LIBSDBUSPLUS_FILES = \ |
| 25 | sdbusplus/exception.cpp |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 26 | |
| 27 | if WANT_TRANSACTION |
William A. Kennington III | 27d18d7 | 2018-01-24 16:02:23 -0800 | [diff] [blame] | 28 | nobase_include_HEADERS += \ |
| 29 | sdbusplus/server/transaction.hpp |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 30 | LIBSDBUPLUS_FILES_TRANSACTION = \ |
Adriana Kobylak | 1afb4e6 | 2017-01-31 11:10:01 -0600 | [diff] [blame] | 31 | sdbusplus/server/transaction.cpp |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 32 | endif |
Adriana Kobylak | 1afb4e6 | 2017-01-31 11:10:01 -0600 | [diff] [blame] | 33 | |
| 34 | libsdbusplusdir = ${libdir} |
| 35 | libsdbusplus_LTLIBRARIES = libsdbusplus.la |
Adriana Kobylak | fd43ef7 | 2017-02-12 09:12:37 -0600 | [diff] [blame] | 36 | libsdbusplus_la_SOURCES = \ |
| 37 | $(LIBSDBUSPLUS_FILES) \ |
| 38 | $(LIBSDBUPLUS_FILES_TRANSACTION) |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 39 | libsdbusplus_la_LIBADD = $(SYSTEMD_LIBS) |
| 40 | libsdbusplus_la_LDFLAGS = -version-info 1:0:0 -shared |
Adriana Kobylak | 1afb4e6 | 2017-01-31 11:10:01 -0600 | [diff] [blame] | 41 | libsdbusplus_la_CXXFLAGS = $(SYSTEMD_CFLAGS) |
| 42 | |
Adriana Kobylak | a1fb5e6 | 2017-01-30 11:41:19 -0600 | [diff] [blame] | 43 | pkgconfiglibdir = ${libdir}/pkgconfig |
| 44 | pkgconfiglib_DATA = sdbusplus.pc |
| 45 | |
Patrick Williams | 4edb785 | 2017-07-03 11:50:11 -0500 | [diff] [blame] | 46 | SUBDIRS = . tools example test |
Patrick Williams | a41b389 | 2017-07-18 22:20:19 -0500 | [diff] [blame] | 47 | else |
| 48 | SUBDIRS = . tools |
| 49 | endif # WANT_LIBSDBUSPLUS |