Patrick Venture | ab79414 | 2019-03-28 13:23:30 -0700 | [diff] [blame] | 1 | bin_PROGRAMS = kcsbridged |
Haiyue Wang | a1c5075 | 2018-04-03 15:16:09 +0800 | [diff] [blame] | 2 | |
Vernon Mauery | 9ce5a9a | 2019-03-12 13:59:25 -0700 | [diff] [blame] | 3 | kcsbridged_SOURCES = kcsbridged.cpp |
| 4 | kcsbridged_LDFLAGS = \ |
| 5 | $(SYSTEMD_LIBS) \ |
| 6 | $(PHOSPHOR_LOGGING_LIBS) |
| 7 | kcsbridged_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 Mauery | 7a925aa | 2019-04-18 13:13:47 -0700 | [diff] [blame] | 18 | |
| 19 | if HAVE_SYSTEMD |
| 20 | SYSTEMD_UNIT = phosphor-ipmi-kcs@.service |
| 21 | systemdsystemunit_DATA = $(SYSTEMD_UNIT) |
| 22 | endif # HAVE_SYSTEMD |