VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk@ 6245

Last change on this file since 6245 was 6075, checked in by vboxsync, 17 years ago

You're not supposed to link with both R0Lib and R0LibBase, only R0LibBase. Also, use the VBOX_LIB_ stuff.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 6075 2007-12-14 18:34:44Z vboxsync $
2## @file
3# Makefile for the Cross Platform Guest Additions Driver.
4#
5
6#
7# Copyright (C) 2007 innotek GmbH
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18DEPTH ?= ../../../../..
19SUB_DEPTH = ../..
20include $(PATH_KBUILD)/subheader.kmk
21
22#
23# VBoxGuest.sys - The OS/2 driver.
24#
25ifeq ($(BUILD_PLATFORM),os2)
26SYSMODS.os2 += VBoxGuest
27VBoxGuest_TEMPLATE = VBOXOS2GUESTR0
28VBoxGuest_DEFS = VBGL_VBOXGUEST VBOX_HGCM
29VBoxGuest_INCS := $(PATH_SUB_CURRENT)
30#VBoxGuest_LDFLAGS = -s -t -v
31VBoxGuest_SOURCES = \
32 VBoxGuestA-os2.asm \
33 VBoxGuest-os2.def
34VBoxGuest_LIBS = \
35 $(TARGET_VBoxGuestLib) \
36 $(VBOX_LIB_VBGL_OS2_R0BASE) \
37 $(VBOX_LIB_IPRT_OS2_GUEST_R0) \
38 $(VBOX_GCC_LIBGCC) \
39 end
40
41## When debugging init with kDrvTest:
42#VBoxGuest_NAME = VBoxGst
43
44# temp hack to ensure that VBoxGuestA-os2.asm is first in the link.
45LIBRARIES += VBoxGuestLib
46VBoxGuestLib_TEMPLATE = VBOXOS2GUESTR0LIB
47VBoxGuestLib_NOINST = 1
48VBoxGuestLib_DEFS = VBGL_VBOXGUEST VBOX_HGCM
49VBoxGuestLib_INCS := \
50 $(PATH_SUB_CURRENT) \
51 $(PATH_TARGET) \
52 $(PATH_ROOT)/src/VBox/Runtime/include
53VBoxGuestLib_SOURCES = \
54 VBoxGuest-os2.cpp \
55 VBoxGuest.cpp
56endif
57
58#
59# vboxadd.o - The Solaris Guest Driver.
60#
61ifeq ($(BUILD_PLATFORM),solaris)
62SYSMODS.solaris += vboxadd
63vboxadd_TEMPLATE = VBOXGUESTR0
64vboxadd_DEFS = VBGL_VBOXGUEST VBOX_HGCM
65vboxadd_INCS := $(PATH_SUB_CURRENT) \
66 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris
67vboxadd_SOURCES = \
68 VBoxGuest-solaris.c \
69 VBoxGuest.cpp
70vboxadd_LIBS = \
71 $(VBOX_LIB_VBGL_R0BASE) \
72 $(VBOX_LIB_IPRT_GUEST_R0)
73endif
74
75include $(PATH_KBUILD)/subfooter.kmk
76
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette