blob: 9373ea2818547030b42c69a221d446639daa6007 [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 \
16 $(HANDLERS)
Patrick Ventureef3aead2018-09-12 08:53:29 -070017
18libblobcmds_la_LDFLAGS = $(SYSTEMD_LIBS) \
19 -version-info 0:0:0 -shared
20
21libblobcmds_la_CXXFLAGS = $(SYSTEMD_CFLAGS)
22
Patrick Ventureaceb4ba2018-09-27 14:50:37 -070023nobase_include_HEADERS = \
24 blobs-ipmid/blobs.hpp \
25 blobs-ipmid/manager.hpp
26
Patrick Ventureef3aead2018-09-12 08:53:29 -070027SUBDIRS = . test