blob: d27ee118583568143df98b7da763465eb04e7fba [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
Tom Josephc35524e2016-08-29 08:17:59 -05008sbin_PROGRAMS = \
9 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 \
44 provider_registration.hpp \
Tom Josephd08b5232017-01-24 18:15:39 +053045 provider_registration.cpp \
46 crypt_algo.hpp \
Tom Joseph2be58bc2017-02-09 19:54:12 +053047 crypt_algo.cpp \
Tom Joseph807c7e82017-02-09 19:49:38 +053048 sol/console_buffer.hpp \
Tom Joseph86d17b42017-02-15 14:45:01 +053049 sd_event_loop.hpp \
Tom Joseph5a454a22017-02-15 14:51:42 +053050 sol/sol_context.hpp \
Tom Joseph7fd26dd2017-03-14 15:26:26 +053051 sol/sol_manager.hpp \
Tom Joseph22c5ad32017-03-14 18:04:22 +053052 sd_event_loop.cpp \
Tom Josephfbcac2e2017-03-14 18:15:07 +053053 sol/sol_manager.cpp \
Tom Joseph64b3dec2017-04-03 01:53:44 +053054 sol/sol_context.cpp \
55 command/sol_cmds.hpp \
Tom Joseph5c846a82017-04-03 01:59:39 +053056 command/sol_cmds.cpp \
57 command/payload_cmds.hpp \
Tom Josephe088bf02017-04-03 02:07:06 +053058 command/payload_cmds.cpp \
59 sol_module.hpp \
Tom Joseph19b4f402017-08-02 17:59:30 +053060 sol_module.cpp \
61 settings.hpp \
Vernon Maueryb1088062018-10-24 12:49:30 -070062 settings.cpp
Tom Josephc35524e2016-08-29 08:17:59 -050063
Tom485038e2016-12-02 13:44:45 +053064netipmid_CPPFLAGS = -DNET_IPMID_LIB_PATH=\"/usr/lib/net-ipmid/\"
Tom Joseph19b4f402017-08-02 17:59:30 +053065
66
67netipmid_LDFLAGS = \
68 $(SYSTEMD_LIBS) \
69 $(CRYPTO_LIBS) \
70 $(libmapper_LIBS) \
71 $(PHOSPHOR_LOGGING_LIBS) \
72 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
73 $(LIBADD_DLOPEN) \
Vernon Mauerydb9f8e72018-12-21 11:25:33 -080074 -lchannellayer \
Richard Marian Thomaiyar127748a2018-09-06 07:08:51 +053075 -luserlayer \
Tom Joseph19b4f402017-08-02 17:59:30 +053076 -export-dynamic
77
78netipmid_CXXFLAGS = \
Vernon Mauery36baa142018-10-24 13:54:20 -070079 -flto \
Tom Joseph19b4f402017-08-02 17:59:30 +053080 $(SYSTEMD_CFLAGS) \
Vernon Mauerycbccb052018-10-24 13:52:22 -070081 $(BOOST_CXX) \
Tom Joseph19b4f402017-08-02 17:59:30 +053082 $(libmapper_CFLAGS) \
83 $(PHOSPHOR_LOGGING_CFLAGS) \
84 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Tom Josephc35524e2016-08-29 08:17:59 -050085
Tom Joseph1e5a76a2017-01-30 19:25:06 +053086SUBDIRS = test
87