1*d6eebaa4SHervé Poussineau#
2*d6eebaa4SHervé Poussineau# Copyright (c) 2001, 2002 Swedish Institute of Computer Science.
3*d6eebaa4SHervé Poussineau# All rights reserved.
4*d6eebaa4SHervé Poussineau#
5*d6eebaa4SHervé Poussineau# Redistribution and use in source and binary forms, with or without modification,
6*d6eebaa4SHervé Poussineau# are permitted provided that the following conditions are met:
7*d6eebaa4SHervé Poussineau#
8*d6eebaa4SHervé Poussineau# 1. Redistributions of source code must retain the above copyright notice,
9*d6eebaa4SHervé Poussineau#    this list of conditions and the following disclaimer.
10*d6eebaa4SHervé Poussineau# 2. Redistributions in binary form must reproduce the above copyright notice,
11*d6eebaa4SHervé Poussineau#    this list of conditions and the following disclaimer in the documentation
12*d6eebaa4SHervé Poussineau#    and/or other materials provided with the distribution.
13*d6eebaa4SHervé Poussineau# 3. The name of the author may not be used to endorse or promote products
14*d6eebaa4SHervé Poussineau#    derived from this software without specific prior written permission.
15*d6eebaa4SHervé Poussineau#
16*d6eebaa4SHervé Poussineau# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17*d6eebaa4SHervé Poussineau# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18*d6eebaa4SHervé Poussineau# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19*d6eebaa4SHervé Poussineau# SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20*d6eebaa4SHervé Poussineau# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
21*d6eebaa4SHervé Poussineau# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22*d6eebaa4SHervé Poussineau# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23*d6eebaa4SHervé Poussineau# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24*d6eebaa4SHervé Poussineau# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
25*d6eebaa4SHervé Poussineau# OF SUCH DAMAGE.
26*d6eebaa4SHervé Poussineau#
27*d6eebaa4SHervé Poussineau# This file is part of the lwIP TCP/IP stack.
28*d6eebaa4SHervé Poussineau#
29*d6eebaa4SHervé Poussineau# Author: Adam Dunkels <adam@sics.se>
30*d6eebaa4SHervé Poussineau#
31*d6eebaa4SHervé Poussineau
32*d6eebaa4SHervé Poussineau# COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
33*d6eebaa4SHervé PoussineauCOREFILES=$(LWIPDIR)/core/init.c \
34*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/def.c \
35*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/dns.c \
36*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/inet_chksum.c \
37*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ip.c \
38*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/mem.c \
39*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/memp.c \
40*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/netif.c \
41*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/pbuf.c \
42*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/raw.c \
43*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/stats.c \
44*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/sys.c \
45*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/altcp.c \
46*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/altcp_alloc.c \
47*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/altcp_tcp.c \
48*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/tcp.c \
49*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/tcp_in.c \
50*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/tcp_out.c \
51*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/timeouts.c \
52*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/udp.c
53*d6eebaa4SHervé Poussineau
54*d6eebaa4SHervé PoussineauCORE4FILES=$(LWIPDIR)/core/ipv4/acd.c \
55*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/autoip.c \
56*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/dhcp.c \
57*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/etharp.c \
58*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/icmp.c \
59*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/igmp.c \
60*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/ip4_frag.c \
61*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/ip4.c \
62*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv4/ip4_addr.c
63*d6eebaa4SHervé Poussineau
64*d6eebaa4SHervé PoussineauCORE6FILES=$(LWIPDIR)/core/ipv6/dhcp6.c \
65*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/ethip6.c \
66*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/icmp6.c \
67*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/inet6.c \
68*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/ip6.c \
69*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/ip6_addr.c \
70*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/ip6_frag.c \
71*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/mld6.c \
72*d6eebaa4SHervé Poussineau	$(LWIPDIR)/core/ipv6/nd6.c
73*d6eebaa4SHervé Poussineau
74*d6eebaa4SHervé Poussineau# APIFILES: The files which implement the sequential and socket APIs.
75*d6eebaa4SHervé PoussineauAPIFILES=$(LWIPDIR)/api/api_lib.c \
76*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/api_msg.c \
77*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/err.c \
78*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/if_api.c \
79*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/netbuf.c \
80*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/netdb.c \
81*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/netifapi.c \
82*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/sockets.c \
83*d6eebaa4SHervé Poussineau	$(LWIPDIR)/api/tcpip.c
84*d6eebaa4SHervé Poussineau
85*d6eebaa4SHervé Poussineau# NETIFFILES: Files implementing various generic network interface functions
86*d6eebaa4SHervé PoussineauNETIFFILES=$(LWIPDIR)/netif/ethernet.c \
87*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/bridgeif.c \
88*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/bridgeif_fdb.c \
89*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/slipif.c
90*d6eebaa4SHervé Poussineau
91*d6eebaa4SHervé Poussineau# SIXLOWPAN: 6LoWPAN
92*d6eebaa4SHervé PoussineauSIXLOWPAN=$(LWIPDIR)/netif/lowpan6_common.c \
93*d6eebaa4SHervé Poussineau        $(LWIPDIR)/netif/lowpan6.c \
94*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/lowpan6_ble.c \
95*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/zepif.c
96*d6eebaa4SHervé Poussineau
97*d6eebaa4SHervé Poussineau# PPPFILES: PPP
98*d6eebaa4SHervé PoussineauPPPFILES=$(LWIPDIR)/netif/ppp/auth.c \
99*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/ccp.c \
100*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/chap-md5.c \
101*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/chap_ms.c \
102*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/chap-new.c \
103*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/demand.c \
104*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/eap.c \
105*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/ecp.c \
106*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/eui64.c \
107*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/fsm.c \
108*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/ipcp.c \
109*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/ipv6cp.c \
110*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/lcp.c \
111*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/magic.c \
112*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/mppe.c \
113*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/multilink.c \
114*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/ppp.c \
115*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/pppapi.c \
116*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/pppcrypt.c \
117*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/pppoe.c \
118*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/pppol2tp.c \
119*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/pppos.c \
120*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/upap.c \
121*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/utils.c \
122*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/vj.c \
123*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/polarssl/arc4.c \
124*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/polarssl/des.c \
125*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/polarssl/md4.c \
126*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/polarssl/md5.c \
127*d6eebaa4SHervé Poussineau	$(LWIPDIR)/netif/ppp/polarssl/sha1.c
128*d6eebaa4SHervé Poussineau
129*d6eebaa4SHervé Poussineau# LWIPNOAPPSFILES: All LWIP files without apps
130*d6eebaa4SHervé PoussineauLWIPNOAPPSFILES=$(COREFILES) \
131*d6eebaa4SHervé Poussineau	$(CORE4FILES) \
132*d6eebaa4SHervé Poussineau	$(CORE6FILES) \
133*d6eebaa4SHervé Poussineau	$(APIFILES) \
134*d6eebaa4SHervé Poussineau	$(NETIFFILES) \
135*d6eebaa4SHervé Poussineau	$(PPPFILES) \
136*d6eebaa4SHervé Poussineau	$(SIXLOWPAN)
137*d6eebaa4SHervé Poussineau
138*d6eebaa4SHervé Poussineau# SNMPFILES: SNMPv2c agent
139*d6eebaa4SHervé PoussineauSNMPFILES=$(LWIPDIR)/apps/snmp/snmp_asn1.c \
140*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_core.c \
141*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2.c \
142*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2_icmp.c \
143*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2_interfaces.c \
144*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2_ip.c \
145*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2_snmp.c \
146*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2_system.c \
147*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2_tcp.c \
148*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_mib2_udp.c \
149*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_snmpv2_framework.c \
150*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_snmpv2_usm.c \
151*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_msg.c \
152*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmpv3.c \
153*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_netconn.c \
154*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_pbuf_stream.c \
155*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_raw.c \
156*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_scalar.c \
157*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_table.c \
158*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_threadsync.c \
159*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmp_traps.c
160*d6eebaa4SHervé Poussineau
161*d6eebaa4SHervé Poussineau# HTTPFILES: HTTP server + client
162*d6eebaa4SHervé PoussineauHTTPFILES=$(LWIPDIR)/apps/http/altcp_proxyconnect.c \
163*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/http/fs.c \
164*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/http/http_client.c \
165*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/http/httpd.c
166*d6eebaa4SHervé Poussineau
167*d6eebaa4SHervé Poussineau# MAKEFSDATA: MAKEFSDATA HTTP server host utility
168*d6eebaa4SHervé PoussineauMAKEFSDATAFILES=$(LWIPDIR)/apps/http/makefsdata/makefsdata.c
169*d6eebaa4SHervé Poussineau
170*d6eebaa4SHervé Poussineau# LWIPERFFILES: IPERF server
171*d6eebaa4SHervé PoussineauLWIPERFFILES=$(LWIPDIR)/apps/lwiperf/lwiperf.c
172*d6eebaa4SHervé Poussineau
173*d6eebaa4SHervé Poussineau# SMTPFILES: SMTP client
174*d6eebaa4SHervé PoussineauSMTPFILES=$(LWIPDIR)/apps/smtp/smtp.c
175*d6eebaa4SHervé Poussineau
176*d6eebaa4SHervé Poussineau# SNTPFILES: SNTP client
177*d6eebaa4SHervé PoussineauSNTPFILES=$(LWIPDIR)/apps/sntp/sntp.c
178*d6eebaa4SHervé Poussineau
179*d6eebaa4SHervé Poussineau# MDNSFILES: MDNS responder
180*d6eebaa4SHervé PoussineauMDNSFILES=$(LWIPDIR)/apps/mdns/mdns.c \
181*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/mdns/mdns_out.c \
182*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/mdns/mdns_domain.c
183*d6eebaa4SHervé Poussineau
184*d6eebaa4SHervé Poussineau# NETBIOSNSFILES: NetBIOS name server
185*d6eebaa4SHervé PoussineauNETBIOSNSFILES=$(LWIPDIR)/apps/netbiosns/netbiosns.c
186*d6eebaa4SHervé Poussineau
187*d6eebaa4SHervé Poussineau# TFTPFILES: TFTP client/server files
188*d6eebaa4SHervé PoussineauTFTPFILES=$(LWIPDIR)/apps/tftp/tftp.c
189*d6eebaa4SHervé Poussineau
190*d6eebaa4SHervé Poussineau# MQTTFILES: MQTT client files
191*d6eebaa4SHervé PoussineauMQTTFILES=$(LWIPDIR)/apps/mqtt/mqtt.c
192*d6eebaa4SHervé Poussineau
193*d6eebaa4SHervé Poussineau# MBEDTLS_FILES: MBEDTLS related files of lwIP rep
194*d6eebaa4SHervé PoussineauMBEDTLS_FILES=$(LWIPDIR)/apps/altcp_tls/altcp_tls_mbedtls.c \
195*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/altcp_tls/altcp_tls_mbedtls_mem.c \
196*d6eebaa4SHervé Poussineau	$(LWIPDIR)/apps/snmp/snmpv3_mbedtls.c
197*d6eebaa4SHervé Poussineau
198*d6eebaa4SHervé Poussineau# LWIPAPPFILES: All LWIP APPs
199*d6eebaa4SHervé PoussineauLWIPAPPFILES=$(SNMPFILES) \
200*d6eebaa4SHervé Poussineau	$(HTTPFILES) \
201*d6eebaa4SHervé Poussineau	$(LWIPERFFILES) \
202*d6eebaa4SHervé Poussineau	$(SMTPFILES) \
203*d6eebaa4SHervé Poussineau	$(SNTPFILES) \
204*d6eebaa4SHervé Poussineau	$(MDNSFILES) \
205*d6eebaa4SHervé Poussineau	$(NETBIOSNSFILES) \
206*d6eebaa4SHervé Poussineau	$(TFTPFILES) \
207*d6eebaa4SHervé Poussineau	$(MQTTFILES) \
208*d6eebaa4SHervé Poussineau	$(MBEDTLS_FILES)
209