blob: 6035365f530cecea202026630380cd89c4317754 [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 Gupta6811f822017-04-14 16:34:56 +053019 network_manager.cpp \
Ratan Guptabf9ba402017-04-14 17:16:04 +053020 network_manager_main.cpp \
21 xyz/openbmc_project/Network/VLAN/Create/server.cpp
22
23CLEANFILES = \
24 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
25 xyz/openbmc_project/Network/VLAN/Create/server.hpp
26
27BUILT_SOURCES = \
28 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
29 xyz/openbmc_project/Network/VLAN/Create/server.hpp
30
Ratan Gupta8c834932017-04-14 16:30:24 +053031
32phosphor_network_manager_LDFLAGS = \
33 $(SYSTEMD_LIBS) \
34 $(SDBUSPLUS_LIBS) \
35 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
36
37phosphor_network_manager_CXXFLAGS = \
38 $(SYSTEMD_CFLAGS) \
39 $(SDBUSPLUS_CFLAGS) \
40 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Ratan Guptabf9ba402017-04-14 17:16:04 +053041
42xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
43 @mkdir -p `dirname $@`
44 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
45
46xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
47 @mkdir -p `dirname $@`
48 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@