blob: 7d161b3b9fe16ee983a93cfe0199d62e586e47ec [file] [log] [blame]
Vernon Mauerycbccb052018-10-24 13:52:22 -07001BOOST_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 Venture17c17cc2019-03-28 10:58:54 -07008bin_PROGRAMS = \
Tom Josephc35524e2016-08-29 08:17:59 -05009 netipmid
10
11netipmid_SOURCES = \
12 endian.hpp \
13 socket_channel.hpp \
Tom Josephc35524e2016-08-29 08:17:59 -050014 message.hpp \
15 auth_algo.hpp \
16 auth_algo.cpp \
17 session.hpp \
Tom Josephc35524e2016-08-29 08:17:59 -050018 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 Joseph77531db2017-01-10 15:44:44 +053041 main.cpp \
42 integrity_algo.hpp \
Tom485038e2016-12-02 13:44:45 +053043 integrity_algo.cpp \
Tom Josephd08b5232017-01-24 18:15:39 +053044 crypt_algo.hpp \
Tom Joseph2be58bc2017-02-09 19:54:12 +053045 crypt_algo.cpp \
Tom Joseph807c7e82017-02-09 19:49:38 +053046 sol/console_buffer.hpp \
Tom Joseph86d17b42017-02-15 14:45:01 +053047 sd_event_loop.hpp \
Tom Joseph5a454a22017-02-15 14:51:42 +053048 sol/sol_context.hpp \
Tom Joseph7fd26dd2017-03-14 15:26:26 +053049 sol/sol_manager.hpp \
Tom Joseph22c5ad32017-03-14 18:04:22 +053050 sd_event_loop.cpp \
Tom Josephfbcac2e2017-03-14 18:15:07 +053051 sol/sol_manager.cpp \
Tom Joseph64b3dec2017-04-03 01:53:44 +053052 sol/sol_context.cpp \
53 command/sol_cmds.hpp \
Tom Joseph5c846a82017-04-03 01:59:39 +053054 command/sol_cmds.cpp \
55 command/payload_cmds.hpp \
Tom Josephe088bf02017-04-03 02:07:06 +053056 command/payload_cmds.cpp \
57 sol_module.hpp \
Tom Joseph19b4f402017-08-02 17:59:30 +053058 sol_module.cpp \
59 settings.hpp \
Vernon Maueryb1088062018-10-24 12:49:30 -070060 settings.cpp
Tom Josephc35524e2016-08-29 08:17:59 -050061
Tom485038e2016-12-02 13:44:45 +053062netipmid_CPPFLAGS = -DNET_IPMID_LIB_PATH=\"/usr/lib/net-ipmid/\"
Tom Joseph19b4f402017-08-02 17:59:30 +053063
64
65netipmid_LDFLAGS = \
66 $(SYSTEMD_LIBS) \
67 $(CRYPTO_LIBS) \
68 $(libmapper_LIBS) \
69 $(PHOSPHOR_LOGGING_LIBS) \
70 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
William A. Kennington III4f09eae2019-02-12 17:10:35 -080071 $(LIBIPMID_LIBS) \
Vernon Mauerydb9f8e72018-12-21 11:25:33 -080072 -lchannellayer \
Vernon Mauery66501642018-07-30 09:07:10 -070073 -luserlayer
Tom Joseph19b4f402017-08-02 17:59:30 +053074
75netipmid_CXXFLAGS = \
Vernon Mauery36baa142018-10-24 13:54:20 -070076 -flto \
Tom Joseph19b4f402017-08-02 17:59:30 +053077 $(SYSTEMD_CFLAGS) \
Vernon Mauerycbccb052018-10-24 13:52:22 -070078 $(BOOST_CXX) \
Tom Joseph19b4f402017-08-02 17:59:30 +053079 $(libmapper_CFLAGS) \
80 $(PHOSPHOR_LOGGING_CFLAGS) \
William A. Kennington III4f09eae2019-02-12 17:10:35 -080081 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
82 $(LIBIPMID_CFLAGS)
Tom Josephc35524e2016-08-29 08:17:59 -050083
Tom Joseph1e5a76a2017-01-30 19:25:06 +053084SUBDIRS = test
85