1 | #
|
---|
2 | # Makefile for the VirtualBox Linux Guest Additions Kernel Module.
|
---|
3 | #
|
---|
4 |
|
---|
5 | #
|
---|
6 | # Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
7 | #
|
---|
8 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | # available from http://www.virtualbox.org. This file is free software;
|
---|
10 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | # General Public License as published by the Free Software Foundation,
|
---|
12 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | #
|
---|
16 | # If you received this file as part of a commercial VirtualBox
|
---|
17 | # distribution, then only the terms of your commercial VirtualBox
|
---|
18 | # license agreement apply instead of the previous paragraph.
|
---|
19 | #
|
---|
20 |
|
---|
21 | DEPTH = ../../../../..
|
---|
22 | include $(PATH_KBUILD)/header.kmk
|
---|
23 |
|
---|
24 | INSTALLS = vboxmod-bin
|
---|
25 | SYSMODS.linux = vboxadd
|
---|
26 |
|
---|
27 | vboxmod-bin_INST = bin/additions/src/vboxadd/
|
---|
28 | vboxmod-bin_MODE = a+r,u+w
|
---|
29 | vboxmod-bin_SOURCES = \
|
---|
30 | $(PATH_ROOT)/include/iprt/alloc.h=>include/iprt/alloc.h \
|
---|
31 | $(PATH_ROOT)/include/iprt/asm.h=>include/iprt/asm.h \
|
---|
32 | $(PATH_ROOT)/include/iprt/assert.h=>include/iprt/assert.h \
|
---|
33 | $(PATH_ROOT)/include/iprt/cdefs.h=>include/iprt/cdefs.h \
|
---|
34 | $(PATH_ROOT)/include/iprt/err.h=>include/iprt/err.h \
|
---|
35 | $(PATH_ROOT)/include/iprt/mem.h=>include/iprt/mem.h \
|
---|
36 | $(PATH_ROOT)/include/iprt/param.h=>include/iprt/param.h \
|
---|
37 | $(PATH_ROOT)/include/iprt/semaphore.h=>include/iprt/semaphore.h \
|
---|
38 | $(PATH_ROOT)/include/iprt/stdarg.h=>include/iprt/stdarg.h \
|
---|
39 | $(PATH_ROOT)/include/iprt/stdint.h=>include/iprt/stdint.h \
|
---|
40 | $(PATH_ROOT)/include/iprt/string.h=>include/iprt/string.h \
|
---|
41 | $(PATH_ROOT)/include/iprt/types.h=>include/iprt/types.h \
|
---|
42 | $(PATH_ROOT)/include/VBox/cdefs.h=>include/VBox/cdefs.h \
|
---|
43 | $(PATH_ROOT)/include/VBox/err.h=>include/VBox/err.h \
|
---|
44 | $(PATH_ROOT)/include/VBox/types.h=>include/VBox/types.h \
|
---|
45 | $(PATH_ROOT)/include/VBox/ostypes.h=>include/VBox/ostypes.h \
|
---|
46 | $(PATH_ROOT)/include/VBox/VBoxGuest.h=>include/VBox/VBoxGuest.h \
|
---|
47 | $(PATH_ROOT)/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
|
---|
48 | $(PATH_ROOT)/src/VBox/Runtime/r0drv/alloc-r0drv.cpp=>r0drv/alloc-r0drv.c \
|
---|
49 | $(PATH_ROOT)/src/VBox/Runtime/r0drv/alloc-r0drv.h=>r0drv/alloc-r0drv.h \
|
---|
50 | $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c=>r0drv/linux/alloc-r0drv-linux.c \
|
---|
51 | $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/semaphore-r0drv-linux.c=>r0drv/linux/semaphore-r0drv-linux.c \
|
---|
52 | $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/string.h=>r0drv/linux/string.h \
|
---|
53 | $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
|
---|
54 | vboxmod.c=>vboxmod.c \
|
---|
55 | cmc.c=>cmc.c \
|
---|
56 | vboxmod.h=>vboxmod.h \
|
---|
57 | waitcompat.h=>waitcompat.h \
|
---|
58 | Makefile.module=>Makefile \
|
---|
59 | $(PATH_OUT)/lib/VBoxGuestLibBaseLinux.a=>VBoxGuestLibBaseLinux.a
|
---|
60 |
|
---|
61 | #
|
---|
62 | # The module.
|
---|
63 | #
|
---|
64 | vboxadd_TEMPLATE = VBOXLNX32GUESTR0
|
---|
65 | vboxadd_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
|
---|
66 | vboxadd_LIBS = $(PATH_LIB)/RuntimeLnx32GuestR0.a
|
---|
67 | vboxadd_SOURCES = vboxmod.c cmc.c
|
---|
68 | vboxadd_INCS = $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
|
---|
69 | vboxadd_NOINST = 1
|
---|
70 |
|
---|
71 | include $(PATH_KBUILD)/footer.kmk
|
---|
72 |
|
---|