aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/lwip_bindings/lwip.mk
blob: 1f56b698d2a47ead640373574b1365391b9fa221 (plain)
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
# List of the required lwIP files.
LWIP = 	${CHIBIOS}/ext/lwip-1.4.0

LWBINDSRC = \
        $(CHIBIOS)/os/various/lwip_bindings/lwipthread.c \
        $(CHIBIOS)/os/various/lwip_bindings/arch/sys_arch.c

LWNETIFSRC = \
        ${LWIP}/src/netif/etharp.c

LWCORESRC = \
        ${LWIP}/src/core/dhcp.c \
        ${LWIP}/src/core/dns.c \
        ${LWIP}/src/core/init.c \
        ${LWIP}/src/core/mem.c \
        ${LWIP}/src/core/memp.c \
        ${LWIP}/src/core/netif.c \
        ${LWIP}/src/core/pbuf.c \
        ${LWIP}/src/core/raw.c \
        ${LWIP}/src/core/stats.c \
        ${LWIP}/src/core/sys.c \
        ${LWIP}/src/core/tcp.c \
        ${LWIP}/src/core/tcp_in.c \
        ${LWIP}/src/core/tcp_out.c \
        ${LWIP}/src/core/udp.c

LWIPV4SRC = \
        ${LWIP}/src/core/ipv4/autoip.c \
        ${LWIP}/src/core/ipv4/icmp.c \
        ${LWIP}/src/core/ipv4/igmp.c \
        ${LWIP}/src/core/ipv4/inet.c \
        ${LWIP}/src/core/ipv4/inet_chksum.c \
        ${LWIP}/src/core/ipv4/ip.c \
        ${LWIP}/src/core/ipv4/ip_addr.c \
        ${LWIP}/src/core/ipv4/ip_frag.c \
        ${LWIP}/src/core/def.c \
        ${LWIP}/src/core/timers.c

LWAPISRC = \
        ${LWIP}/src/api/api_lib.c \
        ${LWIP}/src/api/api_msg.c \
        ${LWIP}/src/api/err.c \
        ${LWIP}/src/api/netbuf.c \
        ${LWIP}/src/api/netdb.c \
        ${LWIP}/src/api/netifapi.c \
        ${LWIP}/src/api/sockets.c \
        ${LWIP}/src/api/tcpip.c

LWSRC = $(LWBINDSRC) $(LWNETIFSRC) $(LWCORESRC) $(LWIPV4SRC) $(LWAPISRC)

LWINC = \
        $(CHIBIOS)/os/various/lwip_bindings \
        ${LWIP}/src/include \
        ${LWIP}/src/include/ipv4