Vernon Mauery | cbccb05 | 2018-10-24 13:52:22 -0700 | [diff] [blame] | 1 | BOOST_CXX = \ |
| 2 | -DBOOST_ERROR_CODE_HEADER_ONLY \ |
| 3 | -DBOOST_SYSTEM_NO_DEPRECATED \ |
| 4 | -DBOOST_COROUTINES_NO_DEPRECATION_WARNING \ |
| 5 | -DBOOST_ASIO_DISABLE_THREADS \ |
| 6 | -DBOOST_ALL_NO_LIB |
| 7 | |
Patrick Venture | 17c17cc | 2019-03-28 10:58:54 -0700 | [diff] [blame] | 8 | bin_PROGRAMS = \ |
Tom Joseph | c35524e | 2016-08-29 08:17:59 -0500 | [diff] [blame] | 9 | netipmid |
| 10 | |
| 11 | netipmid_SOURCES = \ |
| 12 | endian.hpp \ |
| 13 | socket_channel.hpp \ |
Tom Joseph | c35524e | 2016-08-29 08:17:59 -0500 | [diff] [blame] | 14 | message.hpp \ |
| 15 | auth_algo.hpp \ |
| 16 | auth_algo.cpp \ |
| 17 | session.hpp \ |
Tom Joseph | c35524e | 2016-08-29 08:17:59 -0500 | [diff] [blame] | 18 | sessions_manager.hpp \ |
| 19 | sessions_manager.cpp \ |
| 20 | message_parsers.hpp \ |
| 21 | message_parsers.cpp \ |
| 22 | message_handler.hpp \ |
| 23 | message_handler.cpp \ |
| 24 | command_table.hpp \ |
| 25 | command_table.cpp \ |
| 26 | command/channel_auth.hpp \ |
| 27 | command/channel_auth.cpp \ |
| 28 | command/guid.hpp \ |
| 29 | command/guid.cpp \ |
| 30 | command/open_session.hpp \ |
| 31 | command/open_session.cpp \ |
| 32 | command/rakp12.hpp \ |
| 33 | command/rakp12.cpp \ |
| 34 | command/rakp34.hpp \ |
| 35 | command/rakp34.cpp \ |
| 36 | command/session_cmds.hpp \ |
| 37 | command/session_cmds.cpp \ |
| 38 | comm_module.hpp \ |
| 39 | comm_module.cpp \ |
| 40 | main.hpp \ |
Tom Joseph | 77531db | 2017-01-10 15:44:44 +0530 | [diff] [blame] | 41 | main.cpp \ |
| 42 | integrity_algo.hpp \ |
Tom | 485038e | 2016-12-02 13:44:45 +0530 | [diff] [blame] | 43 | integrity_algo.cpp \ |
Tom Joseph | d08b523 | 2017-01-24 18:15:39 +0530 | [diff] [blame] | 44 | crypt_algo.hpp \ |
Tom Joseph | 2be58bc | 2017-02-09 19:54:12 +0530 | [diff] [blame] | 45 | crypt_algo.cpp \ |
Tom Joseph | 807c7e8 | 2017-02-09 19:49:38 +0530 | [diff] [blame] | 46 | sol/console_buffer.hpp \ |
Tom Joseph | 86d17b4 | 2017-02-15 14:45:01 +0530 | [diff] [blame] | 47 | sd_event_loop.hpp \ |
Tom Joseph | 5a454a2 | 2017-02-15 14:51:42 +0530 | [diff] [blame] | 48 | sol/sol_context.hpp \ |
Tom Joseph | 7fd26dd | 2017-03-14 15:26:26 +0530 | [diff] [blame] | 49 | sol/sol_manager.hpp \ |
Tom Joseph | 22c5ad3 | 2017-03-14 18:04:22 +0530 | [diff] [blame] | 50 | sd_event_loop.cpp \ |
Tom Joseph | fbcac2e | 2017-03-14 18:15:07 +0530 | [diff] [blame] | 51 | sol/sol_manager.cpp \ |
Tom Joseph | 64b3dec | 2017-04-03 01:53:44 +0530 | [diff] [blame] | 52 | sol/sol_context.cpp \ |
| 53 | command/sol_cmds.hpp \ |
Tom Joseph | 5c846a8 | 2017-04-03 01:59:39 +0530 | [diff] [blame] | 54 | command/sol_cmds.cpp \ |
| 55 | command/payload_cmds.hpp \ |
Tom Joseph | e088bf0 | 2017-04-03 02:07:06 +0530 | [diff] [blame] | 56 | command/payload_cmds.cpp \ |
| 57 | sol_module.hpp \ |
Vernon Mauery | 3819c1e | 2019-08-29 16:16:59 -0700 | [diff] [blame] | 58 | sol_module.cpp |
Tom Joseph | c35524e | 2016-08-29 08:17:59 -0500 | [diff] [blame] | 59 | |
Tom | 485038e | 2016-12-02 13:44:45 +0530 | [diff] [blame] | 60 | netipmid_CPPFLAGS = -DNET_IPMID_LIB_PATH=\"/usr/lib/net-ipmid/\" |
Tom Joseph | 19b4f40 | 2017-08-02 17:59:30 +0530 | [diff] [blame] | 61 | |
| 62 | |
| 63 | netipmid_LDFLAGS = \ |
| 64 | $(SYSTEMD_LIBS) \ |
| 65 | $(CRYPTO_LIBS) \ |
| 66 | $(libmapper_LIBS) \ |
| 67 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 68 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
William A. Kennington III | 4f09eae | 2019-02-12 17:10:35 -0800 | [diff] [blame] | 69 | $(LIBIPMID_LIBS) \ |
Vernon Mauery | b0a81f6 | 2019-12-04 13:43:11 -0800 | [diff] [blame^] | 70 | -lboost_coroutine \ |
Vernon Mauery | db9f8e7 | 2018-12-21 11:25:33 -0800 | [diff] [blame] | 71 | -lchannellayer \ |
Vernon Mauery | 6650164 | 2018-07-30 09:07:10 -0700 | [diff] [blame] | 72 | -luserlayer |
Tom Joseph | 19b4f40 | 2017-08-02 17:59:30 +0530 | [diff] [blame] | 73 | |
| 74 | netipmid_CXXFLAGS = \ |
Vernon Mauery | 36baa14 | 2018-10-24 13:54:20 -0700 | [diff] [blame] | 75 | -flto \ |
Tom Joseph | 19b4f40 | 2017-08-02 17:59:30 +0530 | [diff] [blame] | 76 | $(SYSTEMD_CFLAGS) \ |
Vernon Mauery | cbccb05 | 2018-10-24 13:52:22 -0700 | [diff] [blame] | 77 | $(BOOST_CXX) \ |
Tom Joseph | 19b4f40 | 2017-08-02 17:59:30 +0530 | [diff] [blame] | 78 | $(libmapper_CFLAGS) \ |
| 79 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
William A. Kennington III | 4f09eae | 2019-02-12 17:10:35 -0800 | [diff] [blame] | 80 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 81 | $(LIBIPMID_CFLAGS) |
Tom Joseph | c35524e | 2016-08-29 08:17:59 -0500 | [diff] [blame] | 82 | |
Vernon Mauery | d92bc32 | 2019-03-15 15:24:30 -0700 | [diff] [blame] | 83 | if HAVE_SYSTEMD |
| 84 | SYSTEMD_UNIT = phosphor-ipmi-net@.service |
| 85 | SYSTEMD_SOCKET = phosphor-ipmi-net@.socket |
| 86 | systemdsystemunit_DATA = $(SYSTEMD_UNIT) $(SYSTEMD_SOCKET) |
| 87 | endif # HAVE_SYSTEMD |
| 88 | |
Tom Joseph | 1e5a76a | 2017-01-30 19:25:06 +0530 | [diff] [blame] | 89 | SUBDIRS = test |
| 90 | |