blob: 541afb0e1dfbd62b92e603c70b93ee0a248206e6 [file] [log] [blame]
Ratan Guptabf9ba402017-04-14 17:16:04 +05301# Build these headers, don't install them
2nobase_nodist_include_HEADERS = \
Ratan Guptadb81a8a2017-04-20 20:21:25 +05303 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
4 xyz/openbmc_project/Network/IP/Create/server.hpp
Ratan Guptabf9ba402017-04-14 17:16:04 +05305
Ratan Guptab38401b2018-03-16 12:44:26 +05306sbin_PROGRAMS = phosphor-network-manager ncsi-netlink
Ratan Gupta8c834932017-04-14 16:30:24 +05307
8noinst_HEADERS = \
Ratan Gupta05eb1092017-04-14 16:33:53 +05309 ethernet_interface.hpp \
Michael Tritz29f2fd62017-05-22 15:27:26 -050010 network_config.hpp \
Ratan Gupta4af36762017-04-20 19:12:29 +053011 network_manager.hpp \
Ratan Gupta82549cc2017-04-21 08:45:23 +053012 ipaddress.hpp \
Ratan Gupta8804feb2017-05-25 10:49:57 +053013 types.hpp \
Ratan Gupta82e1ef92017-06-15 08:39:15 +053014 util.hpp \
15 routing_table.hpp \
Ratan Guptaed123a32017-06-15 09:07:31 +053016 config_parser.hpp \
Ratan Gupta935bc332017-07-11 17:47:14 +053017 system_configuration.hpp \
Ratan Gupta3d3e4fc2017-07-25 13:38:19 +053018 dhcp_configuration.hpp \
Ratan Gupta0f9dc1b2017-09-03 17:57:50 +053019 vlan_interface.hpp \
Ratan Gupta4f80c1a2017-09-03 18:01:22 +053020 rtnetlink_server.hpp \
Vishwanatha Subbannaf00182e2017-10-16 19:08:59 +053021 timer.hpp \
Vishwanatha Subbannaca4ce1b2017-10-16 23:17:18 +053022 dns_updater.hpp \
Ratan Guptab38401b2018-03-16 12:44:26 +053023 watch.hpp \
24 argument.hpp
25
26ncsi_netlink_SOURCES = \
27 argument.cpp \
Ratan Guptabbe45792018-03-23 00:22:55 +053028 ncsi_netlink_main.cpp \
29 ncsi_util.cpp
30
31ncsi_netlink_LDFLAGS = \
32 $(PHOSPHOR_LOGGING_LIBS) \
33 -lnl-3 \
34 -lnl-genl-3
35
36ncsi_netlink_CPPFLAGS = -isystem=/usr/include/libnl3
Andrew Geissler1f0648d2018-08-27 11:12:06 -070037ncsi_netlink_CXXFLAGS = -flto
Ratan Guptab38401b2018-03-16 12:44:26 +053038
Ratan Gupta8c834932017-04-14 16:30:24 +053039
40phosphor_network_manager_SOURCES = \
Ratan Gupta91a99cc2017-04-14 16:32:09 +053041 ethernet_interface.cpp \
Ratan Gupta2eff84f2017-04-20 19:19:15 +053042 ipaddress.cpp \
Michael Tritz29f2fd62017-05-22 15:27:26 -050043 network_config.cpp \
Ratan Gupta6811f822017-04-14 16:34:56 +053044 network_manager.cpp \
Ratan Guptabf9ba402017-04-14 17:16:04 +053045 network_manager_main.cpp \
Ratan Gupta82e1ef92017-06-15 08:39:15 +053046 system_configuration.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053047 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Gupta8804feb2017-05-25 10:49:57 +053048 xyz/openbmc_project/Network/IP/Create/server.cpp \
Ratan Gupta233524c2017-05-27 11:47:31 +053049 util.cpp \
Ratan Guptaed123a32017-06-15 09:07:31 +053050 routing_table.cpp \
Ratan Gupta935bc332017-07-11 17:47:14 +053051 config_parser.cpp \
Ratan Gupta3d3e4fc2017-07-25 13:38:19 +053052 dhcp_configuration.cpp \
Ratan Gupta0f9dc1b2017-09-03 17:57:50 +053053 vlan_interface.cpp \
Ratan Gupta4f80c1a2017-09-03 18:01:22 +053054 rtnetlink_server.cpp \
Vishwanatha Subbannaf00182e2017-10-16 19:08:59 +053055 timer.cpp \
Vishwanatha Subbannaca4ce1b2017-10-16 23:17:18 +053056 dns_updater.cpp \
57 watch.cpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053058
59CLEANFILES = \
60 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053061 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
62 xyz/openbmc_project/Network/IP/Create/server.cpp \
63 xyz/openbmc_project/Network/IP/Create/server.hpp
64
Ratan Guptabf9ba402017-04-14 17:16:04 +053065BUILT_SOURCES = \
66 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053067 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
68 xyz/openbmc_project/Network/IP/Create/server.cpp \
69 xyz/openbmc_project/Network/IP/Create/server.hpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053070
Ratan Gupta8c834932017-04-14 16:30:24 +053071phosphor_network_manager_LDFLAGS = \
72 $(SYSTEMD_LIBS) \
73 $(SDBUSPLUS_LIBS) \
Ratan Gupta82549cc2017-04-21 08:45:23 +053074 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Ratan Gupta11cef802017-05-29 08:41:48 +053075 $(PHOSPHOR_LOGGING_LIBS) \
Ratan Gupta82549cc2017-04-21 08:45:23 +053076 -lstdc++fs
Ratan Gupta8c834932017-04-14 16:30:24 +053077
78phosphor_network_manager_CXXFLAGS = \
79 $(SYSTEMD_CFLAGS) \
80 $(SDBUSPLUS_CFLAGS) \
Ratan Gupta233524c2017-05-27 11:47:31 +053081 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Andrew Geissler1f0648d2018-08-27 11:12:06 -070082 $(PHOSPHOR_LOGGING_CFLAGS) \
83 -flto
Ratan Guptabf9ba402017-04-14 17:16:04 +053084
85xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
86 @mkdir -p `dirname $@`
87 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
88
89xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
90 @mkdir -p `dirname $@`
91 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@
Ratan Guptadb81a8a2017-04-20 20:21:25 +053092
93xyz/openbmc_project/Network/IP/Create/server.cpp: xyz/openbmc_project/Network/IP/Create.interface.yaml xyz/openbmc_project/Network/IP/Create/server.hpp
94 @mkdir -p `dirname $@`
95 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.IP.Create > $@
96
97xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP/Create.interface.yaml
98 @mkdir -p `dirname $@`
99 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@
100 sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@
Ratan Gupta594123d2017-05-16 22:48:35 +0530101
Ratan Guptac582c052018-08-10 14:59:14 +0530102#SUBDIRS = test