blob: 9027e47a7a4bba54776edebffc1b9fba746083aa [file] [log] [blame]
Patrick Ventureef3aead2018-09-12 08:53:29 -07001AM_DEFAULT_SOURCE_EXT = .cpp
2
Patrick Venturec0f499b2018-09-14 17:57:42 -07003HANDLERS =
4
5if ENABLE_EXAMPLE
6HANDLERS += example/example.cpp
7endif
8
Patrick Ventureef3aead2018-09-12 08:53:29 -07009libblobcmdsdir = ${libdir}/ipmid-providers
10libblobcmds_LTLIBRARIES = libblobcmds.la
11libblobcmds_la_SOURCES = main.cpp \
12 ipmi.cpp \
13 manager.cpp \
14 process.cpp \
Patrick Venturec0f499b2018-09-14 17:57:42 -070015 crc.cpp \
Patrick Venture4dc584d2018-09-27 15:00:46 -070016 utils.cpp \
Patrick Venturec0f499b2018-09-14 17:57:42 -070017 $(HANDLERS)
Patrick Ventureef3aead2018-09-12 08:53:29 -070018
19libblobcmds_la_LDFLAGS = $(SYSTEMD_LIBS) \
Patrick Venture4dc584d2018-09-27 15:00:46 -070020 $(LIBADD_DLOPEN) \
21 $(PHOSPHOR_LOGGING_LIBS) \
22 -lstdc++fs \
Patrick Ventureef3aead2018-09-12 08:53:29 -070023 -version-info 0:0:0 -shared
24
Patrick Venture4dc584d2018-09-27 15:00:46 -070025libblobcmds_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \
26 $(PHOSPHOR_LOGGING_CFLAGS)
Patrick Ventureef3aead2018-09-12 08:53:29 -070027
Patrick Ventureaceb4ba2018-09-27 14:50:37 -070028nobase_include_HEADERS = \
29 blobs-ipmid/blobs.hpp \
30 blobs-ipmid/manager.hpp
31
Patrick Ventureef3aead2018-09-12 08:53:29 -070032SUBDIRS = . test