blob: 75c49e6b1d257adc760eae45c19cc295a94d3daa [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 \
Ratan Gupta82549cc2017-04-21 08:45:23 +053016 ipaddress.hpp \
17 types.hpp
Ratan Gupta8c834932017-04-14 16:30:24 +053018
19phosphor_network_manager_SOURCES = \
Ratan Gupta91a99cc2017-04-14 16:32:09 +053020 ethernet_interface.cpp \
Ratan Gupta2eff84f2017-04-20 19:19:15 +053021 ipaddress.cpp \
Ratan Gupta6811f822017-04-14 16:34:56 +053022 network_manager.cpp \
Ratan Guptabf9ba402017-04-14 17:16:04 +053023 network_manager_main.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053024 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
25 xyz/openbmc_project/Network/IP/Create/server.cpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053026
27CLEANFILES = \
28 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053029 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
30 xyz/openbmc_project/Network/IP/Create/server.cpp \
31 xyz/openbmc_project/Network/IP/Create/server.hpp
32
Ratan Guptabf9ba402017-04-14 17:16:04 +053033
34BUILT_SOURCES = \
35 xyz/openbmc_project/Network/VLAN/Create/server.cpp \
Ratan Guptadb81a8a2017-04-20 20:21:25 +053036 xyz/openbmc_project/Network/VLAN/Create/server.hpp \
37 xyz/openbmc_project/Network/IP/Create/server.cpp \
38 xyz/openbmc_project/Network/IP/Create/server.hpp
Ratan Guptabf9ba402017-04-14 17:16:04 +053039
Ratan Gupta8c834932017-04-14 16:30:24 +053040
41phosphor_network_manager_LDFLAGS = \
42 $(SYSTEMD_LIBS) \
43 $(SDBUSPLUS_LIBS) \
Ratan Gupta82549cc2017-04-21 08:45:23 +053044 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
45 -lstdc++fs
Ratan Gupta8c834932017-04-14 16:30:24 +053046
47phosphor_network_manager_CXXFLAGS = \
48 $(SYSTEMD_CFLAGS) \
49 $(SDBUSPLUS_CFLAGS) \
50 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Ratan Guptabf9ba402017-04-14 17:16:04 +053051
52xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
53 @mkdir -p `dirname $@`
54 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
55
56xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
57 @mkdir -p `dirname $@`
58 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@
Ratan Guptadb81a8a2017-04-20 20:21:25 +053059
60xyz/openbmc_project/Network/IP/Create/server.cpp: xyz/openbmc_project/Network/IP/Create.interface.yaml xyz/openbmc_project/Network/IP/Create/server.hpp
61 @mkdir -p `dirname $@`
62 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.IP.Create > $@
63
64xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP/Create.interface.yaml
65 @mkdir -p `dirname $@`
66 $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@
67 sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@
68