VirtualBox

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

Last change on this file since 2197 was 2197, checked in by vboxsync, 18 years ago

some cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 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 vboxmod-sh
25ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0
26SYSMODS = vboxadd
27endif
28
29vboxmod-bin_INST = bin/additions/src/vboxadd/
30vboxmod-bin_MODE = a+r,u+w
31vboxmod-bin_SOURCES = \
32 $(PATH_ROOT)/include/iprt/alloc.h=>include/iprt/alloc.h \
33 $(PATH_ROOT)/include/iprt/asm.h=>include/iprt/asm.h \
34 $(PATH_ROOT)/include/iprt/assert.h=>include/iprt/assert.h \
35 $(PATH_ROOT)/include/iprt/cdefs.h=>include/iprt/cdefs.h \
36 $(PATH_ROOT)/include/iprt/err.h=>include/iprt/err.h \
37 $(PATH_ROOT)/include/iprt/log.h=>include/iprt/log.h \
38 $(PATH_ROOT)/include/iprt/mem.h=>include/iprt/mem.h \
39 $(PATH_ROOT)/include/iprt/param.h=>include/iprt/param.h \
40 $(PATH_ROOT)/include/iprt/semaphore.h=>include/iprt/semaphore.h \
41 $(PATH_ROOT)/include/iprt/stdarg.h=>include/iprt/stdarg.h \
42 $(PATH_ROOT)/include/iprt/stdint.h=>include/iprt/stdint.h \
43 $(PATH_ROOT)/include/iprt/string.h=>include/iprt/string.h \
44 $(PATH_ROOT)/include/iprt/types.h=>include/iprt/types.h \
45 $(PATH_ROOT)/include/VBox/cdefs.h=>include/VBox/cdefs.h \
46 $(PATH_ROOT)/include/VBox/err.h=>include/VBox/err.h \
47 $(PATH_ROOT)/include/VBox/log.h=>include/VBox/log.h \
48 $(PATH_ROOT)/include/VBox/types.h=>include/VBox/types.h \
49 $(PATH_ROOT)/include/VBox/ostypes.h=>include/VBox/ostypes.h \
50 $(PATH_ROOT)/include/VBox/VBoxGuest.h=>include/VBox/VBoxGuest.h \
51 $(PATH_ROOT)/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
52 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/GenericRequest.cpp=>GenericRequest.c \
53 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/HGCMInternal.cpp=>HGCMInternal.c \
54 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/Init.cpp=>Init.c \
55 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/PhysHeap.cpp=>PhysHeap.c \
56 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/SysHlp.h=>SysHlp.h \
57 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h=>VBGLInternal.h \
58 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestLog.h=>VBoxGuestLog.h \
59 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib/VMMDev.cpp=>VMMDev.c \
60 $(PATH_ROOT)/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \
61 $(PATH_ROOT)/src/VBox/Runtime/r0drv/alloc-r0drv.cpp=>r0drv/alloc-r0drv.c \
62 $(PATH_ROOT)/src/VBox/Runtime/r0drv/alloc-r0drv.h=>r0drv/alloc-r0drv.h \
63 $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c=>r0drv/linux/alloc-r0drv-linux.c \
64 $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/semaphore-r0drv-linux.c=>r0drv/linux/semaphore-r0drv-linux.c \
65 $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/string.h=>r0drv/linux/string.h \
66 $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
67 $(PATH_OUT)/version-generated.h=>version-generated.h \
68 vboxmod.c=>vboxmod.c \
69 cmc.c=>cmc.c \
70 hgcmcall.c=>hgcmcall.c \
71 vboxmod.h=>vboxmod.h \
72 waitcompat.h=>waitcompat.h \
73 Makefile.module=>Makefile
74
75vboxmod-sh_INST = bin/additions/src/vboxadd/
76vboxmod-sh_MODE = a+rx,u+w
77vboxmod-sh_SOURCES = \
78 $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/build_in_tmp=>build_in_tmp
79
80#
81# The module.
82#
83vboxadd_TEMPLATE = VBOXLNX32GUESTR0
84vboxadd_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
85vboxadd_LIBS = $(PATH_LIB)/VBoxGuestLibBaseLinux.a $(PATH_LIB)/RuntimeLnx32GuestR0.a
86vboxadd_SOURCES = vboxmod.c cmc.c hgcmcall.c
87vboxadd_INCS = $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
88vboxadd_NOINST = 1
89
90include $(PATH_KBUILD)/footer.kmk
91
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