1 | # $Id: Makefile.kmk 98187 2023-01-21 22:50:08Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for VBoxFB.
|
---|
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 | PROGRAMS += VBoxFB
|
---|
32 |
|
---|
33 | #
|
---|
34 | # VBoxFB
|
---|
35 | #
|
---|
36 | VBoxFB_TEMPLATE = VBoxMainClientExe
|
---|
37 | VBoxFB_SOURCES = \
|
---|
38 | VBoxFB.cpp \
|
---|
39 | Framebuffer.cpp \
|
---|
40 | Helper.cpp
|
---|
41 | VBoxFB_CXXFLAGS = -Wno-non-virtual-dtor -fshort-wchar
|
---|
42 | ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
|
---|
43 | VBoxFB_DEFS += VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
|
---|
44 | endif
|
---|
45 | VBoxFB_INCS = $(VBOX_XPCOM_INCS) /usr/include/directfb
|
---|
46 | VBoxFB_LIBPATH = $(LIBPATH_XPCOM)
|
---|
47 | VBoxFB_LIBS = $(LIB_XPCOM) $(LIB_RUNTIME) directfb
|
---|
48 | VBoxFB_DEPS = $(VBOX_PATH_SDK)/bindings/xpcom/include/VirtualBox_XPCOM.h
|
---|
49 |
|
---|
50 | # generate rules.
|
---|
51 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
52 |
|
---|