blob: 541afb0e1dfbd62b92e603c70b93ee0a248206e6 [file] [log] [blame]
# 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
sbin_PROGRAMS = phosphor-network-manager ncsi-netlink
noinst_HEADERS = \
ethernet_interface.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 \
timer.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) \
-lnl-3 \
-lnl-genl-3
ncsi_netlink_CPPFLAGS = -isystem=/usr/include/libnl3
ncsi_netlink_CXXFLAGS = -flto
phosphor_network_manager_SOURCES = \
ethernet_interface.cpp \
ipaddress.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 \
util.cpp \
routing_table.cpp \
config_parser.cpp \
dhcp_configuration.cpp \
vlan_interface.cpp \
rtnetlink_server.cpp \
timer.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
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
phosphor_network_manager_LDFLAGS = \
$(SYSTEMD_LIBS) \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
-lstdc++fs
phosphor_network_manager_CXXFLAGS = \
$(SYSTEMD_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
-flto
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 > $@
sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@
#SUBDIRS = test