forked from openbmc/phosphor-networkd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
135 lines (113 loc) · 4.42 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Build these headers, don't install them
nobase_nodist_include_HEADERS = \
xyz/openbmc_project/Network/VLAN/Create/server.hpp \
xyz/openbmc_project/Network/IP/Create/server.hpp \
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.hpp
if HAVE_SYSTEMD
systemdsystemunit_DATA = \
xyz.openbmc_project.Network.service
dbuspolicy_DATA = \
xyz.openbmc_project.Network.conf
endif
bin_PROGRAMS = phosphor-network-manager ncsi-netlink
noinst_HEADERS = \
ethernet_interface.hpp \
neighbor.hpp \
netlink.hpp \
network_config.hpp \
network_manager.hpp \
ipaddress.hpp \
types.hpp \
util.hpp \
routing_table.hpp \
config_parser.hpp \
system_configuration.hpp \
dhcp_configuration.hpp \
vlan_interface.hpp \
rtnetlink_server.hpp \
dns_updater.hpp \
watch.hpp \
argument.hpp
ncsi_netlink_SOURCES = \
argument.cpp \
ncsi_netlink_main.cpp \
ncsi_util.cpp
ncsi_netlink_LDFLAGS = \
$(PHOSPHOR_LOGGING_LIBS) \
$(LIBNL_LIBS)
ncsi_netlink_CPPFLAGS = $(LIBNL_CFLAGS)
ncsi_netlink_CXXFLAGS = -flto
phosphor_network_manager_SOURCES = \
ethernet_interface.cpp \
neighbor.cpp \
ipaddress.cpp \
netlink.cpp \
network_config.cpp \
network_manager.cpp \
network_manager_main.cpp \
system_configuration.cpp \
xyz/openbmc_project/Network/VLAN/Create/server.cpp \
xyz/openbmc_project/Network/IP/Create/server.cpp \
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.cpp \
util.cpp \
routing_table.cpp \
config_parser.cpp \
dhcp_configuration.cpp \
vlan_interface.cpp \
rtnetlink_server.cpp \
dns_updater.cpp \
watch.cpp
CLEANFILES = \
xyz/openbmc_project/Network/VLAN/Create/server.cpp \
xyz/openbmc_project/Network/VLAN/Create/server.hpp \
xyz/openbmc_project/Network/IP/Create/server.cpp \
xyz/openbmc_project/Network/IP/Create/server.hpp \
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.cpp \
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.hpp
BUILT_SOURCES = \
xyz/openbmc_project/Network/VLAN/Create/server.cpp \
xyz/openbmc_project/Network/VLAN/Create/server.hpp \
xyz/openbmc_project/Network/IP/Create/server.cpp \
xyz/openbmc_project/Network/IP/Create/server.hpp \
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.cpp \
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.hpp
phosphor_network_manager_LDFLAGS = \
$(SYSTEMD_LIBS) \
$(SDBUSPLUS_LIBS) \
$(SDEVENTPLUS_LIBS) \
$(STDPLUS_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(PHOSPHOR_LOGGING_LIBS)
phosphor_network_manager_CXXFLAGS = \
$(SYSTEMD_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
$(SDEVENTPLUS_CFLAGS) \
$(STDPLUS_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
-flto
if FEATURE_NIC_ETHTOOL
phosphor_network_manager_CXXFLAGS += -DNIC_SUPPORTS_ETHTOOL
endif
if FEATURE_SYNC_MAC_FROM_INVENTORY
phosphor_network_manager_CXXFLAGS += -DSYNC_MAC_FROM_INVENTORY
endif
xyz/openbmc_project/Network/VLAN/Create/server.cpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml xyz/openbmc_project/Network/VLAN/Create/server.hpp
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.VLAN.Create > $@
xyz/openbmc_project/Network/VLAN/Create/server.hpp: xyz/openbmc_project/Network/VLAN/Create.interface.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.VLAN.Create > $@
xyz/openbmc_project/Network/IP/Create/server.cpp: xyz/openbmc_project/Network/IP/Create.interface.yaml xyz/openbmc_project/Network/IP/Create/server.hpp
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.IP.Create > $@
xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP/Create.interface.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.cpp: xyz/openbmc_project/Network/Neighbor/CreateStatic.interface.yaml xyz/openbmc_project/Network/Neighbor/CreateStatic/server.hpp
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.Neighbor.CreateStatic > $@
xyz/openbmc_project/Network/Neighbor/CreateStatic/server.hpp: xyz/openbmc_project/Network/Neighbor/CreateStatic.interface.yaml
@mkdir -p `dirname $@`
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.Neighbor.CreateStatic > $@
SUBDIRS = test