VirtualBox

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

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

The Giant CDDL Dual-License Header Change.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 5999 2007-12-07 15:05:06Z vboxsync $
2## @file
3# 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 = ../../../../..
19include $(PATH_KBUILD)/header.kmk
20
21INSTALLS = vboxmod-bin vboxmod-sh
22ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0
23SYSMODS = vboxadd
24endif
25
26#
27# Populate FILES_VBOXADD_NOBIN and FILES_VBOXADD_BIN
28#
29include files_vboxadd
30
31vboxmod-bin_INST = $(INST_ADDITIONS)/src/vboxadd/
32vboxmod-bin_MODE = a+r,u+w
33vboxmod-bin_SOURCES = $(subst ",,$(FILES_VBOXADD_NOBIN))
34
35vboxmod-sh_INST = $(INST_ADDITIONS)/src/vboxadd/
36vboxmod-sh_MODE = a+rx,u+w
37vboxmod-sh_SOURCES = $(subst ",,$(FILES_VBOXADD_BIN))
38
39#
40# The module (for syntax checking).
41#
42vboxadd_TEMPLATE = VBOXLNX32GUESTR0
43vboxadd_DEFS = KBUILD_MODNAME=KBUILD_STR\(vboxadd\) KBUILD_BASENAME=KBUILD_STR\(vboxadd\) MODULE IN_RING0 IN_RT_R0 VBGL_VBOXGUEST EXPORT_SYMTAB VBGL_HGCM VBOX_HGCM
44vboxadd_LIBS = $(PATH_LIB)/VBoxGuestLibBaseLinux.a $(PATH_LIB)/RuntimeLnx32GuestR0.a
45vboxadd_SOURCES = vboxmod.c cmc.c hgcmcall.c
46vboxadd_INCS = $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
47vboxadd_NOINST = 1
48
49include $(PATH_KBUILD)/footer.kmk
50
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