1 | # $Id: Makefile.kmk 109265 2025-05-14 16:29:37Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the lwip library.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2025 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | #
|
---|
27 |
|
---|
28 | SUB_DEPTH = ../../..
|
---|
29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
30 |
|
---|
31 | #
|
---|
32 | # Core lwip library.
|
---|
33 | #
|
---|
34 | LIBRARIES += VBox-lwip
|
---|
35 | VBox-lwip_TEMPLATE := VBoxR3DllNonPedantic
|
---|
36 | VBox-lwip_INCS = \
|
---|
37 | src/include \
|
---|
38 | src/include/ipv4 \
|
---|
39 | src/include/ipv6 \
|
---|
40 | vbox/include \
|
---|
41 | vbox
|
---|
42 | VBox-lwip_SOURCES = \
|
---|
43 | src/api/api_lib.c \
|
---|
44 | src/api/api_msg.c \
|
---|
45 | src/api/err.c \
|
---|
46 | src/api/if_api.c \
|
---|
47 | src/api/netbuf.c \
|
---|
48 | src/api/netdb.c \
|
---|
49 | src/api/netifapi.c \
|
---|
50 | src/api/sockets.c \
|
---|
51 | src/api/tcpip.c \
|
---|
52 | \
|
---|
53 | src/core/ipv4/acd.c \
|
---|
54 | src/core/ipv4/autoip.c \
|
---|
55 | src/core/ipv4/dhcp.c \
|
---|
56 | src/core/ipv4/etharp.c \
|
---|
57 | src/core/ipv4/icmp.c \
|
---|
58 | src/core/ipv4/igmp.c \
|
---|
59 | src/core/ipv4/ip4.c \
|
---|
60 | src/core/ipv4/ip4_addr.c \
|
---|
61 | src/core/ipv4/ip4_frag.c \
|
---|
62 | \
|
---|
63 | src/core/ipv6/dhcp6.c \
|
---|
64 | src/core/ipv6/ethip6.c \
|
---|
65 | src/core/ipv6/icmp6.c \
|
---|
66 | src/core/ipv6/inet6.c \
|
---|
67 | src/core/ipv6/ip6.c \
|
---|
68 | src/core/ipv6/ip6_addr.c \
|
---|
69 | src/core/ipv6/ip6_frag.c \
|
---|
70 | src/core/ipv6/mld6.c \
|
---|
71 | src/core/ipv6/nd6.c \
|
---|
72 | \
|
---|
73 | src/core/altcp.c \
|
---|
74 | src/core/altcp_alloc.c \
|
---|
75 | src/core/altcp_tcp.c \
|
---|
76 | src/core/def.c \
|
---|
77 | src/core/dns.c \
|
---|
78 | src/core/inet_chksum.c \
|
---|
79 | src/core/init.c \
|
---|
80 | src/core/ip.c \
|
---|
81 | src/core/mem.c \
|
---|
82 | src/core/memp.c \
|
---|
83 | src/core/netif.c \
|
---|
84 | src/core/pbuf.c \
|
---|
85 | src/core/raw.c \
|
---|
86 | src/core/stats.c \
|
---|
87 | src/core/sys.c \
|
---|
88 | src/core/tcp.c \
|
---|
89 | src/core/tcp_in.c \
|
---|
90 | src/core/tcp_out.c \
|
---|
91 | src/core/timeouts.c \
|
---|
92 | src/core/udp.c \
|
---|
93 | src/netif/ethernet.c \
|
---|
94 | vbox/sys_arch.c \
|
---|
95 | vbox/VBoxLwipCore.cpp
|
---|
96 |
|
---|
97 | LIBRARIES += VBox-lwip-dhcp
|
---|
98 | VBox-lwip-dhcp_EXTENDS := VBox-lwip
|
---|
99 | VBox-lwip-dhcp_DEFS += VBOX_LWIP_DHCP
|
---|
100 |
|
---|
101 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|