blob: 4c7ab37dac1c0790fffd9ff7a32ff6d63cf053ee [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 -05008
9netman_watch_dns_SOURCES = netman_watch_dns.c
10netman_watch_dns_LDFLAGS = $(SYSTEMD_LIBS)
11netman_watch_dns_CFLAGS = $(SYSTEMD_CFLAGS)
Ratan Gupta8c834932017-04-14 16:30:24 +053012
13noinst_HEADERS = \
Ratan Gupta05eb1092017-04-14 16:33:53 +053014 ethernet_interface.hpp \
Michael Tritz29f2fd62017-05-22 15:27:26 -050015 network_config.hpp \
Ratan Gupta4af36762017-04-20 19:12:29 +053016 network_manager.hpp \
Ratan Gupta82549cc2017-04-21 08:45:23 +053017 ipaddress.hpp \
Ratan Gupta8804feb2017-05-25 10:49:57 +053018 types.hpp \
Ratan Gupta82e1ef92017-06-15 08:39:15 +053019 util.hpp \
20 routing_table.hpp \
Ratan Guptaed123a32017-06-15 09:07:31 +053021 config_parser.hpp \
Ratan Gupta935bc332017-07-11 17:47:14 +053022 system_configuration.hpp \
23 dhcp_configuration.hpp
Ratan Gupta8c834932017-04-14 16:30:24 +053024
25phosphor_network_manager_SOURCES = \
Ratan Gupta91a99cc2017-04-14 16:32:09 +053026 ethernet_interface.cpp \
Ratan Gupta2eff84f2017-04-20 19:19:15 +053027 ipaddress.cpp \
Michael Tritz29f2fd62017-05-22 15:27:26 -050028 network_config.cpp \
Ratan Gupta6811f822017-04-14 16:34:56 +053029 network_manager.cpp \
Ratan Guptabf9ba402017-04-14 17:16:04 +053030 network_manager_main.cpp \
Ratan Gupta82e1ef92017-06-15 08:39:15 +053031 system_configuration.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053032 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Gupta8804feb2017-05-25 10:49:57 +053033 xyz/openbmc_project/Network/IP/Create/server.cpp \
Ratan Gupta233524c2017-05-27 11:47:31 +053034 util.cpp \
Ratan Guptaed123a32017-06-15 09:07:31 +053035 routing_table.cpp \
Ratan Gupta935bc332017-07-11 17:47:14 +053036 config_parser.cpp \
37 dhcp_configuration.cpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053038
39CLEANFILES = \
40 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053041 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
42 xyz/openbmc_project/Network/IP/Create/server.cpp \
43 xyz/openbmc_project/Network/IP/Create/server.hpp
44
Ratan Guptabf9ba402017-04-14 17:16:04 +053045BUILT_SOURCES = \
46 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053047 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
48 xyz/openbmc_project/Network/IP/Create/server.cpp \
49 xyz/openbmc_project/Network/IP/Create/server.hpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053050
Ratan Gupta8c834932017-04-14 16:30:24 +053051phosphor_network_manager_LDFLAGS = \
52 $(SYSTEMD_LIBS) \
53 $(SDBUSPLUS_LIBS) \
Ratan Gupta82549cc2017-04-21 08:45:23 +053054 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Ratan Gupta11cef802017-05-29 08:41:48 +053055 $(PHOSPHOR_LOGGING_LIBS) \
Ratan Gupta82549cc2017-04-21 08:45:23 +053056 -lstdc++fs
Ratan Gupta8c834932017-04-14 16:30:24 +053057
58phosphor_network_manager_CXXFLAGS = \
59 $(SYSTEMD_CFLAGS) \
60 $(SDBUSPLUS_CFLAGS) \
Ratan Gupta233524c2017-05-27 11:47:31 +053061 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
62 $(PHOSPHOR_LOGGING_CFLAGS)
Ratan Guptabf9ba402017-04-14 17:16:04 +053063
64xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
65 @mkdir -p `dirname $@`
66 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
67
68xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
69 @mkdir -p `dirname $@`
70 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@
Ratan Guptadb81a8a2017-04-20 20:21:25 +053071
72xyz/openbmc_project/Network/IP/Create/server.cpp: xyz/openbmc_project/Network/IP/Create.interface.yaml xyz/openbmc_project/Network/IP/Create/server.hpp
73 @mkdir -p `dirname $@`
74 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.IP.Create > $@
75
76xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP/Create.interface.yaml
77 @mkdir -p `dirname $@`
78 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@
79 sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@
Ratan Gupta594123d2017-05-16 22:48:35 +053080
81SUBDIRS = test