blob: 247ea9b0061262c0a13e61a54b9da67893393934 [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 \
Ratan Gupta4af36762017-04-20 19:12:29 +053015 network_manager.hpp \
16 ipaddress.hpp
Ratan Gupta8c834932017-04-14 16:30:24 +053017
18phosphor_network_manager_SOURCES = \
Ratan Gupta91a99cc2017-04-14 16:32:09 +053019 ethernet_interface.cpp \
Ratan Gupta2eff84f2017-04-20 19:19:15 +053020 ipaddress.cpp \
Ratan Gupta6811f822017-04-14 16:34:56 +053021 network_manager.cpp \
Ratan Guptabf9ba402017-04-14 17:16:04 +053022 network_manager_main.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053023 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
24 xyz/openbmc_project/Network/IP/Create/server.cpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053025
26CLEANFILES = \
27 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053028 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
29 xyz/openbmc_project/Network/IP/Create/server.cpp \
30 xyz/openbmc_project/Network/IP/Create/server.hpp
31
Ratan Guptabf9ba402017-04-14 17:16:04 +053032
33BUILT_SOURCES = \
34 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053035 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
36 xyz/openbmc_project/Network/IP/Create/server.cpp \
37 xyz/openbmc_project/Network/IP/Create/server.hpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053038
Ratan Gupta8c834932017-04-14 16:30:24 +053039
40phosphor_network_manager_LDFLAGS = \
41 $(SYSTEMD_LIBS) \
42 $(SDBUSPLUS_LIBS) \
43 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
44
45phosphor_network_manager_CXXFLAGS = \
46 $(SYSTEMD_CFLAGS) \
47 $(SDBUSPLUS_CFLAGS) \
48 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Ratan Guptabf9ba402017-04-14 17:16:04 +053049
50xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
51 @mkdir -p `dirname $@`
52 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
53
54xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
55 @mkdir -p `dirname $@`
56 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@
Ratan Guptadb81a8a2017-04-20 20:21:25 +053057
58xyz/openbmc_project/Network/IP/Create/server.cpp: xyz/openbmc_project/Network/IP/Create.interface.yaml xyz/openbmc_project/Network/IP/Create/server.hpp
59 @mkdir -p `dirname $@`
60 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.IP.Create > $@
61
62xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP/Create.interface.yaml
63 @mkdir -p `dirname $@`
64 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@
65 sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@
66