blob: 037640cf3e569e1c4be8e9f6666b77211cde3f0b [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 \
Christian Andersenc69def62016-12-20 13:51:52 +01007 sdbusplus/bus/match.hpp \
Patrick Williamsf4a6f412016-11-11 13:47:29 -06008 sdbusplus/exception.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -05009 sdbusplus/message.hpp \
10 sdbusplus/message/append.hpp \
Patrick Williams9db28642017-01-06 15:55:05 -060011 sdbusplus/message/native_types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050012 sdbusplus/message/read.hpp \
Brad Bishopcd977612016-11-09 21:23:45 -050013 sdbusplus/message/types.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050014 sdbusplus/server.hpp \
Christian Andersen3f565962016-11-18 16:35:20 +010015 sdbusplus/server/bindings.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050016 sdbusplus/server/interface.hpp \
17 sdbusplus/server/manager.hpp \
Patrick Williams5e0b6812016-11-04 16:45:33 -050018 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 Williams83a9d0b2016-11-04 17:06:13 -050023
Patrick Williams93b0e702017-04-18 11:19:45 -050024LIBSDBUSPLUS_FILES = \
25 sdbusplus/exception.cpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060026
27if WANT_TRANSACTION
William A. Kennington III27d18d72018-01-24 16:02:23 -080028nobase_include_HEADERS += \
29 sdbusplus/server/transaction.hpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060030LIBSDBUPLUS_FILES_TRANSACTION = \
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060031 sdbusplus/server/transaction.cpp
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060032endif
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060033
34libsdbusplusdir = ${libdir}
35libsdbusplus_LTLIBRARIES = libsdbusplus.la
Adriana Kobylakfd43ef72017-02-12 09:12:37 -060036libsdbusplus_la_SOURCES = \
37 $(LIBSDBUSPLUS_FILES) \
38 $(LIBSDBUPLUS_FILES_TRANSACTION)
Patrick Williams43b283a2017-05-01 14:15:54 -050039libsdbusplus_la_LIBADD = $(SYSTEMD_LIBS)
40libsdbusplus_la_LDFLAGS = -version-info 1:0:0 -shared
Adriana Kobylak1afb4e62017-01-31 11:10:01 -060041libsdbusplus_la_CXXFLAGS = $(SYSTEMD_CFLAGS)
42
Adriana Kobylaka1fb5e62017-01-30 11:41:19 -060043pkgconfiglibdir = ${libdir}/pkgconfig
44pkgconfiglib_DATA = sdbusplus.pc
45
Patrick Williams4edb7852017-07-03 11:50:11 -050046SUBDIRS = . tools example test
Patrick Williamsa41b3892017-07-18 22:20:19 -050047else
48SUBDIRS = . tools
49endif # WANT_LIBSDBUSPLUS