blob: eac5692968eb2e796738e11f97dcbc508fc50280 [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 Gupta8c834932017-04-14 16:30:24 +05306sbin_PROGRAMS = netman_watch_dns phosphor-network-manager
7
Matthew Barth5e60ba52016-09-26 13:40:01 -05008netman_watch_dns_SOURCES = netman_watch_dns.c
9netman_watch_dns_LDFLAGS = $(SYSTEMD_LIBS)
10netman_watch_dns_CFLAGS = $(SYSTEMD_CFLAGS)
Ratan Gupta8c834932017-04-14 16:30:24 +053011
12noinst_HEADERS = \
Ratan Gupta05eb1092017-04-14 16:33:53 +053013 ethernet_interface.hpp \
Michael Tritz29f2fd62017-05-22 15:27:26 -050014 network_config.hpp \
Ratan Gupta4af36762017-04-20 19:12:29 +053015 network_manager.hpp \
Ratan Gupta82549cc2017-04-21 08:45:23 +053016 ipaddress.hpp \
Ratan Gupta8804feb2017-05-25 10:49:57 +053017 types.hpp \
Ratan Gupta82e1ef92017-06-15 08:39:15 +053018 util.hpp \
19 routing_table.hpp \
Ratan Guptaed123a32017-06-15 09:07:31 +053020 config_parser.hpp \
Ratan Gupta935bc332017-07-11 17:47:14 +053021 system_configuration.hpp \
Ratan Gupta3d3e4fc2017-07-25 13:38:19 +053022 dhcp_configuration.hpp \
Ratan Gupta0f9dc1b2017-09-03 17:57:50 +053023 vlan_interface.hpp \
Ratan Gupta4f80c1a2017-09-03 18:01:22 +053024 rtnetlink_server.hpp \
25 timer.hpp
Ratan Gupta8c834932017-04-14 16:30:24 +053026
27phosphor_network_manager_SOURCES = \
Ratan Gupta91a99cc2017-04-14 16:32:09 +053028 ethernet_interface.cpp \
Ratan Gupta2eff84f2017-04-20 19:19:15 +053029 ipaddress.cpp \
Michael Tritz29f2fd62017-05-22 15:27:26 -050030 network_config.cpp \
Ratan Gupta6811f822017-04-14 16:34:56 +053031 network_manager.cpp \
Ratan Guptabf9ba402017-04-14 17:16:04 +053032 network_manager_main.cpp \
Ratan Gupta82e1ef92017-06-15 08:39:15 +053033 system_configuration.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053034 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Gupta8804feb2017-05-25 10:49:57 +053035 xyz/openbmc_project/Network/IP/Create/server.cpp \
Ratan Gupta233524c2017-05-27 11:47:31 +053036 util.cpp \
Ratan Guptaed123a32017-06-15 09:07:31 +053037 routing_table.cpp \
Ratan Gupta935bc332017-07-11 17:47:14 +053038 config_parser.cpp \
Ratan Gupta3d3e4fc2017-07-25 13:38:19 +053039 dhcp_configuration.cpp \
Ratan Gupta0f9dc1b2017-09-03 17:57:50 +053040 vlan_interface.cpp \
Ratan Gupta4f80c1a2017-09-03 18:01:22 +053041 rtnetlink_server.cpp \
42 timer.cpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053043
44CLEANFILES = \
45 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053046 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
47 xyz/openbmc_project/Network/IP/Create/server.cpp \
48 xyz/openbmc_project/Network/IP/Create/server.hpp
49
Ratan Guptabf9ba402017-04-14 17:16:04 +053050BUILT_SOURCES = \
51 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053052 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
53 xyz/openbmc_project/Network/IP/Create/server.cpp \
54 xyz/openbmc_project/Network/IP/Create/server.hpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053055
Ratan Gupta8c834932017-04-14 16:30:24 +053056phosphor_network_manager_LDFLAGS = \
57 $(SYSTEMD_LIBS) \
58 $(SDBUSPLUS_LIBS) \
Ratan Gupta82549cc2017-04-21 08:45:23 +053059 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Ratan Gupta11cef802017-05-29 08:41:48 +053060 $(PHOSPHOR_LOGGING_LIBS) \
Ratan Gupta82549cc2017-04-21 08:45:23 +053061 -lstdc++fs
Ratan Gupta8c834932017-04-14 16:30:24 +053062
63phosphor_network_manager_CXXFLAGS = \
64 $(SYSTEMD_CFLAGS) \
65 $(SDBUSPLUS_CFLAGS) \
Ratan Gupta233524c2017-05-27 11:47:31 +053066 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
67 $(PHOSPHOR_LOGGING_CFLAGS)
Ratan Guptabf9ba402017-04-14 17:16:04 +053068
69xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
70 @mkdir -p `dirname $@`
71 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
72
73xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
74 @mkdir -p `dirname $@`
75 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@
Ratan Guptadb81a8a2017-04-20 20:21:25 +053076
77xyz/openbmc_project/Network/IP/Create/server.cpp: xyz/openbmc_project/Network/IP/Create.interface.yaml xyz/openbmc_project/Network/IP/Create/server.hpp
78 @mkdir -p `dirname $@`
79 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.IP.Create > $@
80
81xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP/Create.interface.yaml
82 @mkdir -p `dirname $@`
83 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@
84 sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@
Ratan Gupta594123d2017-05-16 22:48:35 +053085
86SUBDIRS = test