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 | netman_watch_dns_SOURCES = netman_watch_dns.c |
| 9 | netman_watch_dns_LDFLAGS = $(SYSTEMD_LIBS) |
| 10 | netman_watch_dns_CFLAGS = $(SYSTEMD_CFLAGS) |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 11 | |
| 12 | noinst_HEADERS = \ |
Ratan Gupta | 05eb109 | 2017-04-14 16:33:53 +0530 | [diff] [blame] | 13 | ethernet_interface.hpp \ |
Michael Tritz | 29f2fd6 | 2017-05-22 15:27:26 -0500 | [diff] [blame] | 14 | network_config.hpp \ |
Ratan Gupta | 4af3676 | 2017-04-20 19:12:29 +0530 | [diff] [blame] | 15 | network_manager.hpp \ |
Ratan Gupta | 82549cc | 2017-04-21 08:45:23 +0530 | [diff] [blame] | 16 | ipaddress.hpp \ |
Ratan Gupta | 8804feb | 2017-05-25 10:49:57 +0530 | [diff] [blame] | 17 | types.hpp \ |
Ratan Gupta | 82e1ef9 | 2017-06-15 08:39:15 +0530 | [diff] [blame] | 18 | util.hpp \ |
| 19 | routing_table.hpp \ |
Ratan Gupta | ed123a3 | 2017-06-15 09:07:31 +0530 | [diff] [blame] | 20 | config_parser.hpp \ |
Ratan Gupta | 935bc33 | 2017-07-11 17:47:14 +0530 | [diff] [blame] | 21 | system_configuration.hpp \ |
Ratan Gupta | 3d3e4fc | 2017-07-25 13:38:19 +0530 | [diff] [blame] | 22 | dhcp_configuration.hpp \ |
Ratan Gupta | 0f9dc1b | 2017-09-03 17:57:50 +0530 | [diff] [blame] | 23 | vlan_interface.hpp \ |
Ratan Gupta | 4f80c1a | 2017-09-03 18:01:22 +0530 | [diff] [blame] | 24 | rtnetlink_server.hpp \ |
Vishwanatha Subbanna | f00182e | 2017-10-16 19:08:59 +0530 | [diff] [blame] | 25 | timer.hpp \ |
| 26 | dns_updater.hpp |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 27 | |
| 28 | phosphor_network_manager_SOURCES = \ |
Ratan Gupta | 91a99cc | 2017-04-14 16:32:09 +0530 | [diff] [blame] | 29 | ethernet_interface.cpp \ |
Ratan Gupta | 2eff84f | 2017-04-20 19:19:15 +0530 | [diff] [blame] | 30 | ipaddress.cpp \ |
Michael Tritz | 29f2fd6 | 2017-05-22 15:27:26 -0500 | [diff] [blame] | 31 | network_config.cpp \ |
Ratan Gupta | 6811f82 | 2017-04-14 16:34:56 +0530 | [diff] [blame] | 32 | network_manager.cpp \ |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 33 | network_manager_main.cpp \ |
Ratan Gupta | 82e1ef9 | 2017-06-15 08:39:15 +0530 | [diff] [blame] | 34 | system_configuration.cpp \ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame] | 35 | xyz/openbmc_project/Network/VLAN/Create/server.cpp \ |
Ratan Gupta | 8804feb | 2017-05-25 10:49:57 +0530 | [diff] [blame] | 36 | xyz/openbmc_project/Network/IP/Create/server.cpp \ |
Ratan Gupta | 233524c | 2017-05-27 11:47:31 +0530 | [diff] [blame] | 37 | util.cpp \ |
Ratan Gupta | ed123a3 | 2017-06-15 09:07:31 +0530 | [diff] [blame] | 38 | routing_table.cpp \ |
Ratan Gupta | 935bc33 | 2017-07-11 17:47:14 +0530 | [diff] [blame] | 39 | config_parser.cpp \ |
Ratan Gupta | 3d3e4fc | 2017-07-25 13:38:19 +0530 | [diff] [blame] | 40 | dhcp_configuration.cpp \ |
Ratan Gupta | 0f9dc1b | 2017-09-03 17:57:50 +0530 | [diff] [blame] | 41 | vlan_interface.cpp \ |
Ratan Gupta | 4f80c1a | 2017-09-03 18:01:22 +0530 | [diff] [blame] | 42 | rtnetlink_server.cpp \ |
Vishwanatha Subbanna | f00182e | 2017-10-16 19:08:59 +0530 | [diff] [blame] | 43 | timer.cpp \ |
| 44 | dns_updater.cpp |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 45 | |
| 46 | CLEANFILES = \ |
| 47 | xyz/openbmc_project/Network/VLAN/Create/server.cpp \ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame] | 48 | xyz/openbmc_project/Network/VLAN/Create/server.hpp \ |
| 49 | xyz/openbmc_project/Network/IP/Create/server.cpp \ |
| 50 | xyz/openbmc_project/Network/IP/Create/server.hpp |
| 51 | |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 52 | BUILT_SOURCES = \ |
| 53 | xyz/openbmc_project/Network/VLAN/Create/server.cpp \ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame] | 54 | xyz/openbmc_project/Network/VLAN/Create/server.hpp \ |
| 55 | xyz/openbmc_project/Network/IP/Create/server.cpp \ |
| 56 | xyz/openbmc_project/Network/IP/Create/server.hpp |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 57 | |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 58 | phosphor_network_manager_LDFLAGS = \ |
| 59 | $(SYSTEMD_LIBS) \ |
| 60 | $(SDBUSPLUS_LIBS) \ |
Ratan Gupta | 82549cc | 2017-04-21 08:45:23 +0530 | [diff] [blame] | 61 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
Ratan Gupta | 11cef80 | 2017-05-29 08:41:48 +0530 | [diff] [blame] | 62 | $(PHOSPHOR_LOGGING_LIBS) \ |
Ratan Gupta | 82549cc | 2017-04-21 08:45:23 +0530 | [diff] [blame] | 63 | -lstdc++fs |
Ratan Gupta | 8c83493 | 2017-04-14 16:30:24 +0530 | [diff] [blame] | 64 | |
| 65 | phosphor_network_manager_CXXFLAGS = \ |
| 66 | $(SYSTEMD_CFLAGS) \ |
| 67 | $(SDBUSPLUS_CFLAGS) \ |
Ratan Gupta | 233524c | 2017-05-27 11:47:31 +0530 | [diff] [blame] | 68 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 69 | $(PHOSPHOR_LOGGING_CFLAGS) |
Ratan Gupta | bf9ba40 | 2017-04-14 17:16:04 +0530 | [diff] [blame] | 70 | |
| 71 | xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp |
| 72 | @mkdir -p `dirname $@` |
| 73 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@ |
| 74 | |
| 75 | xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml |
| 76 | @mkdir -p `dirname $@` |
| 77 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@ |
Ratan Gupta | db81a8a | 2017-04-20 20:21:25 +0530 | [diff] [blame] | 78 | |
| 79 | xyz/openbmc_project/Network/IP/Create/server.cpp: xyz/openbmc_project/Network/IP/Create.interface.yaml xyz/openbmc_project/Network/IP/Create/server.hpp |
| 80 | @mkdir -p `dirname $@` |
| 81 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.IP.Create > $@ |
| 82 | |
| 83 | xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP/Create.interface.yaml |
| 84 | @mkdir -p `dirname $@` |
| 85 | $(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@ |
| 86 | sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@ |
Ratan Gupta | 594123d | 2017-05-16 22:48:35 +0530 | [diff] [blame] | 87 | |
| 88 | SUBDIRS = test |