VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/module/Makefile@ 530

Last change on this file since 530 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
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
21DEPTH = ../../../../..
22include $(PATH_KBUILD)/header.kmk
23
24INSTALLS = vboxmod-bin
25SYSMODS.linux = vboxadd
26
27vboxmod-bin_INST = bin/additions/src/vboxadd/
28vboxmod-bin_MODE = a+r,u+w
29vboxmod-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#
64vboxadd_TEMPLATE = VBOXLNX32GUESTR0
65vboxadd_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
66vboxadd_LIBS = $(PATH_LIB)/RuntimeLnx32GuestR0.a
67vboxadd_SOURCES = vboxmod.c cmc.c
68vboxadd_INCS = $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
69vboxadd_NOINST = 1
70
71include $(PATH_KBUILD)/footer.kmk
72
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