1 | # $Id: Makefile.kmk 98412 2023-02-01 16:21:48Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-makefile for the VBoxIntnetPcap
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2021-2023 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 | PROGRAMS += VBoxIntnetPcap
|
---|
32 | VBoxIntnetPcap_TEMPLATE := VBoxR3Exe
|
---|
33 | VBoxIntnetPcap_DEFS := \
|
---|
34 | $(if $(VBOX_WITH_INTNET_SERVICE_IN_R3),VBOX_WITH_INTNET_SERVICE_IN_R3,)
|
---|
35 | VBoxIntnetPcap_INCS := \
|
---|
36 | ../../NetworkServices/NetLib \
|
---|
37 | ../../Devices/Network
|
---|
38 | VBoxIntnetPcap_SOURCES := \
|
---|
39 | VBoxIntnetPcap.cpp \
|
---|
40 | ../../NetworkServices/NetLib/IntNetIf.cpp \
|
---|
41 | ../../Devices/Network/Pcap.cpp
|
---|
42 | VBoxIntnetPcap_LIBS = $(LIB_RUNTIME)
|
---|
43 | # VBoxIntnetPcap_LIBS.solaris += socket nsl # XXX: when we add rpcapd support
|
---|
44 |
|
---|
45 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
46 |
|
---|