blob: 212595213bf916a23d61c87ee6c03b8aaddc9278 [file] [log] [blame]
Ratan Guptabf9ba402017-04-14 17:16:04 +05301# Build these headers, don't install them
2nobase_nodist_include_HEADERS = \
3 xyz/openbmc_project/Network/VLAN/Create/server.hpp
4
Ratan Gupta8c834932017-04-14 16:30:24 +05305sbin_PROGRAMS = netman_watch_dns phosphor-network-manager
6
Matthew Barth5e60ba52016-09-26 13:40:01 -05007
8netman_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 \
Ratan Gupta4af36762017-04-20 19:12:29 +053014 network_manager.hpp \
15 ipaddress.hpp
Ratan Gupta8c834932017-04-14 16:30:24 +053016
17phosphor_network_manager_SOURCES = \
Ratan Gupta91a99cc2017-04-14 16:32:09 +053018 ethernet_interface.cpp \
Ratan Gupta2eff84f2017-04-20 19:19:15 +053019 ipaddress.cpp \
Ratan Gupta6811f822017-04-14 16:34:56 +053020 network_manager.cpp \
Ratan Guptabf9ba402017-04-14 17:16:04 +053021 network_manager_main.cpp \
22 xyz/openbmc_project/Network/VLAN/Create/server.cpp
23
24CLEANFILES = \
25 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
26 xyz/openbmc_project/Network/VLAN/Create/server.hpp
27
28BUILT_SOURCES = \
29 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
30 xyz/openbmc_project/Network/VLAN/Create/server.hpp
31
Ratan Gupta8c834932017-04-14 16:30:24 +053032
33phosphor_network_manager_LDFLAGS = \
34 $(SYSTEMD_LIBS) \
35 $(SDBUSPLUS_LIBS) \
36 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
37
38phosphor_network_manager_CXXFLAGS = \
39 $(SYSTEMD_CFLAGS) \
40 $(SDBUSPLUS_CFLAGS) \
41 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Ratan Guptabf9ba402017-04-14 17:16:04 +053042
43xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
44 @mkdir -p `dirname $@`
45 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
46
47xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
48 @mkdir -p `dirname $@`
49 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@