VirtualBox

source: vbox/trunk/src/libs/libslirp-4.8.0/Makefile.kmk@ 105770

Last change on this file since 105770 was 105533, checked in by vboxsync, 4 months ago

libs/libslirp: merged our changes into libslirp 4.8.0. enabled updated version. bugref:10268

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 105533 2024-07-29 22:53:20Z vboxsync $
2## @file
3# Sub-Makefile for the libslirp library.
4#
5
6#
7# Copyright (C) 2024 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
28SUB_DEPTH = ../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31#
32# Core libslirp library.
33#
34# Windows warnings:
35# socket.c(131): warning C4388: '>': signed/unsigned mismatch
36#
37LIBRARIES += VBox-libslirp
38VBox-libslirp_TEMPLATE := VBoxR3DllNonPedantic
39VBox-libslirp_CFLAGS.win = -wd4388 -wd4101
40VBox-libslirp_INCS = \
41 include \
42 $(VBox-libslirp_0_OUTDIR)
43VBox-libslirp_INTERMEDIATES = \
44 $(VBox-libslirp_0_OUTDIR)/libslirp-version.h
45VBox-libslirp_CLEAN = \
46 $(VBox-libslirp_0_OUTDIR)/libslirp-version.h
47VBox-libslirp_SOURCES = \
48 src/arp_table.c \
49 src/bootp.c \
50 src/cksum.c \
51 src/dhcpv6.c \
52 src/dnssearch.c \
53 src/if.c \
54 src/ip6_icmp.c \
55 src/ip6_input.c \
56 src/ip6_output.c \
57 src/ip_icmp.c \
58 src/ip_input.c \
59 src/ip_output.c \
60 src/mbuf.c \
61 src/misc.c \
62 src/nathandletable.c \
63 src/ncsi.c \
64 src/ndp_table.c \
65 src/sbuf.c \
66 src/slirp.c \
67 src/socket.c \
68 src/state.c \
69 src/stream.c \
70 src/tcp_input.c \
71 src/tcp_output.c \
72 src/tcp_subr.c \
73 src/tcp_timer.c \
74 src/tftp.c \
75 src/udp.c \
76 src/udp6.c \
77 src/util.c \
78 src/version.c \
79 src/vmstate.c
80
81## UPGRADE: Must update version here! (Use/see git-version-gen.)
82$$(VBox-libslirp_0_OUTDIR)/libslirp-version.h: $(PATH_SUB_CURRENT)/src/libslirp-version.h.in | $$(dir $$@)
83 $(call MSG_GENERATE,,$@)
84 $(SED) \
85 -e 's/@SLIRP_MAJOR_VERSION@/4/g' \
86 -e 's/@SLIRP_MINOR_VERSION@/7/g' \
87 -e 's/@SLIRP_MICRO_VERSION@/0/g' \
88 -e 's/@SLIRP_VERSION_STRING@/"4.7.0.51-0dd7"/g' \
89 --output "$@" $<
90
91include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette