VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/module/Makefile.kmk@ 7183

Last change on this file since 7183 was 6757, checked in by vboxsync, 17 years ago

Converted the (recursive) linux makefiles to sub-makefiles.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 6757 2008-02-02 08:51:14Z vboxsync $
2## @file
3# Sub-Makefile for the VirtualBox Linux Guest Additions Kernel Module.
4#
5
6#
7# Copyright (C) 2006-2007 innotek GmbH
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18DEPTH ?= ../../../../..
19SUB_DEPTH = ../..
20include $(PATH_KBUILD)/subheader.kmk
21
22INSTALLS += vboxmod-bin vboxmod-sh
23ifdef VBOX_WITH_ADDITION_DRIVERS
24 SYSMODS += vboxadd
25endif
26
27#
28# Populate FILES_VBOXADD_NOBIN and FILES_VBOXADD_BIN
29#
30include $(PATH_SUB_CURRENT)/files_vboxadd
31
32vboxmod-bin_INST = $(INST_ADDITIONS)/src/vboxadd/
33vboxmod-bin_MODE = a+r,u+w
34vboxmod-bin_SOURCES = $(subst ",,$(FILES_VBOXADD_NOBIN))
35
36vboxmod-sh_INST = $(INST_ADDITIONS)/src/vboxadd/
37vboxmod-sh_MODE = a+rx,u+w
38vboxmod-sh_SOURCES = $(subst ",,$(FILES_VBOXADD_BIN))
39
40#
41# The module (for syntax checking).
42#
43vboxadd_TEMPLATE = VBOXGUESTR0
44vboxadd_NOINST = 1
45vboxadd_DEFS = \
46 MODULE IN_RT_R0 VBGL_VBOXGUEST EXPORT_SYMTAB VBGL_HGCM VBOX_HGCM \
47 KBUILD_MODNAME=KBUILD_STR\(vboxadd\) \
48 KBUILD_BASENAME=KBUILD_STR\(vboxadd\)
49vboxadd_INCS = $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
50vboxadd_SOURCES = \
51 vboxmod.c \
52 cmc.c \
53 hgcmcall.c
54vboxadd_LIBS = \
55 $(VBOX_LIB_VBGL_R0BASE) \
56 $(VBOX_LIB_IPRT_GUEST_R0)
57
58include $(PATH_KBUILD)/subfooter.kmk
59
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