2016-09-18 17:46:54 +00:00
|
|
|
#
|
|
|
|
# lwIP TCP/IP library
|
|
|
|
#
|
|
|
|
# The library implements TCP and UDP as well as DNS and DHCP.
|
|
|
|
#
|
|
|
|
|
|
|
|
LWIP_PORT_DIR := $(call select_from_ports,lwip)
|
2018-07-20 10:10:12 +00:00
|
|
|
LWIPDIR := $(LWIP_PORT_DIR)/src/lib/lwip/src
|
2016-09-18 17:46:54 +00:00
|
|
|
|
|
|
|
-include $(LWIPDIR)/Filelists.mk
|
|
|
|
|
|
|
|
# Genode platform files
|
|
|
|
SRC_CC = printf.cc rand.cc sys_arch.cc
|
|
|
|
|
|
|
|
# Core files
|
|
|
|
SRC_C += $(notdir $(COREFILES))
|
|
|
|
|
|
|
|
# IPv4 files
|
|
|
|
SRC_C += $(notdir $(CORE4FILES))
|
|
|
|
|
|
|
|
# IPv6 files
|
|
|
|
SRC_C += $(notdir $(CORE6FILES))
|
|
|
|
|
|
|
|
# Network interface files
|
|
|
|
SRC_C += $(notdir $(NETIFFILES))
|
|
|
|
|
|
|
|
INC_DIR += $(REP_DIR)/include/lwip \
|
|
|
|
$(LWIP_PORT_DIR)/include/lwip \
|
|
|
|
$(LWIPDIR)/include \
|
|
|
|
$(LWIPDIR)/include/ipv4 \
|
|
|
|
$(LWIPDIR)/include/api \
|
|
|
|
$(LWIPDIR)/include/netif \
|
|
|
|
$(REP_DIR)/src/lib/lwip/include
|
|
|
|
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/lwip/platform
|
2018-07-20 10:10:12 +00:00
|
|
|
vpath %.c $(sort $(dir \
|
|
|
|
$(COREFILES) $(CORE4FILES) $(CORE6FILES) $(NETIFFILES)))
|