1 | # $Id: Makefile.kmk 98126 2023-01-19 01:47:03Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the common HGSMI library.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-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 |
|
---|
32 |
|
---|
33 |
|
---|
34 | #
|
---|
35 | # HGSMIGuestR0Lib - For guest additions drivers.
|
---|
36 | #
|
---|
37 | ifdef VBOX_WITH_ADDITION_DRIVERS
|
---|
38 | LIBRARIES += HGSMIGuestR0Lib
|
---|
39 | HGSMIGuestR0Lib_TEMPLATE = VBoxGuestR0DrvLib
|
---|
40 | HGSMIGuestR0Lib_DEFS =
|
---|
41 | HGSMIGuestR0Lib_INCS = $(VBOX_GRAPHICS_INCS)
|
---|
42 | HGSMIGuestR0Lib_SOURCES = \
|
---|
43 | HGSMICommon.cpp \
|
---|
44 | HGSMIMemAlloc.cpp
|
---|
45 | endif
|
---|
46 |
|
---|
47 | #
|
---|
48 | # HGSMIHostLib - For host devices (R3 only).
|
---|
49 | #
|
---|
50 | LIBRARIES += HGSMIHostR3Lib
|
---|
51 | HGSMIHostR3Lib_TEMPLATE = VBOXR3
|
---|
52 | HGSMIHostR3Lib_DEFS =
|
---|
53 | HGSMIHostR3Lib_INCS = $(VBOX_GRAPHICS_INCS)
|
---|
54 | HGSMIHostR3Lib_SOURCES = \
|
---|
55 | HGSMICommon.cpp \
|
---|
56 | HGSMIMemAlloc.cpp
|
---|
57 |
|
---|
58 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
59 |
|
---|