1 | # $Id: Makefile.kmk 106061 2024-09-16 14:03:52Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for VBoxAdpCtl
|
---|
4 | #
|
---|
5 | # VBoxAdpCtl is a tool for configuring vboxnetX adapters.
|
---|
6 | #
|
---|
7 |
|
---|
8 | #
|
---|
9 | # Copyright (C) 2009-2024 Oracle and/or its affiliates.
|
---|
10 | #
|
---|
11 | # This file is part of VirtualBox base platform packages, as
|
---|
12 | # available from https://www.virtualbox.org.
|
---|
13 | #
|
---|
14 | # This program is free software; you can redistribute it and/or
|
---|
15 | # modify it under the terms of the GNU General Public License
|
---|
16 | # as published by the Free Software Foundation, in version 3 of the
|
---|
17 | # License.
|
---|
18 | #
|
---|
19 | # This program is distributed in the hope that it will be useful, but
|
---|
20 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
21 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
22 | # General Public License for more details.
|
---|
23 | #
|
---|
24 | # You should have received a copy of the GNU General Public License
|
---|
25 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
26 | #
|
---|
27 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
28 | #
|
---|
29 |
|
---|
30 | SUB_DEPTH = ../../../..
|
---|
31 | include $(KBUILD_PATH)/subheader.kmk
|
---|
32 |
|
---|
33 | PROGRAMS += VBoxNetAdpCtl
|
---|
34 | ### Another template? We must *not* set RPATH!
|
---|
35 | ifneq ($(KBUILD_TYPE),debug)
|
---|
36 | VBoxNetAdpCtl_TEMPLATE = VBoxR3SetUidToRoot
|
---|
37 | VBoxNetAdpCtl_LIBS += $(LIB_RUNTIME)
|
---|
38 | else
|
---|
39 | VBoxNetAdpCtl_TEMPLATE = VBoxR3Static
|
---|
40 | endif
|
---|
41 | VBoxNetAdpCtl_SOURCES = VBoxNetAdpCtl.cpp
|
---|
42 |
|
---|
43 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
44 |
|
---|