VirtualBox

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

Last change on this file since 2412 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: 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_GUESTLIBBASE = \
41 GenericRequest.cpp \
42 PhysHeap.cpp \
43 Init.cpp \
44 VMMDev.cpp \
45 HGCMInternal.cpp
46
47SOURCES_GUESTLIB = \
48 GenericRequest.cpp \
49 SysHlp.cpp \
50 PhysHeap.cpp \
51 Init.cpp \
52 VMMDev.cpp \
53 HGCM.cpp \
54 VBoxCalls.c
55
56#
57# VBoxGuestLib
58#
59VBoxGuestLib_TEMPLATE = VBOXW32GUESTR0LIB
60VBoxGuestLib_SDKS.win = W2K3DDKX86 WIN32SDK
61VBoxGuestLib_SOURCES = \
62 $(SOURCES_GUESTLIB)
63VBoxGuestLib_INCS = \
64 $(PATH_VBoxGuestLib)
65VBoxGuestLib_INCS.win = \
66 ../../WINNT/SharedFolders/include
67VBoxGuestLib_DEFS = IN_RING0 IN_RT_R0 VBOX_HGCM LOG_TO_BACKDOOR
68#VBoxGuestLib_DEFS += LOG_ENABLED
69
70
71#
72# VBoxGuestLibBase
73#
74VBoxGuestLibBase_TEMPLATE = VBOXW32GUESTR0LIB
75VBoxGuestLibBase_SDKS.win = $(VBoxGuestLib_SDKS.win)
76VBoxGuestLibBase_SOURCES = $(SOURCES_GUESTLIBBASE)
77VBoxGuestLibBase_INCS = $(VBoxGuestLib_INCS)
78VBoxGuestLibBase_INCS.win = $(VBoxGuestLib_INCS.win)
79VBoxGuestLibBase_DEFS = $(VBoxGuestLib_DEFS) VBGL_VBOXGUEST
80VBoxGuestLibBase_DEFS.win = $(VBoxGuestLib_DEFS.win)
81#VBoxGuestLibBase_DEFS += LOG_ENABLED
82
83
84#
85# VBoxGuestLibLinux
86#
87VBoxGuestLibLinux_TEMPLATE = VBOXLNX32GUESTR0
88VBoxGuestLibLinux_SOURCES = $(SOURCES_GUESTLIB)
89VBoxGuestLibLinux_INCS = $(VBoxGuestLib_INCS)
90VBoxGuestLibLinux_DEFS = VBOX_HGCM LOG_TO_BACKDOOR
91
92
93#
94# VBoxGuestLibBaseLinux
95#
96VBoxGuestLibBaseLinux_TEMPLATE = VBOXLNX32GUESTR0
97VBoxGuestLibBaseLinux_SOURCES = $(SOURCES_GUESTLIBBASE)
98VBoxGuestLibBaseLinux_INCS = $(VBoxGuestLib_INCS)
99VBoxGuestLibBaseLinux_DEFS = VBOX_HGCM VBGL_VBOXGUEST LOG_TO_BACKDOOR
100
101
102include $(PATH_KBUILD)/footer.kmk
103
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