Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 1 | # Build these headers, don't install them |
| 2 | nobase_nodist_include_HEADERS = \ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame^] | 3 | xyz/openbmc_project/Network/VLAN/Create/server.hpp \ |
| 4 | xyz/openbmc_project/Network/IP/Create/server.hpp |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 5 | |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 6 | sbin_PROGRAMS = netman_watch_dns phosphor-network-manager |
| 7 | |
Matthew Barth | 5e60ba5 | 2016-09-26 13:40:01 -0500 | [diff] [blame] | 8 | |
| 9 | netman_watch_dns_SOURCES = netman_watch_dns.c |
| 10 | netman_watch_dns_LDFLAGS = $(SYSTEMD_LIBS) |
| 11 | netman_watch_dns_CFLAGS = $(SYSTEMD_CFLAGS) |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 12 | |
| 13 | noinst_HEADERS = \ |
Ratan Gupta | 05eb109 | 2017-04-14 16:33:53 +0530 | [diff] [blame] | 14 | ethernet_interface.hpp \ |
Ratan Gupta | 4af3676 | 2017-04-20 19:12:29 +0530 | [diff] [blame] | 15 | network_manager.hpp \ |
| 16 | ipaddress.hpp |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 17 | |
| 18 | phosphor_network_manager_SOURCES = \ |
Ratan Gupta | 91a99cc | 2017-04-14 16:32:09 +0530 | [diff] [blame] | 19 | ethernet_interface.cpp \ |
Ratan Gupta | 2eff84f | 2017-04-20 19:19:15 +0530 | [diff] [blame] | 20 | ipaddress.cpp \ |
Ratan Gupta | 6811f82 | 2017-04-14 16:34:56 +0530 | [diff] [blame] | 21 | network_manager.cpp \ |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 22 | network_manager_main.cpp \ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame^] | 23 | xyz/openbmc_project/Network/VLAN/Create/server.cpp \ |
| 24 | xyz/openbmc_project/Network/IP/Create/server.cpp |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 25 | |
| 26 | CLEANFILES = \ |
| 27 | xyz/openbmc_project/Network/VLAN/Create/server.cpp \ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame^] | 28 | 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 Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 32 | |
| 33 | BUILT_SOURCES = \ |
| 34 | xyz/openbmc_project/Network/VLAN/Create/server.cpp \ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame^] | 35 | 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 Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 38 | |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 39 | |
| 40 | phosphor_network_manager_LDFLAGS = \ |
| 41 | $(SYSTEMD_LIBS) \ |
| 42 | $(SDBUSPLUS_LIBS) \ |
| 43 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 44 | |
| 45 | phosphor_network_manager_CXXFLAGS = \ |
| 46 | $(SYSTEMD_CFLAGS) \ |
| 47 | $(SDBUSPLUS_CFLAGS) \ |
| 48 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 49 | |
| 50 | xyz/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 | |
| 54 | xyz/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 Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame^] | 57 | |
| 58 | xyz/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 | |
| 62 | xyz/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 | |