blob: 7e049af286837074d75d83bca82d53ca169b9716 [file] [log] [blame]
Patrick Ventureab794142019-03-28 13:23:30 -07001bin_PROGRAMS = kcsbridged
Haiyue Wanga1c50752018-04-03 15:16:09 +08002
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -07003kcsbridged_SOURCES = kcsbridged.cpp
4kcsbridged_LDFLAGS = \
5 $(SYSTEMD_LIBS) \
6 $(PHOSPHOR_LOGGING_LIBS)
7kcsbridged_CXXFLAGS = \
8 -flto \
9 -Wno-psabi \
10 $(SYSTEMD_CFLAGS) \
11 $(SDBUSPLUS_CFLAGS) \
12 $(PHOSPHOR_LOGGING_CFLAGS) \
13 -DBOOST_ERROR_CODE_HEADER_ONLY \
14 -DBOOST_SYSTEM_NO_DEPRECATED \
15 -DBOOST_COROUTINES_NO_DEPRECATION_WARNING \
16 -DBOOST_ASIO_DISABLE_THREADS \
17 -DBOOST_ALL_NO_LIB
Vernon Mauery7a925aa2019-04-18 13:13:47 -070018
19if HAVE_SYSTEMD
20SYSTEMD_UNIT = phosphor-ipmi-kcs@.service
21systemdsystemunit_DATA = $(SYSTEMD_UNIT)
22endif # HAVE_SYSTEMD