2 # Copyright (c) 2001, 2002 Swedish Institute of Computer Science.
5 # Redistribution and use in source and binary forms, with or without modification,
6 # are permitted provided that the following conditions are met:
8 # 1. Redistributions of source code must retain the above copyright notice,
9 # this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright notice,
11 # this list of conditions and the following disclaimer in the documentation
12 # and/or other materials provided with the distribution.
13 # 3. The name of the author may not be used to endorse or promote products
14 # derived from this software without specific prior written permission.
16 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17 # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19 # SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
21 # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24 # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
27 # This file is part of the lwIP TCP/IP stack.
29 # Author: Adam Dunkels <adam@sics.se>
32 # COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
33 COREFILES
=$(LWIPDIR
)/core
/init.c \
34 $(LWIPDIR
)/core
/def.c \
35 $(LWIPDIR
)/core
/dns.c \
36 $(LWIPDIR
)/core
/inet_chksum.c \
37 $(LWIPDIR
)/core
/ip.c \
38 $(LWIPDIR
)/core
/mem.c \
39 $(LWIPDIR
)/core
/memp.c \
40 $(LWIPDIR
)/core
/netif.c \
41 $(LWIPDIR
)/core
/pbuf.c \
42 $(LWIPDIR
)/core
/raw.c \
43 $(LWIPDIR
)/core
/stats.c \
44 $(LWIPDIR
)/core
/sys.c \
45 $(LWIPDIR
)/core
/tcp.c \
46 $(LWIPDIR
)/core
/tcp_in.c \
47 $(LWIPDIR
)/core
/tcp_out.c \
48 $(LWIPDIR
)/core
/timeouts.c \
51 CORE4FILES
=$(LWIPDIR
)/core
/ipv4
/autoip.c \
52 $(LWIPDIR
)/core
/ipv4
/dhcp.c \
53 $(LWIPDIR
)/core
/ipv4
/etharp.c \
54 $(LWIPDIR
)/core
/ipv4
/icmp.c \
55 $(LWIPDIR
)/core
/ipv4
/igmp.c \
56 $(LWIPDIR
)/core
/ipv4
/ip4_frag.c \
57 $(LWIPDIR
)/core
/ipv4
/ip4.c \
58 $(LWIPDIR
)/core
/ipv4
/ip4_addr.c
60 CORE6FILES
=$(LWIPDIR
)/core
/ipv6
/dhcp6.c \
61 $(LWIPDIR
)/core
/ipv6
/ethip6.c \
62 $(LWIPDIR
)/core
/ipv6
/icmp6.c \
63 $(LWIPDIR
)/core
/ipv6
/inet6.c \
64 $(LWIPDIR
)/core
/ipv6
/ip6.c \
65 $(LWIPDIR
)/core
/ipv6
/ip6_addr.c \
66 $(LWIPDIR
)/core
/ipv6
/ip6_frag.c \
67 $(LWIPDIR
)/core
/ipv6
/mld6.c \
68 $(LWIPDIR
)/core
/ipv6
/nd6.c
70 # APIFILES: The files which implement the sequential and socket APIs.
71 APIFILES
=$(LWIPDIR
)/api
/api_lib.c \
72 $(LWIPDIR
)/api
/api_msg.c \
73 $(LWIPDIR
)/api
/err.c \
74 $(LWIPDIR
)/api
/if_api.c \
75 $(LWIPDIR
)/api
/netbuf.c \
76 $(LWIPDIR
)/api
/netdb.c \
77 $(LWIPDIR
)/api
/netifapi.c \
78 $(LWIPDIR
)/api
/sockets.c \
79 $(LWIPDIR
)/api
/tcpip.c
81 # NETIFFILES: Files implementing various generic network interface functions
82 NETIFFILES
=$(LWIPDIR
)/netif
/ethernet.c \
83 $(LWIPDIR
)/netif
/slipif.c
86 SIXLOWPAN
=$(LWIPDIR
)/netif
/lowpan6.c \
89 PPPFILES
=$(LWIPDIR
)/netif
/ppp
/auth.c \
90 $(LWIPDIR
)/netif
/ppp
/ccp.c \
91 $(LWIPDIR
)/netif
/ppp
/chap-md5.c \
92 $(LWIPDIR
)/netif
/ppp
/chap_ms.c \
93 $(LWIPDIR
)/netif
/ppp
/chap-new.c \
94 $(LWIPDIR
)/netif
/ppp
/demand.c \
95 $(LWIPDIR
)/netif
/ppp
/eap.c \
96 $(LWIPDIR
)/netif
/ppp
/ecp.c \
97 $(LWIPDIR
)/netif
/ppp
/eui64.c \
98 $(LWIPDIR
)/netif
/ppp
/fsm.c \
99 $(LWIPDIR
)/netif
/ppp
/ipcp.c \
100 $(LWIPDIR
)/netif
/ppp
/ipv6cp.c \
101 $(LWIPDIR
)/netif
/ppp
/lcp.c \
102 $(LWIPDIR
)/netif
/ppp
/magic.c \
103 $(LWIPDIR
)/netif
/ppp
/mppe.c \
104 $(LWIPDIR
)/netif
/ppp
/multilink.c \
105 $(LWIPDIR
)/netif
/ppp
/ppp.c \
106 $(LWIPDIR
)/netif
/ppp
/pppapi.c \
107 $(LWIPDIR
)/netif
/ppp
/pppcrypt.c \
108 $(LWIPDIR
)/netif
/ppp
/pppoe.c \
109 $(LWIPDIR
)/netif
/ppp
/pppol2tp.c \
110 $(LWIPDIR
)/netif
/ppp
/pppos.c \
111 $(LWIPDIR
)/netif
/ppp
/upap.c \
112 $(LWIPDIR
)/netif
/ppp
/utils.c \
113 $(LWIPDIR
)/netif
/ppp
/vj.c \
114 $(LWIPDIR
)/netif
/ppp
/polarssl
/arc4.c \
115 $(LWIPDIR
)/netif
/ppp
/polarssl
/des.c \
116 $(LWIPDIR
)/netif
/ppp
/polarssl
/md4.c \
117 $(LWIPDIR
)/netif
/ppp
/polarssl
/md5.c \
118 $(LWIPDIR
)/netif
/ppp
/polarssl
/sha1.c
120 # LWIPNOAPPSFILES: All LWIP files without apps
121 LWIPNOAPPSFILES
=$(COREFILES
) \
129 # SNMPFILES: SNMPv2c agent
130 SNMPFILES
=$(LWIPDIR
)/apps
/snmp
/snmp_asn1.c \
131 $(LWIPDIR
)/apps
/snmp
/snmp_core.c \
132 $(LWIPDIR
)/apps
/snmp
/snmp_mib2.c \
133 $(LWIPDIR
)/apps
/snmp
/snmp_mib2_icmp.c \
134 $(LWIPDIR
)/apps
/snmp
/snmp_mib2_interfaces.c \
135 $(LWIPDIR
)/apps
/snmp
/snmp_mib2_ip.c \
136 $(LWIPDIR
)/apps
/snmp
/snmp_mib2_snmp.c \
137 $(LWIPDIR
)/apps
/snmp
/snmp_mib2_system.c \
138 $(LWIPDIR
)/apps
/snmp
/snmp_mib2_tcp.c \
139 $(LWIPDIR
)/apps
/snmp
/snmp_mib2_udp.c \
140 $(LWIPDIR
)/apps
/snmp
/snmp_snmpv2_framework.c \
141 $(LWIPDIR
)/apps
/snmp
/snmp_snmpv2_usm.c \
142 $(LWIPDIR
)/apps
/snmp
/snmp_msg.c \
143 $(LWIPDIR
)/apps
/snmp
/snmpv3.c \
144 $(LWIPDIR
)/apps
/snmp
/snmp_netconn.c \
145 $(LWIPDIR
)/apps
/snmp
/snmp_pbuf_stream.c \
146 $(LWIPDIR
)/apps
/snmp
/snmp_raw.c \
147 $(LWIPDIR
)/apps
/snmp
/snmp_scalar.c \
148 $(LWIPDIR
)/apps
/snmp
/snmp_table.c \
149 $(LWIPDIR
)/apps
/snmp
/snmp_threadsync.c \
150 $(LWIPDIR
)/apps
/snmp
/snmp_traps.c \
151 $(LWIPDIR
)/apps
/snmp
/snmpv3_mbedtls.c
153 # HTTPDFILES: HTTP server
154 HTTPDFILES
=$(LWIPDIR
)/apps
/httpd
/fs.c \
155 $(LWIPDIR
)/apps
/httpd
/httpd.c
157 # LWIPERFFILES: IPERF server
158 LWIPERFFILES
=$(LWIPDIR
)/apps
/lwiperf
/lwiperf.c
160 # SNTPFILES: SNTP client
161 SNTPFILES
=$(LWIPDIR
)/apps
/sntp
/sntp.c
163 # MDNSFILES: MDNS responder
164 MDNSFILES
=$(LWIPDIR
)/apps
/mdns
/mdns.c
166 # NETBIOSNSFILES: NetBIOS name server
167 NETBIOSNSFILES
=$(LWIPDIR
)/apps
/netbiosns
/netbiosns.c
169 # TFTPFILES: TFTP server files
170 TFTPFILES
=$(LWIPDIR
)/apps
/tftp
/tftp_server.c
172 # MQTTFILES: MQTT client files
173 MQTTFILES
=$(LWIPDIR
)/apps
/mqtt
/mqtt.c
175 # LWIPAPPFILES: All LWIP APPs
176 LWIPAPPFILES
=$(SNMPFILES
) \