VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile@ 1908

Last change on this file since 1908 was 762, checked in by vboxsync, 18 years ago
  • Additions, Config.kmk, Runtime:

o Make the additions build on linux.amd64. All the Ring-0 stuff is

skipped there because of /usr/linux/.config dependencies of the
linux stuff.

o While at it, I've removed the gcc as ld hacks and changed the

linking of the X drivers. The latter is a bit risky of course.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1#
2# Makefile for the common guest addition code library.
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
24# As we build Windows Additions on Linux as well, we need a
25# separate Linux target for each library so that both platforms
26# are built.
27ifdef VBOX_WITH_WIN32_ADDITIONS
28 ifndef VBOX_ADDITIONS_LINUX_ONLY
29 LIBRARIES += \
30 VBoxGuestLib \
31 VBoxGuestLibBase
32 endif
33endif
34ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0
35 LIBRARIES += \
36 VBoxGuestLibLinux \
37 VBoxGuestLibBaseLinux
38endif
39
40SOURCES_GUESTLIB = \
41 GenericRequest.cpp \
42 SysHlp.cpp \
43 PhysHeap.cpp \
44 Init.cpp \
45 VMMDev.cpp \
46 HGCM.cpp \
47 HGCMInternal.cpp \
48 VBoxCalls.c
49SOURCES_GUESTLIBBASE = \
50 $(SOURCES_GUESTLIB)
51
52#
53# VBoxGuestLib
54#
55VBoxGuestLib_TEMPLATE = VBOXW32GUESTR0LIB
56VBoxGuestLib_SDKS.win = W2K3DDKX86 WIN32SDK
57VBoxGuestLib_SOURCES = \
58 $(SOURCES_GUESTLIB)
59VBoxGuestLib_INCS = \
60 $(PATH_VBoxGuestLib)
61VBoxGuestLib_INCS.win = \
62 ../../WINNT/SharedFolders/include
63VBoxGuestLib_DEFS = IN_RING0 IN_RT_R0 VBOX_HGCM LOG_TO_BACKDOOR
64#VBoxGuestLib_DEFS += LOG_ENABLED
65
66
67#
68# VBoxGuestLibBase
69#
70VBoxGuestLibBase_TEMPLATE = VBOXW32GUESTR0LIB
71VBoxGuestLibBase_SDKS.win = $(VBoxGuestLib_SDKS.win)
72VBoxGuestLibBase_SOURCES = $(SOURCES_GUESTLIBBASE)
73VBoxGuestLibBase_INCS = $(VBoxGuestLib_INCS)
74VBoxGuestLibBase_INCS.win = $(VBoxGuestLib_INCS.win)
75VBoxGuestLibBase_DEFS = $(VBoxGuestLib_DEFS) VBGL_VBOXGUEST
76VBoxGuestLibBase_DEFS.win = $(VBoxGuestLib_DEFS.win)
77#VBoxGuestLibBase_DEFS += LOG_ENABLED
78
79
80#
81# VBoxGuestLibLinux
82#
83VBoxGuestLibLinux_TEMPLATE = VBOXLNX32GUESTR0
84VBoxGuestLibLinux_SOURCES = $(SOURCES_GUESTLIB)
85VBoxGuestLibLinux_INCS = $(VBoxGuestLib_INCS)
86VBoxGuestLibLinux_DEFS = VBOX_HGCM LOG_TO_BACKDOOR
87
88
89#
90# VBoxGuestLibBaseLinux
91#
92VBoxGuestLibBaseLinux_TEMPLATE = VBOXLNX32GUESTR0
93VBoxGuestLibBaseLinux_SOURCES = $(SOURCES_GUESTLIBBASE)
94VBoxGuestLibBaseLinux_INCS = $(VBoxGuestLib_INCS)
95VBoxGuestLibBaseLinux_DEFS = VBOX_HGCM VBGL_VBOXGUEST LOG_TO_BACKDOOR
96
97
98include $(PATH_KBUILD)/footer.kmk
99
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