VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/drm/Makefile.kmk@ 96407

Last change on this file since 96407 was 96407, checked in by vboxsync, 2 years ago

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1# $Id: Makefile.kmk 96407 2022-08-22 17:43:14Z vboxsync $
2## @file
3# Sub-Makefile for the vboxvideo DRM module (linux kernel OpenGL module).
4#
5
6#
7# Copyright (C) 2006-2022 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# Populate FILES_VBOXVIDEO_DRM_NOBIN
33#
34INSTALLS += vboxvideo-src
35include $(PATH_SUB_CURRENT)/files_vboxvideo_drv
36vboxvideo-src_DEPS = \
37 $(PATH_ROOT)/src/VBox/Additions/linux/drm/files_vboxvideo_drv \
38 $(PATH_ROOT)/src/VBox/Additions/linux/drm/indent.sed
39vboxvideo-src_INST = $(INST_ADDITIONS)src/vboxvideo/
40vboxvideo-src_SOURCES = \
41 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_NOBIN))
42vboxvideo-src_EXEC_SOURCES = \
43 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN))
44vboxvideo-src_INSTALLER = $(RM_EXT) -f -- "$2" && \
45 $(if $(filter %.c %.h,$2),$(SED) -f $(PATH_ROOT)/src/VBox/Additions/linux/drm/indent.sed \
46 --output "$2" "$1",$(CP_EXT) "$1" "$2") && \
47 $(CHMOD_EXT) "$(if $(mode),$(mode),0644)" "$2"
48
49
50
51include $(FILE_KBUILD_SUB_FOOTER)
52
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